mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
codership/wsrep-lib#104 Error voting support
- populate and pass real error description buffer to provider in case of applying error - return 0 from server_state::on_apply() if error voting confirmed consistency - remove fragments and rollback after fragment applying failure - always release streaming applier on commit or rollback
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Codership Oy <info@codership.com>
|
||||
* Copyright (C) 2018-2019 Codership Oy <info@codership.com>
|
||||
*
|
||||
* This file is part of wsrep-lib.
|
||||
*
|
||||
@ -102,7 +102,7 @@ namespace wsrep
|
||||
{
|
||||
mock_high_priority_service* mhps(
|
||||
static_cast<mock_high_priority_service*>(high_priority_service));
|
||||
wsrep::mock_client* cs(static_cast<wsrep::mock_client*>(
|
||||
wsrep::mock_client* cs(&static_cast<wsrep::mock_client&>(
|
||||
mhps->client_state()));
|
||||
cs->after_command_before_result();
|
||||
cs->after_command_after_result();
|
||||
|
Reference in New Issue
Block a user