Skip to content

There is a bug in KeyRange split #13

@tanglizhe1105

Description

@tanglizhe1105

like KeyRange.linearSplit(), if param hostNum large than KeyRange.size(), the elem of sets whose index equal or more than KeyRange.size() will be invalid, since it's start is greater than end.

this will lead to disaster when initial storage for Keys, like IntArrayStore.init(), the Keys.size() will be negtive.

I have repaired this bug, and have pulled requests

maybe there is also similar problem in hashSplit, just i guess

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions