Sai Hemanth Gantasala has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21662
Change subject: IMPALA-12758: Event processor is ignoring the prev_id while reloading existing partitions ...................................................................... IMPALA-12758: Event processor is ignoring the prev_id while reloading existing partitions IMPALA-10976 depends on event processor for cache consistency instead of directly modifying the cache inplace. so when enable_sync_to_latest_event_on_ddls is enabled, cache modification via partitioned table events should retain the prev_id of the partitions while reloading the partitions. Currently, prev_id is set to -1, so when the catalogDelta is sent from the state store to impala demons, because prev_id is not valid, impalads will not know whether to invalidate the current partition and then request the new partition information. This patch addresses this issue by setting the prev_id of reloaded partition. Note: This is only an issue when enable_sync_to_latest_event_on_ddls is enabled Testing: - Added an ened-to-end test to verify the same Change-Id: Ia7d53f601b63d83e99cbd2d1f58076a0dc78c610 --- M fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java M tests/custom_cluster/test_events_custom_configs.py 3 files changed, 21 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/62/21662/1 -- To view, visit http://gerrit.cloudera.org:8080/21662 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ia7d53f601b63d83e99cbd2d1f58076a0dc78c610 Gerrit-Change-Number: 21662 Gerrit-PatchSet: 1 Gerrit-Owner: Sai Hemanth Gantasala <[email protected]>
