sadanand48 opened a new pull request, #4249: URL: https://github.com/apache/ozone/pull/4249
## What changes were proposed in this pull request? The timeline for CreateSnapshot request is as follows t1-> Update snapshot info in Cache and return response to the client after bucket lock released. The OM DoubleBuffer thread has not yet flushed this operation to DB so actual rocksdb is not updated and checkpoint has not yet been created. t2-> Lets say Client issues read on the renamed path, During read it finds the Snapshot info object and the checkpoint dir location from the Snapshot Table Cache, however the checkpoint is actually created when actual RocksDB is updated in OMCreateSnapshotResponse#addToDBBatch and the read fails t3-> Add snapshotInfo to DB and create checkpoint. The fix here is to wait for the checkpoint dir creation during read if the snapshot info is in cache. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7906 ## How was this patch tested? Unit test -- 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]
