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

Method hasPseudoLocality

fdbserver/TagPartitionedLogSystem.actor.cpp:212–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212bool TagPartitionedLogSystem::hasPseudoLocality(int8_t locality) const {
213 return pseudoLocalities.count(locality) > 0;
214}
215
216Version TagPartitionedLogSystem::popPseudoLocalityTag(Tag tag, Version upTo) {
217 ASSERT(isPseudoLocality(tag.locality) && hasPseudoLocality(tag.locality));

Callers 2

Future<Void> tLogPopCoreFunction · 0.80
whenFunction · 0.80

Calls 1

countMethod · 0.65

Tested by

no test coverage detected