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

Method popTxs

fdbserver/TagPartitionedLogSystem.actor.cpp:1423–1431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1421}
1422
1423void TagPartitionedLogSystem::popTxs(Version upTo, int8_t popLocality) {
1424 if (getTLogVersion() < TLogVersion::V4) {
1425 pop(upTo, txsTag, 0, popLocality);
1426 } else {
1427 for (int i = 0; i < txsTags; i++) {
1428 pop(upTo, Tag(tagLocalityTxs, i), 0, popLocality);
1429 }
1430 }
1431}
1432
1433void TagPartitionedLogSystem::pop(Version upTo, Tag tag, Version durableKnownCommittedVersion, int8_t popLocality) {
1434 if (upTo <= 0)

Callers 3

whenFunction · 0.80

Calls 2

TagClass · 0.85
popFunction · 0.70

Tested by

no test coverage detected