Skip to content

Commit 2c791d1

Browse files
committed
This should fix update conflicts on replica side when transaction on master was rolled back and concurrent transaction run update and commits while first transaction undoes own changes via savepoints.
See also #8541 : Deadlock update conflict on replica server?
1 parent 4e629e3 commit 2c791d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jrd/replication/Publisher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ namespace
226226
{
227227
const auto savepoint = *iter;
228228

229-
if (savepoint->isReplicated() || savepoint->isRoot())
229+
if (savepoint->isReplicated())
230230
break;
231231

232232
transaction->tra_replicator->startSavepoint(&status);

0 commit comments

Comments
 (0)