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

   ## What changes were proposed in this pull request?
   Currently RDBBatchOperation is not thread safe since underlying rocksdb 
batch operation is not thread safe.
   
https://github.com/facebook/rocksdb/blob/bd513fd075ded037f52614b69f07409d5167fec6/java/src/main/java/org/rocksdb/WriteBatch.java#L11-L25
   However SCMHADBTransactionBufferImpl doesn't hold an exclusive lock while 
updating a RDBBatchOperation which could lead to inconsistencies
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13420
   
   ## How was this patch tested?
   Existing tests cannot be concretely reproduced easily.


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