Fix formatting and unrelated windows build issue
This commit is contained in:
parent
d8141c049d
commit
b15622c492
|
@ -213,7 +213,7 @@ public:
|
|||
void update(Transaction tr, AddConflictRange conflict = AddConflictRange::False) {
|
||||
std::array<uint8_t, 14> 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));
|
||||
}
|
||||
|
|
|
@ -303,9 +303,9 @@ public:
|
|||
Future<RangeResult> 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<RangeResult> 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<RangeResult> 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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue