@@ -483,7 +483,7 @@ Future<Void> readCommitted(Database cx,
483483
484484 // When this buggify line is enabled, if there are more than 1 result then use half of the results
485485 // Copy the data instead of messing with the results directly to avoid TSS issues.
486- if (values.size () > 1 && BUGGIFY ) {
486+ if (values.size () > 1 && buggify () ) {
487487 RangeResult copy;
488488 // only copy first half of values into copy
489489 for (int i = 0 ; i < values.size () / 2 ; i++) {
@@ -566,7 +566,7 @@ Future<Void> readCommitted(Database cx,
566566
567567 // When this buggify line is enabled, if there are more than 1 result then use half of the results.
568568 // Copy the data instead of messing with the results directly to avoid TSS issues.
569- if (rangevalue.size () > 1 && BUGGIFY ) {
569+ if (rangevalue.size () > 1 && buggify () ) {
570570 RangeResult copy;
571571 // only copy first half of rangevalue into copy
572572 for (int i = 0 ; i < rangevalue.size () / 2 ; i++) {
@@ -928,7 +928,7 @@ Future<Void> applyMutations(Database cx,
928928 co_await coalesceKeyVersionCache (
929929 uid, newEndVersion, keyVersion, commit, committedVersion, addActor, &commitLock);
930930 beginVersion = newEndVersion;
931- if (BUGGIFY ) {
931+ if (buggify () ) {
932932 co_await delay (2.0 );
933933 }
934934 }
@@ -1012,7 +1012,7 @@ static Future<Void> _eraseLogData(Reference<ReadYourWritesTransaction> tr,
10121012 }
10131013 }
10141014
1015- if (endVersion.present () || backupVersions.size () != 1 || BUGGIFY ) {
1015+ if (endVersion.present () || backupVersions.size () != 1 || buggify () ) {
10161016 if (!endVersion.present ()) {
10171017 // Clear current backup version history
10181018 tr->clear (backupLatestVersionsKey);
@@ -1028,7 +1028,7 @@ static Future<Void> _eraseLogData(Reference<ReadYourWritesTransaction> tr,
10281028 if (clearLogRangesRequired) {
10291029 if ((nextSmallestVersion - currBeginVersion) / CLIENT_KNOBS->LOG_RANGE_BLOCK_SIZE >=
10301030 std::numeric_limits<uint8_t >::max () ||
1031- BUGGIFY ) {
1031+ buggify () ) {
10321032 Key baLogRangePrefix = destUidValue.withPrefix (backupLogKeys.begin );
10331033
10341034 for (int h = 0 ; h <= std::numeric_limits<uint8_t >::max (); h++) {
0 commit comments