MCPcopy Create free account
hub / github.com/apple/foundationdb / reset

Method reset

fdbclient/ReadYourWrites.actor.cpp:1985–1990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1983}
1984
1985void ReadYourWritesTransactionOptions::reset(Transaction const& tr) {
1986 memset(this, 0, sizeof(*this));
1987 timeoutInSeconds = 0.0;
1988 maxRetries = -1;
1989 snapshotRywEnabled = tr.getDatabase()->snapshotRywEnabled;
1990}
1991
1992bool ReadYourWritesTransactionOptions::getAndResetWriteConflictDisabled() {
1993 bool disabled = nextWriteDisableConflictRange;

Callers 2

Future<Void> commitFunction · 0.45
resetRyowMethod · 0.45

Calls 9

nowFunction · 0.85
copyFunction · 0.85
getDatabaseMethod · 0.65
cancelMethod · 0.65
clearMethod · 0.65
getVersionstampMethod · 0.65
fullResetMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected