mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
TOI replicating and applying codepaths
This commit is contained in:
@ -344,7 +344,20 @@ namespace wsrep
|
||||
return (flags & wsrep::provider::flag::rollback);
|
||||
}
|
||||
|
||||
static inline bool is_toi(int flags)
|
||||
{
|
||||
return (flags & wsrep::provider::flag::isolation);
|
||||
}
|
||||
|
||||
static inline bool is_commutative(int flags)
|
||||
{
|
||||
return (flags & wsrep::provider::flag::commutative);
|
||||
}
|
||||
|
||||
static inline bool is_native(int flags)
|
||||
{
|
||||
return (flags & wsrep::provider::flag::native);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // WSREP_PROVIDER_HPP
|
||||
|
Reference in New Issue
Block a user