[
https://issues.apache.org/jira/browse/IMPALA-12066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhi Tang updated IMPALA-12066:
------------------------------
Description: After IMPALA-6671, if the topic update thread cannot acquire a
table lock it skips the table from that topic update. 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 tbl version
will be updated outside current window of the topic updates when the mutating
thread fails for some reasons. (was: After IMPALA-6671, if the topic update
thread cannot acquire a table lock it skips the table from that topic update.
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 tbl
version will be updated outside current window of the topic updates when the
mutating thread fails for some reason.)
> If the gathering thread skips table because it cannot acquire a table lock,
> it may lead to issues with lost some updates.
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: IMPALA-12066
> URL: https://issues.apache.org/jira/browse/IMPALA-12066
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog
> Affects Versions: Impala 4.2.0
> Reporter: Zhi Tang
> Priority: Major
>
> After IMPALA-6671, if the topic update thread cannot acquire a table lock it
> skips the table from that topic update. 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 tbl version
> will be updated outside current window of the topic updates when the mutating
> thread fails for some reasons.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]