diff --git a/fdbclient/include/fdbclient/KeyBackedTypes.actor.h b/fdbclient/include/fdbclient/KeyBackedTypes.actor.h index 96ef94689e..8f9879cff2 100644 --- a/fdbclient/include/fdbclient/KeyBackedTypes.actor.h +++ b/fdbclient/include/fdbclient/KeyBackedTypes.actor.h @@ -213,7 +213,7 @@ public: void update(Transaction tr, AddConflictRange conflict = AddConflictRange::False) { std::array value; value.fill(0); - tr->atomicOp(key, StringRef(value.begin(), value.size()), MutationRef::SetVersionstampedValue); + tr->atomicOp(key, StringRef(value.data(), value.size()), MutationRef::SetVersionstampedValue); if (conflict) { tr->addReadConflictRange(singleKeyRange(key)); } diff --git a/fdbclient/include/fdbclient/SpecialKeySpace.actor.h b/fdbclient/include/fdbclient/SpecialKeySpace.actor.h index 5918fef4c4..8e90332490 100644 --- a/fdbclient/include/fdbclient/SpecialKeySpace.actor.h +++ b/fdbclient/include/fdbclient/SpecialKeySpace.actor.h @@ -303,9 +303,9 @@ public: Future getRange(ReadYourWritesTransaction* ryw, KeyRangeRef kr, GetRangeLimits limitsHint) const override; - bool supportsTenants() const override { + bool supportsTenants() const override { CODE_PROBE(true, "Accessing conflicting keys in tenant"); - return true; + return true; }; }; @@ -315,9 +315,9 @@ public: Future getRange(ReadYourWritesTransaction* ryw, KeyRangeRef kr, GetRangeLimits limitsHint) const override; - bool supportsTenants() const override { + bool supportsTenants() const override { CODE_PROBE(true, "Accessing read conflict ranges in tenant"); - return true; + return true; }; }; @@ -327,9 +327,9 @@ public: Future getRange(ReadYourWritesTransaction* ryw, KeyRangeRef kr, GetRangeLimits limitsHint) const override; - bool supportsTenants() const override { + bool supportsTenants() const override { CODE_PROBE(true, "Accessing write conflict ranges in tenant"); - return true; + return true; }; };