Skip to content

Possible wrong global histogram after merging the partition statistics #52251

@winoros

Description

@winoros

img_v3_029e_2a4ddc4e-edd6-44f4-946c-9936eabe1f2g

After the slices.SortFunc, The order like [2, 2], [1, 3], [2, 3] will be a valid sorted result. And the following merging process just checks the bucket size. So it's possible that we treat the [2, 2] as the first global bucket and merge [1, 3] and [2, 3] as the second.

The merge result is wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.component/statisticsseverity/moderatesig/plannerSIG: Plannertype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions