adoroszlai opened a new pull request #1618: URL: https://github.com/apache/ozone/pull/1618
## What changes were proposed in this pull request? Container DBs are compacted during export for replication. This opens the DB, but does not close it, only decrements the reference count. So RocksDB keeps running and may modify files while they are being archived. This change makes sure the DB is closed after compaction to avoid concurrent writes. https://issues.apache.org/jira/browse/HDDS-3363 ## How was this patch tested? Ran unit test 100x: [failed 6% without the fix](https://github.com/adoroszlai/hadoop-ozone/runs/1447259621), but [0% with it](https://github.com/adoroszlai/hadoop-ozone/runs/1447198023). Regular CI: https://github.com/adoroszlai/hadoop-ozone/actions/runs/380843788 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
