1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +03:00

Eliminated duplicate fragment removal code

Extracted duplicate fragment removal code in after_commit()
and after_rollback() into separate method.
This commit is contained in:
Teemu Ollakka
2023-03-02 08:39:37 +02:00
parent 241898af7e
commit 9a35083730
2 changed files with 24 additions and 27 deletions

View File

@ -249,6 +249,8 @@ namespace wsrep
int certify_commit(wsrep::unique_lock<wsrep::mutex>&);
int append_sr_keys_for_commit();
int release_commit_order(wsrep::unique_lock<wsrep::mutex>&);
void remove_fragments_in_storage_service_scope(
wsrep::unique_lock<wsrep::mutex>&);
void streaming_rollback(wsrep::unique_lock<wsrep::mutex>&);
int replay(wsrep::unique_lock<wsrep::mutex>&);
void xa_replay_common(wsrep::unique_lock<wsrep::mutex>&);