Skip to content

IndexError: list index out of range  #111

@cpanixperi

Description

@cpanixperi

if new_leader != partition.replicas[0]:

partition.replicas[0] throws IndexError. Should be checked for null or empty before the index is referred

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