Fix failing upgrades due to non-persisted initial cluster version

This commit is contained in:
Lukas Joswiak 2022-04-14 13:27:47 -07:00
parent 3cbba4bea4
commit 07d11ec2e1

View File

@ -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