mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Merge pull request #3959 from sfc-gh-ljoswiak/bugfixes/span-downgrade
Only serialize span if TLogVersion >= 6
This commit is contained in:
commit
ef50452bfb
@ -985,7 +985,7 @@ private:
|
||||
// Writes transaction info to the message stream for the given location if
|
||||
// it has not already been written (for the current transaction).
|
||||
void writeTransactionInfo(int location) {
|
||||
if (!FLOW_KNOBS->WRITE_TRACING_ENABLED) {
|
||||
if (!FLOW_KNOBS->WRITE_TRACING_ENABLED || logSystem->getTLogVersion() < TLogVersion::V6) {
|
||||
return;
|
||||
}
|
||||
if (writtenLocations.count(location) == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user