Closed darkelf21cn closed 1 day ago
I think I found the root cause. I should not use the same directory for boltdb_shipper and tsdb_shipper. Which mess up the directory and cause the compactor to load unexpected files. Everything works fine after I removed bad configurations below.
boltdb_shipper:
active_index_directory: /loki/index
cache_location: /loki/index_cache
tsdb_shipper:
active_index_directory: /loki/index
cache_location: /loki/index_cache
Describe the bug Loki crashes when compactor start to work
To Reproduce
Expected behavior compactor works normally
Environment:
Screenshots, Promtail config, or terminal output config.txt loki.log