Skip to content

IllegalArgumentException will be raised when database has no tables. #3361

@mo-avatar

Description

@mo-avatar

https://github.com/apache/incubator-doris/blob/c6ac60bab9563a77b052a2766b0de859528aee41/fe/src/main/java/org/apache/doris/consistency/ConsistencyChecker.java#L267

PriorityQueue will raise an IllegalArgumentException when initialized with initailCapacity less than 1, which will leads to an error log printed in fe.log periodically 。

Best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/fixCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions