1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-26971: Support for progress reporting from SST scripts.

New feedback events:
 - "total N": signals new SST stage and reports estimated total work
 - "complete N": reports completed work in the current stage

Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
This commit is contained in:
Alexey Yurchenko
2021-12-16 13:46:37 +02:00
committed by Sergei Golubchik
parent 9d7e596ba6
commit 98355a0789
3 changed files with 129 additions and 24 deletions

View File

@@ -102,7 +102,7 @@ node_status::set(enum wsrep::server_state::state new_status,
{
wsrep_notify_status(new_status, view);
status= new_status;
Wsrep_status::report_state(status, 0);
Wsrep_status::report_state(status);
}
}