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 2026/01/02 14:05:00 UTC

[jira] [Resolved] (HDDS-14330) MinHeapMergeIterator should use key comparator while popping out entries from the heap

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

Swaminathan Balachandran resolved HDDS-14330.
---------------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

> MinHeapMergeIterator should use key comparator while popping out entries from the heap
> --------------------------------------------------------------------------------------
>
>                 Key: HDDS-14330
>                 URL: https://issues.apache.org/jira/browse/HDDS-14330
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Assignee: Swaminathan Balachandran
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> 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.



--
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