SERVER-127012 Side write drains that are batched should use kGroupForTransactions (#54381)
GitOrigin-RevId: 42baa8f83774ce5ff5077f69a293d3c86ccda4ee
This commit is contained in:
parent
c1fe003eec
commit
53c3f3c5fb
@ -293,9 +293,8 @@ Status SideWritesTracker::drainWritesIntoIndex(
|
||||
feature_flags::gFeatureFlagPrimaryDrivenIndexBuilds.isEnabled(
|
||||
VersionContext::getDecoration(opCtx), fcvSnapshot);
|
||||
WriteUnitOfWork wuow(opCtx,
|
||||
primaryDrivenFeatureFlagEnabled
|
||||
? WriteUnitOfWork::kGroupForPossiblyRetryableOperations
|
||||
: WriteUnitOfWork::kDontGroup);
|
||||
primaryDrivenFeatureFlagEnabled ? WriteUnitOfWork::kGroupForTransaction
|
||||
: WriteUnitOfWork::kDontGroup);
|
||||
|
||||
int32_t batchSize = 0;
|
||||
int64_t batchSizeBytes = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user