Skip to content

Commit c02c03c

Browse files
committed
storage: allow backpressuring AddSSTable for splits
Nodes appear to getting swamped with AddSSTable requests when they are highly overlapping and thus very expensive. In particular, splits are getting stuck waiting for the AddSSTable calls since they were not marked as OK to backpressure. Release note (performance improvement): allow oversized ranges to split sooner.
1 parent 5996d50 commit c02c03c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/storage/replica_backpressure.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ var backpressurableReqMethods = util.MakeFastIntSet(
5555
int(roachpb.Increment),
5656
int(roachpb.Delete),
5757
int(roachpb.DeleteRange),
58+
int(roachpb.AddSSTable),
5859
)
5960

6061
// backpressurableSpans contains spans of keys where write backpressuring

0 commit comments

Comments
 (0)