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

codership/wsrep-lib#100 Support for assign_read_view() wsrep API call

Marshall the call from the `client_state` interface down to provider.
This commit is contained in:
Alexey Yurchenko
2019-04-30 21:31:30 +03:00
parent e9dafb7373
commit 4285ff99ea
9 changed files with 67 additions and 3 deletions

View File

@ -75,7 +75,7 @@ std::string wsrep::provider::capability::str(int caps)
WSREP_PRINT_CAPABILITY(annotation, "ANNOTATION");
WSREP_PRINT_CAPABILITY(preordered, "PREORDERED");
WSREP_PRINT_CAPABILITY(streaming, "STREAMING");
WSREP_PRINT_CAPABILITY(snapshot, "SNAPSHOT");
WSREP_PRINT_CAPABILITY(snapshot, "READ_VIEW");
WSREP_PRINT_CAPABILITY(nbo, "NBO");
#undef WSREP_PRINT_CAPABILITY
@ -107,7 +107,7 @@ std::string wsrep::flags_to_string(int flags)
if (flags & provider::flag::prepare)
oss << "prepare | ";
if (flags & provider::flag::snapshot)
oss << "snapshot | ";
oss << "read_view | ";
if (flags & provider::flag::implicit_deps)
oss << "implicit_deps | ";