Old bug fix, transaction reset() not being called in a retry loop.
This commit is contained in:
parent
eadf93826d
commit
20a8aae241
|
@ -256,6 +256,7 @@ namespace dbBackup {
|
|||
state Reference<ReadYourWritesTransaction> tr = Reference<ReadYourWritesTransaction>( new ReadYourWritesTransaction(cx) );
|
||||
loop{
|
||||
try {
|
||||
tr->reset();
|
||||
tr->setOption(FDBTransactionOptions::ACCESS_SYSTEM_KEYS);
|
||||
tr->setOption(FDBTransactionOptions::LOCK_AWARE);
|
||||
state Key prefix = task->params[BackupAgentBase::keyConfigLogUid].withPrefix(applyMutationsKeyVersionMapRange.begin);
|
||||
|
|
Loading…
Reference in New Issue