Skip to content

Commit c3bcf4a

Browse files
authored
[ES-1161506] compaction failures cause corrupt index for query, disable it (#50)
2 parents 872bc4f + cfa0851 commit c3bcf4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/receive/multitsdb.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,8 @@ func (t *MultiTSDB) startTSDB(logger log.Logger, tenantID string, tenant *tenant
647647
t.mtx.Unlock()
648648
return err
649649
}
650+
level.Info(logger).Log("msg", "disable auto compactions to avoid failures", "tenant", tenantID)
651+
s.DisableCompactions()
650652
var ship *shipper.Shipper
651653
if t.bucket != nil {
652654
ship = shipper.New(

0 commit comments

Comments
 (0)