S01047

Error Code

S01047

Error Message

Compaction blocked: Existing task in level <xxx>, chunk <cid>, table <xxx>. Only one compaction task is allowed. RefId: S01047

Probable Causes

This error occurs when the TSDB engine checks if the level 3 files in a chunk need to be compacted but there is already an ongoing compaction task at level 3 in the chunk. Note that TSDB only supports one compaction task at level 3 per chunk.

Solutions

Use the getTSDBCompactionTaskStatus function to view the status of TSDB level file compaction tasks. Wait for the previous compaction task to complete before performing another.