924060929 commented on code in PR #66913:
URL: https://github.com/apache/doris/pull/66913#discussion_r3859221873


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/metacache/MetaCacheEntry.java:
##########
@@ -521,7 +521,7 @@ public void close() {
             return;
         }
         invalidateAll();
-        pendingRemovalNotifications.clear();
+        drainRemovalNotificationsOnClose();

Review Comment:
   Fixed in f1b97225035. Removal notifications now have exact single ownership 
across publication, cleanup-worker polling, and close draining: a worker-owned 
token is never dropped after close, and a notification published after the 
final drain is claimed and invoked inline. Added deterministic barrier tests 
for both interleavings. Verified MetaCacheEntryTest plus the related 
Hudi/SplitAssignment suite (90 tests total) and ./build.sh --fe.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to