Skip to content

Stress test: The local set of parts doesn't look like the set of parts in ZooKeeper #37664

@tavplubix

Description

@tavplubix

Sometimes server fails to start after BC check with errors like

2022.05.29 03:17:31.597820 [ 213989 ] {} <Error> Application: Caught exception while loading metadata: Code: 231. DB::Exception: The local set of parts of table test_metadata_cache.check_part_metadata_cache (2383e9d1-92b1-4e45-b207-780cd6192e1d) doesn't look like the set of parts in ZooKeeper: 12.00 rows of 12.00 total rows in filesystem are suspicious. There are 3 unexpected parts with 12 rows (0 of them is not just-written with 0 rows), 0 missing parts (with 0 blocks).

Example:
https://s3.amazonaws.com/clickhouse-test-reports/37622/313f4833d641993a4d090691c0f8d1921ded97a3/stress_test__debug__actions_.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    fuzzProblem found by one of the fuzzers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions