Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23957
Change subject: IMPALA-14657: Use thread-safe set for droppedPartitions_ ...................................................................... IMPALA-14657: Use thread-safe set for droppedPartitions_ droppedPartitions_ of HdfsTable keeps the partition instances that are recently dropped but haven't been sent in the catalog updates. The set will be cleared in the catalog update thread after these deletions are collected. However, catalog update thread just acquires read lock on this table. So we need a thread-safe set to avoid breaking other readers like toMinimalTCatalogObject(). This changes droppedPartitions_ to use a thread-safe set. Tests - Ran TestPartitionDeletion::test_local_catalog_no_event_processing 40 times. Change-Id: I12ff7a57c269ee387c1e41048a9e0a6679a586c3 --- M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java 1 file changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/23957/1 -- To view, visit http://gerrit.cloudera.org:8080/23957 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I12ff7a57c269ee387c1e41048a9e0a6679a586c3 Gerrit-Change-Number: 23957 Gerrit-PatchSet: 1 Gerrit-Owner: Quanlong Huang <[email protected]>
