MCPcopy Create free account
hub / github.com/apple/foundationdb / hasRemoteLogs

Method hasRemoteLogs

fdbserver/TagPartitionedLogSystem.actor.cpp:1757–1759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1755}
1756
1757bool TagPartitionedLogSystem::hasRemoteLogs() const {
1758 return logRouterTags > 0 || pseudoLocalities.size() > 0;
1759}
1760
1761Tag TagPartitionedLogSystem::getRandomRouterTag() const {
1762 return Tag(tagLocalityLogRouter, deterministicRandom()->randomInt(0, logRouterTags));

Callers 2

writeMessageMethod · 0.80
writeTypedMessageMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected