mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
allowing application to set transaction as PA unsafe
Resetting pa_unsafe flag after fragment certification. If the flag is not reset, it would remain in effect until the end of the transaction. However, the PA safety should be inspected only during fragment applying time.
This commit is contained in:
@ -1618,6 +1618,7 @@ int wsrep::transaction::certify_fragment(
|
||||
assert(state_ == s_certifying);
|
||||
state(lock, s_executing);
|
||||
flags(flags() & ~wsrep::provider::flag::start_transaction);
|
||||
flags(flags() & ~wsrep::provider::flag::pa_unsafe);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user