Gabriel39 opened a new pull request, #66392:
URL: https://github.com/apache/doris/pull/66392

   ### What problem does this PR solve?
   
   Concurrent first consumers of a catalog's Hadoop properties could observe 
the cache before its initialization completed. One thread could copy the 
`HashMap` while the initializer was still populating it, causing a 
`ConcurrentModificationException` during external table sink binding.
   
   ### What is changed?
   
   - Build the Hadoop property map locally and publish it through the volatile 
cache only after all entries and the filesystem cache key are ready.
   - Add a deterministic concurrency regression test that verifies readers 
cannot observe a partially initialized cache.
   
   ### Validation
   
   - `CatalogPropertyTest`
   - `PaimonWriteBindingTest`
   - `StoragePropertiesFsCacheFingerprintTest`
   - FE Checkstyle
   
   


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