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


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalCatalog.java:
##########
@@ -1152,6 +1201,18 @@ public void replayDropDb(String dbName) {
         }
     }

Review Comment:
   Fixed in 182ef43447a. Legacy mode-2 DROP DATABASE replay now opens a catalog 
row-count fence, invalidates the database names snapshot, and then retires the 
ambiguous object generation and routed caches. The opening fence prevents a new 
name from becoming visible with an old count during the transition. 
CatalogMgrTest uses a populated real names cache and verifies that replay 
reloads an empty remote list instead of continuing to expose Foo. The 176 
focused FE tests and full FE build pass.



-- 
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