You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Swaminathan Balachandran (Jira)" <ji...@apache.org> on 2025/12/24 15:25:00 UTC
[jira] [Created] (HDDS-14239) Simplify Prepare Batch looping for DeleteRange Op processing in RDBBatchOperation
Swaminathan Balachandran created HDDS-14239:
-----------------------------------------------
Summary: Simplify Prepare Batch looping for DeleteRange Op processing in RDBBatchOperation
Key: HDDS-14239
URL: https://issues.apache.org/jira/browse/HDDS-14239
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Swaminathan Balachandran
Assignee: Swaminathan Balachandran
Currently the PrepareBatchOperation looping is very convoluted. It also misses a case where a putKey/deleteKey can get added even though a deleteRange has been executed in the next batch after the following continuousDeleteRange batch. The following example will explain the scenario better.
1) Put Key1
2) DeleteRange Key2 - Key5
3) Put Key2
4) DeleteRange Key1 - Key4
Here the operation 1 should ideally be cancelled by Op4. But currently both Op1 & OP4 gets executed however it would be more optimal to just execute Op4 & Op1 is redundant.
--
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