You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/10/03 15:51:27 UTC

[GitHub] [incubator-iceberg] aokolnychyi opened a new pull request #513: Fix concurrency issue in HiveTableOperations when Table is reused

aokolnychyi opened a new pull request #513: Fix concurrency issue in HiveTableOperations when Table is reused
URL: https://github.com/apache/incubator-iceberg/pull/513
 
 
   The same `Table` instance can be shared by multiple jobs meaning that `TableOperations` can be reused. Right now, `doCommit` in `HiveTableOperations` does not check whether `base` is still valid. It checks whether the current metadata location is valid. As a result, if another thread/job that uses the same `HiveTableOperations` updates the current metadata location, this might lead to data corruption.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org