-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start clickhouse server #45429
Labels
question
Question?
Comments
Can you possibly post the full stack trace ? |
|
From the stack trace, file "primary.idx" in some data parts may be missing or is lost. |
Any idea how can I repair that ? I could even start with an empty db because i hope it will be replicated from the other systems in the cluster. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a clickhouse setup which is using zookeeper for data replication. One of the nodes experienced some storage issues and after restart clickhouse server does not start.
In the error log i have the following message:
Application: DB::ErrnoException: Allocator: Cannot realloc from 16.00 MiB to 0.00 B., errno: 2, strerror: No such file or directory: Cannot attach table
graphite
.data
from metadata file /clickhouse/data/metadata/graphite/data.sql from query ATTACH TABLE data (Path
String,Value
Float64,Time
UInt32,Date
Date,Timestamp
UInt32) ENGINE = ReplicatedGraphiteMergeTree('/clickhouse/tables/smart/graphite.data', '{replica}', Date, (Path, Time), 8192, 'graphite_rollup')Any idea how can it be fixed ?
The text was updated successfully, but these errors were encountered: