ptlrs opened a new pull request, #8841:
URL: https://github.com/apache/ozone/pull/8841

   ## What changes were proposed in this pull request?
   Container export operations for Schema v2 containers can fail when a scan is 
simultaneously in progress. This occurs because the scanner maintains an active 
database (Db) handle, preventing the export process from clearing the Db handle 
cache.
   
   Previously, the export process attempted to clear this cache (a feature 
introduced in [HDDS-3363](https://issues.apache.org/jira/browse/HDDS-3363)). 
However, with the Db handle still held by the scanner, this cache-clearing 
instruction would fail, leading to the overall export failure.
   
   To address this, the export process has been updated to no longer attempt to 
clear the Db handle cache, allowing for successful container exports even when 
a scan is ongoing.
   
   A unit test has been added which reproduces the failure conditions.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-11721
   
   ## How was this patch tested?
   CI: https://github.com/ptlrs/ozone/actions/runs/16429140937
   
   Flaky test 10x10 for:
   
[TestKeyValueContainer](https://github.com/ptlrs/ozone/actions/runs/16427469966)
   
[TestDecommissionAndMaintenance](https://github.com/ptlrs/ozone/actions/runs/16427452242)


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