From 3e318200782c6ecff83e7f6943338a9d1d0a62d7 Mon Sep 17 00:00:00 2001 From: Markus Pilman Date: Tue, 13 Sep 2022 10:29:29 -0600 Subject: [PATCH] fix compilation issues --- fdbserver/tester.actor.cpp | 2 +- fdbserver/workloads/RandomClogging.actor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fdbserver/tester.actor.cpp b/fdbserver/tester.actor.cpp index a91a4ebc98..be13036e63 100644 --- a/fdbserver/tester.actor.cpp +++ b/fdbserver/tester.actor.cpp @@ -437,7 +437,7 @@ bool FailureInjectionWorkload::add(DeterministicRandom& random, [&desc](auto const& w) { return w->description() == desc; }); bool willAdd = work.useDatabase && 0.1 / (1 + alreadyAdded) > random.random01(); if (willAdd) { - initFailureInjectionMode(random); + initFailureInjectionMode(random, alreadyAdded); } return willAdd; } diff --git a/fdbserver/workloads/RandomClogging.actor.cpp b/fdbserver/workloads/RandomClogging.actor.cpp index bad4b31bba..9803f85ad8 100644 --- a/fdbserver/workloads/RandomClogging.actor.cpp +++ b/fdbserver/workloads/RandomClogging.actor.cpp @@ -151,4 +151,4 @@ struct RandomCloggingWorkload : FailureInjectionWorkload { }; WorkloadFactory RandomCloggingWorkloadFactory("RandomClogging"); -FailureInjectorFactory MachineAttritionFailureWorkloadFactory; +FailureInjectorFactory RandomCloggingFailureInjectionFactory;