diff --git a/fdbclient/CommitTransaction.h b/fdbclient/CommitTransaction.h index 614bdb8e01..53c87c43bd 100644 --- a/fdbclient/CommitTransaction.h +++ b/fdbclient/CommitTransaction.h @@ -208,7 +208,7 @@ struct CommitTransactionRef { if (ar.protocolVersion().hasReportConflictingKeys()) { serializer(ar, report_conflicting_keys); } - if (ar.protocolVersion().version() >= (uint64_t)0x0FDB00B071000000LL) { + if (ar.protocolVersion().hasResolverPrivateMutations()) { serializer(ar, lock_aware, spanContext); } } diff --git a/flow/ProtocolVersion.h b/flow/ProtocolVersion.h index 78e375269b..a6561c91ab 100644 --- a/flow/ProtocolVersion.h +++ b/flow/ProtocolVersion.h @@ -163,6 +163,7 @@ public: // introduced features PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, PerpetualWiggleMetadata); PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, Tenants); PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, StorageInterfaceReadiness); + PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, ResolverPrivateMutations); }; template <>