1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-31 18:24:25 +03:00
This commit is contained in:
Teemu Ollakka
2019-10-04 11:33:54 +03:00
parent 29835fbec0
commit f11d98a9c7
3 changed files with 13 additions and 18 deletions

View File

@ -95,6 +95,13 @@
#include <string>
#include <map>
/**
* Magic string to tell provider to engage into trivial (empty)
* state transfer. No data will be passed, but the node shall be
* considered joined.
*/
#define WSREP_LIB_SST_TRIVIAL "trivial"
namespace wsrep
{
// Forward declarations
@ -179,14 +186,6 @@ namespace wsrep
rm_sync
};
/**
* Magic string to tell provider to engage into trivial (empty)
* state transfer. No data will be passed, but the node shall be
* considered joined.
*/
static WSREP_CONSTEXPR_OR_INLINE
const char* sst_trivial() { return "trivial"; };
virtual ~server_state();
wsrep::encryption_service* encryption_service()