We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent0252391 commit0ce22e9Copy full SHA for 0ce22e9
multimaster.c
@@ -3896,7 +3896,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
3896
caseT_IndexStmt:
3897
{
3898
IndexStmt*indexStmt= (IndexStmt*)parsetree;
3899
-if (indexStmt->concurrent&& !IsTransactionBlock())
+if (indexStmt->concurrent&& !IsTransactionBlock()&& !MtmTx.isReplicated)
3900
3901
skipCommand= true;
3902
MtmProcessDDLCommand(queryString, false);
@@ -3908,7 +3908,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
3908
caseT_DropStmt:
3909
3910
DropStmt*stmt= (DropStmt*)parsetree;
3911
-if (stmt->removeType==OBJECT_INDEX&&stmt->concurrent&& !IsTransactionBlock())
+if (stmt->removeType==OBJECT_INDEX&&stmt->concurrent&& !IsTransactionBlock()&& !MtmTx.isReplicated)
3912
3913
3914