mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Track commit states for read-only transactions
Read-only transactions which don't produce any changes were not tracker properly. Added tracking for read-only transaction commit states. One phase commit is assumed.
This commit is contained in:
@ -238,6 +238,8 @@ namespace wsrep
|
||||
|
||||
wsrep::provider& provider();
|
||||
void flags(int flags) { flags_ = flags; }
|
||||
bool is_read_only() const;
|
||||
int before_commit_local_read_only(wsrep::unique_lock<wsrep::mutex>&);
|
||||
int before_commit_local(wsrep::unique_lock<wsrep::mutex>&);
|
||||
int before_commit_high_priority(wsrep::unique_lock<wsrep::mutex>&);
|
||||
// Return true if the transaction must abort, is aborting,
|
||||
|
Reference in New Issue
Block a user