SQL: Creating an index produced disk stall error #36385
Labels
A-schema-changes
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
S-1-stability
Severe stability issues that can be fixed by upgrading, but usually don’t resolve by restarting
Describe the problem
While creating an index, one of the nodes crashed with the following error:
disk stall detected: unable to write to <no-attributes>=/var/lib/crdbinternal/ds1 within 10s
This error is happening because RocksDB is compacting a lot and blocks traffic to the engine a number of times and data was not committable to the RocksDB engine within 10s. We do have a workaround for this which would be setting up the environment variable
COCKROACH_ENGINE_MAX_SYNC_DURATION=120s
.However setting that env var led to #26.
Additional data / screenshots
Compaction Stats:
Environment:
The text was updated successfully, but these errors were encountered: