Skip to content

Commit 8cfa15b

Browse files
committed
Ignore not found errors when compacting users
Signed-off-by: Alan Protasio <[email protected]>
1 parent dd4240d commit 8cfa15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compactor/compactor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ func (c *Compactor) compactUserWithRetries(ctx context.Context, userID string) e
732732
}
733733

734734
func (c *Compactor) compactUser(ctx context.Context, userID string) error {
735-
bucket := bucket.NewUserBucketClient(userID, c.bucketClient, c.cfgProvider)
735+
bucket := bucket.NewUserBucketClient(userID, c.bucketClient, c.cfgProvider).WithExpectedErrs(c.bucketClient.IsObjNotFoundErr)
736736
reg := prometheus.NewRegistry()
737737
defer c.syncerMetrics.gatherThanosSyncerMetrics(reg)
738738

0 commit comments

Comments
 (0)