[ 
https://issues.apache.org/jira/browse/HDDS-15665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HDDS-15665:
-----------------------------------
    Release Note: Fixed a race condition in the datanode transaction iterator 
that could cause already-deleted transactions to be loaded and reprocessed 
after a flush.

> Race condition of deletingTxIDs between readOnlyIterator and onFlush
> --------------------------------------------------------------------
>
>                 Key: HDDS-15665
>                 URL: https://issues.apache.org/jira/browse/HDDS-15665
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.0, 2.2.1
>
>
> While readOnlyIterator returns an iterator for getTransactions to use, 
> readOnlyIterator skips elements which are already in deletingTxIDs, while 
> before readOnlyIterator is closed, another thread can call onFlush to cleanup 
> the deletingTxIDs, causing finished transactions be loaded again for delete. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to