[
https://issues.apache.org/jira/browse/HDDS-4661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Wang updated HDDS-4661:
---------------------------
Description:
We need to find a better to init, expose and close batch operation.
Right now the batch operation is exposed publicly where its commits and closes
are keep within the buffer. There are potential problems for this design. For
example a caller can commit the batch option without waiting for flush().
was:We need to find a better to init, expose and close batch operation.
> Disallow committing to DB by getCurrentBatchOperation()
> -------------------------------------------------------
>
> Key: HDDS-4661
> URL: https://issues.apache.org/jira/browse/HDDS-4661
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
>
> We need to find a better to init, expose and close batch operation.
> Right now the batch operation is exposed publicly where its commits and
> closes are keep within the buffer. There are potential problems for this
> design. For example a caller can commit the batch option without waiting for
> flush().
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]