savagearts-tech commented on issue #71461: URL: https://github.com/apache/doris/issues/71461#issuecomment-7437260511
Thanks for the thorough triage and for confirming the lock cycle — and the #66913 pointer sharpens the regression window nicely (monitor from #66717 × retire-path from #66913). Answers to the mitigation/evidence asks from our side: - Our production FEs run with `enable_external_meta_cache_manual_miss_load=false`. We have already deployed an internally patched 4.1.5 FE build (4 files in `org.apache.doris.datasource.metacache`); deadlock signatures in periodic jstack patrols have been 0 since deployment, so we are no longer exposed regardless of the flag. Agreed on restoring the default `true` for unpatched users where possible. On the PR: yes, we'll open it against `branch-4.1` with the JUnit case as a regression test. Our current patch already: - detaches the retired group under the engine-cache monitor and releases its budget exactly once via an idempotent scalar release (no Caffeine access under the monitor); - defers Caffeine drain / removal callbacks until after the monitor is released. Before opening the PR we'll address the remaining points and include the results in it: 1. ensure the deferred drain also runs outside the catalog lifecycle lock, including the drop-catalog / property-rollback paths you referenced; 2. a regression test that retired loads cannot publish into the replacement group; 3. a regression test that deferred cleanup cannot debit the replacement budget; 4. the full test matrix: both `enable_external_meta_cache_manual_miss_load` settings × weighted retirement. We'll post the PR link here once it's up. -- 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]
