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

More strict check for read-only

Only local transactions can be RO
This commit is contained in:
Teemu Ollakka
2023-04-04 10:27:21 +03:00
parent 12c8069f09
commit 0f68da366e
2 changed files with 6 additions and 5 deletions

View File

@ -238,7 +238,7 @@ namespace wsrep
wsrep::provider& provider();
void flags(int flags) { flags_ = flags; }
bool is_read_only() const;
bool is_local_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>&);