You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/07/10 12:32:00 UTC
[jira] [Updated] (HDDS-13420) SCM Transaction Buffer should hold an exclusive lock while updating write batch
[ https://issues.apache.org/jira/browse/HDDS-13420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-13420:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org