diff --git a/fdbserver/Coordination.actor.cpp b/fdbserver/Coordination.actor.cpp index 2092a87fba..3f44412799 100644 --- a/fdbserver/Coordination.actor.cpp +++ b/fdbserver/Coordination.actor.cpp @@ -393,6 +393,7 @@ ACTOR Future leaderRegister(LeaderElectionRegInterface interf, Key key) { notify[i].send(newInfo); notify.clear(); ClientDBInfo outInfo; + outInfo.isEncryptionEnabled = SERVER_KNOBS->ENABLE_ENCRYPTION; outInfo.id = deterministicRandom()->randomUniqueID(); outInfo.forward = req.conn.toString(); clientData.clientInfo->set(CachedSerialization(outInfo)); @@ -632,6 +633,7 @@ ACTOR Future leaderServer(LeaderElectionRegInterface interf, Optional forward = regs.getForward(req.clusterKey); if (forward.present()) { ClientDBInfo info; + info.isEncryptionEnabled = SERVER_KNOBS->ENABLE_ENCRYPTION; info.id = deterministicRandom()->randomUniqueID(); info.forward = forward.get().serializedInfo; req.reply.send(CachedSerialization(info));