We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3326678 commit 7b06c79Copy full SHA for 7b06c79
src/backend/replication/logical/origin.c
@@ -1095,7 +1095,13 @@ replorigin_session_setup(RepOriginId node)
1095
if (curstate->roident != node)
1096
continue;
1097
1098
- else if (curstate->acquired_by != 0)
+ /*
1099
+ * MTM-CRUTCH.
1100
+ *
1101
+ * Allow multiple backends (mm parallel workers) to setup same
1102
+ * replication session.
1103
+ */
1104
+ else if (curstate->acquired_by != 0 && DetectGlobalDeadLock == NULL)
1105
{
1106
ereport(ERROR,
1107
(errcode(ERRCODE_OBJECT_IN_USE),
0 commit comments