Add protocol feature

This commit is contained in:
Lukas Joswiak 2022-04-12 13:06:31 -07:00
parent 08a8eb2b37
commit 0783b044fe
2 changed files with 2 additions and 1 deletions

View File

@ -208,7 +208,7 @@ struct CommitTransactionRef {
if (ar.protocolVersion().hasReportConflictingKeys()) { if (ar.protocolVersion().hasReportConflictingKeys()) {
serializer(ar, report_conflicting_keys); serializer(ar, report_conflicting_keys);
} }
if (ar.protocolVersion().version() >= (uint64_t)0x0FDB00B071000000LL) { if (ar.protocolVersion().hasResolverPrivateMutations()) {
serializer(ar, lock_aware, spanContext); serializer(ar, lock_aware, spanContext);
} }
} }

View File

@ -163,6 +163,7 @@ public: // introduced features
PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, PerpetualWiggleMetadata); PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, PerpetualWiggleMetadata);
PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, Tenants); PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, Tenants);
PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, StorageInterfaceReadiness); PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, StorageInterfaceReadiness);
PROTOCOL_VERSION_FEATURE(0x0FDB00B071010000LL, ResolverPrivateMutations);
}; };
template <> template <>