From 07d11ec2e1c416cd478a313d059f04a247fd314d Mon Sep 17 00:00:00 2001 From: Lukas Joswiak <lukas.joswiak@snowflake.com> Date: Thu, 14 Apr 2022 13:27:47 -0700 Subject: [PATCH] Fix failing upgrades due to non-persisted initial cluster version --- fdbserver/storageserver.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbserver/storageserver.actor.cpp b/fdbserver/storageserver.actor.cpp index 0ecd70adc7..50936b5950 100644 --- a/fdbserver/storageserver.actor.cpp +++ b/fdbserver/storageserver.actor.cpp @@ -806,7 +806,7 @@ public: Promise<UID> clusterId; // The version the cluster starts on. This value is not persisted and may // not be valid after a recovery. - Version initialClusterVersion = invalidVersion; + Version initialClusterVersion = 1; UID thisServerID; Optional<UID> tssPairID; // if this server is a tss, this is the id of its (ss) pair Optional<UID> ssPairID; // if this server is an ss, this is the id of its (tss) pair