ttttttz has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19855


Change subject: IMPALA-12066: Avoid missing updates due to skipping
......................................................................

IMPALA-12066: Avoid missing updates due to skipping

In the CatalogServiceCatalog#lockHdfsTblWithTimeout()
method, we think it's safe to skip the table when the
gathering thread cannot get a read lock in attempt 2.
This is not entirely correct because it's not guarantee
that the table's version will be updated outside current
window of the topic updates when the mutating thread
fails for some reasons. If the topic update thread had
skipped the table, then it needs to process the table
in the next update, even if the table's version is
less than fromVersion.

Change-Id: Ic5f95692a6aa38cc5a0eb373e5986c61e26579fe
---
M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java
1 file changed, 6 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/55/19855/1
--
To view, visit http://gerrit.cloudera.org:8080/19855
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5f95692a6aa38cc5a0eb373e5986c61e26579fe
Gerrit-Change-Number: 19855
Gerrit-PatchSet: 1
Gerrit-Owner: ttttttz <[email protected]>

Reply via email to