Old bug fix, transaction reset() not being called in a retry loop.

This commit is contained in:
Stephen Atherton 2017-12-02 07:02:26 -08:00
parent eadf93826d
commit 20a8aae241
1 changed files with 1 additions and 0 deletions

View File

@ -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);