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

Method getRandomTxsTag

fdbserver/TagPartitionedLogSystem.actor.cpp:1765–1767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1763}
1764
1765Tag TagPartitionedLogSystem::getRandomTxsTag() const {
1766 return Tag(tagLocalityTxs, deterministicRandom()->randomInt(0, txsTags));
1767}
1768
1769TLogVersion TagPartitionedLogSystem::getTLogVersion() const {
1770 return tLogs[0]->tLogVersion;

Callers 1

addTxsTagMethod · 0.80

Calls 3

TagClass · 0.85
deterministicRandomFunction · 0.85
randomIntMethod · 0.45

Tested by

no test coverage detected