Swaminathan Balachandran created HDDS-13420:
-----------------------------------------------
Summary: SCM Transaction Buffer should hold an exclusive lock
while updating write batch
Key: HDDS-13420
URL: https://issues.apache.org/jira/browse/HDDS-13420
Project: Apache Ozone
Issue Type: Bug
Reporter: Swaminathan Balachandran
Assignee: Swaminathan Balachandran
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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]