1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

feat(MCOL-6082) Cluster with read-only nodes should correctly work with DML

This patch changes logic from counting all nodes to counting only
read-write nodes when messaging about DML operations.
This commit is contained in:
Serguey Zefirov
2025-06-30 14:27:26 +03:00
parent 37a626eed5
commit 2753743762
3 changed files with 40 additions and 1 deletions

View File

@@ -350,7 +350,7 @@ int DMLPackageProcessor::rollBackTransaction(uint64_t uniqueId, BRM::TxnID txnID
while (1)
{
if (msgRecived == fWEClient->getPmCount())
if (msgRecived == fWEClient->getRWConnectionsCount())
break;
fWEClient->read(uniqueId, bsIn);