mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-03 16:22:35 +03:00
Fix fragment removal on rollback
Do not cause apply error if fragment removal fails on rollback. Instead, leave stale entries in storage, and move on.
This commit is contained in:
@ -249,9 +249,9 @@ static int rollback_fragment(wsrep::server_state& server_state,
|
||||
{
|
||||
if (remove_fragments)
|
||||
{
|
||||
ret = high_priority_service.remove_fragments(ws_meta);
|
||||
ret = ret || high_priority_service.commit(ws_handle, ws_meta);
|
||||
ret = ret || (high_priority_service.after_apply(), 0);
|
||||
high_priority_service.remove_fragments(ws_meta);
|
||||
high_priority_service.commit(ws_handle, ws_meta);
|
||||
high_priority_service.after_apply();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user