[
https://issues.apache.org/jira/browse/IMPALA-15605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Rozsa resolved IMPALA-15605.
----------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> REST catalog DML deletes committed files when the commit response is lost
> -------------------------------------------------------------------------
>
> Key: IMPALA-15605
> URL: https://issues.apache.org/jira/browse/IMPALA-15605
> Project: IMPALA
> Issue Type: Sub-task
> Components: Frontend
> Reporter: Nándor Kollár
> Assignee: Nándor Kollár
> Priority: Major
> Labels: impala-iceberg
> Fix For: Impala 5.0.0
>
>
> A network outage is not treated as commit-state-unknown. For a refused
> connection that's fine, because the request never arrived. But in the worst
> case:
> 1. the request reaches the REST server, and the server commits the new
> snapshot;
>
> 2. the connection drops before the response arrives (a read timeout or a
> reset);
>
> 3. Impala gets a RESTException, treats it as a failed commit, and deletes
> the data, delete and Puffin files that the committed snapshot references.
> This sequence might result in a corrupted table.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)