Skip to content

Conversation

@swamirishi
Copy link
Contributor

@swamirishi swamirishi commented Jan 1, 2026

What changes were proposed in this pull request?

MinHeapMergeIterator should use key comparator while popping out entries from the heap. Currently it uses Object.equals() which can fetch wrong results when comparing the key without the key comparator.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-14330

How was this patch tested?

Updated unit tests to use byte array

…ing out entries from the heap

Change-Id: Ia196692c74237ae100180b27dc5c2b5b661ba783
@swamirishi swamirishi changed the title HDDS-14330. MinHeapMergeIterator should use key comparator while popp… HDDS-14330. MinHeapMergeIterator should use key comparator while popping out entries from the heap Jan 1, 2026
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.

1 participant