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.present()) {
|
||||||
if (leader.get().first.forward) {
|
if (leader.get().first.forward) {
|
||||||
ClientDBInfo outInfo;
|
ClientDBInfo outInfo;
|
||||||
// TODO: change?
|
|
||||||
outInfo.isEncryptionEnabled = false;
|
|
||||||
outInfo.id = deterministicRandom()->randomUniqueID();
|
outInfo.id = deterministicRandom()->randomUniqueID();
|
||||||
outInfo.forward = leader.get().first.serializedInfo;
|
outInfo.forward = leader.get().first.serializedInfo;
|
||||||
clientData->clientInfo->set(CachedSerialization<ClientDBInfo>(outInfo));
|
clientData->clientInfo->set(CachedSerialization<ClientDBInfo>(outInfo));
|
||||||
|
@ -47,7 +47,7 @@ struct TenantMapEntry {
|
|||||||
Key prefix;
|
Key prefix;
|
||||||
TenantState tenantState = TenantState::READY;
|
TenantState tenantState = TenantState::READY;
|
||||||
Optional<TenantGroupName> tenantGroup;
|
Optional<TenantGroupName> tenantGroup;
|
||||||
bool encrypted;
|
bool encrypted = false;
|
||||||
|
|
||||||
constexpr static int PREFIX_SIZE = sizeof(id);
|
constexpr static int PREFIX_SIZE = sizeof(id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user