Skip to content

Commit 7ccee2f

Browse files
authored
Merge pull request #8593 from thanos-io/disableisolation
receive: disable isolation
2 parents cc3188f + 43a8368 commit 7ccee2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/receive/multitsdb.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,10 @@ func (t *MultiTSDB) startTSDB(logger log.Logger, tenantID string, tenant *tenant
771771
// into other ones. This presents a race between compaction and the shipper (if it is configured to upload compacted blocks).
772772
// Hence, avoid this situation by disabling overlapping compaction. Vertical compaction must be enabled on the compactor.
773773
opts.EnableOverlappingCompaction = false
774+
775+
// We don't do scrapes ourselves so this only gives us a performance penalty.
776+
opts.IsolationDisabled = true
777+
774778
s, err := tsdb.Open(
775779
dataDir,
776780
logutil.GoKitLogToSlog(logger),

0 commit comments

Comments
 (0)