mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 01:42:37 +08:00
use default values
This commit is contained in:
parent
ed0b1ed030
commit
f07a38b75a
@ -800,8 +800,6 @@ ACTOR Future<Void> monitorLeaderAndGetClientInfo(Key clusterKey,
|
||||
if (leader.present()) {
|
||||
if (leader.get().first.forward) {
|
||||
ClientDBInfo outInfo;
|
||||
// TODO: change?
|
||||
outInfo.isEncryptionEnabled = false;
|
||||
outInfo.id = deterministicRandom()->randomUniqueID();
|
||||
outInfo.forward = leader.get().first.serializedInfo;
|
||||
clientData->clientInfo->set(CachedSerialization<ClientDBInfo>(outInfo));
|
||||
|
@ -47,7 +47,7 @@ struct TenantMapEntry {
|
||||
Key prefix;
|
||||
TenantState tenantState = TenantState::READY;
|
||||
Optional<TenantGroupName> tenantGroup;
|
||||
bool encrypted;
|
||||
bool encrypted = false;
|
||||
|
||||
constexpr static int PREFIX_SIZE = sizeof(id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user