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

Method addTxsTag

fdbserver/LogSystem.cpp:284–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void LogPushData::addTxsTag() {
285 if (logSystem->getTLogVersion() >= TLogVersion::V4) {
286 next_message_tags.push_back(logSystem->getRandomTxsTag());
287 } else {
288 next_message_tags.push_back(txsTag);
289 }
290}
291
292void LogPushData::addTransactionInfo(SpanContext const& context) {
293 CODE_PROBE(!spanContext.isValid(), "addTransactionInfo with invalid SpanContext");

Callers 1

Calls 3

getTLogVersionMethod · 0.80
getRandomTxsTagMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected