fix some compile issues

This commit is contained in:
Jon Fu 2021-11-16 13:54:05 -05:00
parent 16e551e834
commit 8714480370
2 changed files with 2 additions and 2 deletions

View File

@ -942,7 +942,7 @@ ACTOR static Future<Void> backgroundGrvUpdater(DatabaseContext* cx) {
.detail("GrvSustainedThrottlingThreshold", CLIENT_KNOBS->GRV_SUSTAINED_THROTTLING_THRESHOLD)
.detail("GrvCacheRkCooldown", CLIENT_KNOBS->GRV_CACHE_RK_COOLDOWN)
.detail("MaxVersionCacheLag", CLIENT_KNOBS->MAX_VERSION_CACHE_LAG)
.detail("DebugUseGrvCache", CLIENT_KNOBS->DEBUG_USE_GRV_CACHE);
.detail("DebugUseGrvCacheChance", CLIENT_KNOBS->DEBUG_USE_GRV_CACHE_CHANCE);
try {
loop {
wait(refreshTransaction(cx, &tr));

View File

@ -33,7 +33,7 @@
#include "flow/Error.h"
#include "flow/ITrace.h"
#define TRACE_DEFAULT_ROLL_SIZE (10 << 40)
#define TRACE_DEFAULT_ROLL_SIZE (10 << 24)
#define TRACE_DEFAULT_MAX_LOGS_SIZE (10 * TRACE_DEFAULT_ROLL_SIZE)
inline int fastrand() {