Skip to content

[Backport 3.5] Fix handling of deletes during leading segment merge - #268

Merged
akash-shankaran merged 2 commits into
3.5from
backport/backport-242-to-3.5
Feb 11, 2026
Merged

[Backport 3.5] Fix handling of deletes during leading segment merge#268
akash-shankaran merged 2 commits into
3.5from
backport/backport-242-to-3.5

Conversation

@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor

Backport f33bb41 from #242

* Revert "Revert of support deletes for incremental insertion (#240)"

This reverts commit 4453ba9.

Reverting the revert to be able to apply the fix.

Signed-off-by: Ashwin Krishna Kumar <nebulousmagneticwind@outlook.com>

* Fix leading segment merge under deletions

Signed-off-by: Ashwin Krishna Kumar <nebulousmagneticwind@outlook.com>

* Refine the "undo revert" commit

These commits will all be squashed anyway, so this change helps reduce
the splash zone of the final squashed commit without affecting
functionality.

Signed-off-by: Ashwin Krishna Kumar <nebulousmagneticwind@outlook.com>

* Add/fix changelog entries

Signed-off-by: Ashwin Krishna Kumar <nebulousmagneticwind@outlook.com>

* Review comment updates

Signed-off-by: Ashwin Krishna Kumar <nebulousmagneticwind@outlook.com>

* Add config to disable leading segment merge

Also tweak some logs

Signed-off-by: Ashwin Krishna Kumar <nebulousmagneticwind@outlook.com>

---------

Signed-off-by: Ashwin Krishna Kumar <nebulousmagneticwind@outlook.com>
(cherry picked from commit f33bb41)
@akash-shankaran
akash-shankaran merged commit a7982e7 into 3.5 Feb 11, 2026
14 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants