example of how types can be propagated when already in sequential mode

tmp/propagate-type-sequential
Nils Dijk 2022-01-27 11:56:16 +01:00
parent 9bc0fd9479
commit 9bb603b4a7
No known key found for this signature in database
GPG Key ID: CA1177EF9434F241
1 changed files with 5 additions and 1 deletions

View File

@ -1191,7 +1191,11 @@ ShouldPropagateTypeCreate()
*/
if (IsMultiStatementTransaction())
{
return false;
if (MultiShardConnectionType != SEQUENTIAL_CONNECTION)
{
/* only block propagation when we are _not_ running in sequential mode */
return false;
}
}
return true;