Hello Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24526

to look at the new patch set (#3).

Change subject: IMPALA-14695: Avoid some InconsistentMetadataFetchException
......................................................................

IMPALA-14695: Avoid some InconsistentMetadataFetchException

The patch tries to avoid InconsistentMetadataFetchException by:
1. prepopulating partition list/column stat in cache on first
   GetPartialCatalogObjectRequest
2. accepting partitions if the table has changed, but the
   received partition ids are the same as the requested ones
3. storing partitions in cache even if the response in not
   consistent with the request

See the Jira for the script with parallel alter partitions
statements. With the patch this doesn't lead to
InconsistentMetadataFetchException and planning retries
anymore.

An alternative implementation for 1  would have been to remove
loadPartitionList and loadTableColumnStatistics completely.
Currently all tables load these eagerly, so the functions
are not useful.

Assisted-by: Claude Sonnet 4.6

Change-Id: I6753bc3721bc9c5ebc43802f7314ef4de04738fd
---
M fe/src/main/java/org/apache/impala/catalog/local/CatalogdMetaProvider.java
M fe/src/main/java/org/apache/impala/catalog/local/LocalIcebergTable.java
M fe/src/test/java/org/apache/impala/catalog/local/CatalogdMetaProviderTest.java
3 files changed, 204 insertions(+), 88 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/24526/3
--
To view, visit http://gerrit.cloudera.org:8080/24526
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6753bc3721bc9c5ebc43802f7314ef4de04738fd
Gerrit-Change-Number: 24526
Gerrit-PatchSet: 3
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>

Reply via email to