mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34998: master can stop responding after cluster vote to evict a node
After cluster vote to evict a node that failed a transaction, current master can't commit anymore. Error voting for joiner in the JOINED state was broken because the group-wide commit cut (implicit SUCCESS vote) was not taken into account when processing error vote request from the JOINED node. This commit adds 3 MTR tests to verify the fix in the galera library works as designed. Requires Galera library commit 91f0090a05e96c3cc353b80d961ede45cefb9279 (galera library version > 26.4.19). Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
This commit is contained in:
committed by
Julius Goryavsky
parent
cb7e39b75b
commit
ec5068fe59
@@ -915,6 +915,13 @@ EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
# Delay for MTR tests if needed to simulate long SST
|
||||
if [ ${MTR_SST_JOINER_DELAY:=0} -gt 0 ]
|
||||
then
|
||||
wsrep_log_info "Sleeping $MTR_SST_JOINER_DELAY seconds for MTR test"
|
||||
sleep $MTR_SST_JOINER_DELAY
|
||||
fi
|
||||
|
||||
# Remove special tags from the magic file, and from the output:
|
||||
coords=$(head -n1 "$MAGIC_FILE")
|
||||
wsrep_log_info "Galera co-ords from recovery: $coords"
|
||||
|
Reference in New Issue
Block a user