mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Pass certification keys also for NBO end.
Certification keys are needed for NBO end to resolve dependencies for the write sets which follow NBO end. Without keys the following write sets do not detect dependency to NBO event and may start applying too early.
This commit is contained in:
@ -27,6 +27,10 @@
|
||||
|
||||
namespace wsrep
|
||||
{
|
||||
/** @class key
|
||||
*
|
||||
* Certification key type.
|
||||
*/
|
||||
class key
|
||||
{
|
||||
public:
|
||||
@ -44,6 +48,14 @@ namespace wsrep
|
||||
, key_parts_len_()
|
||||
{ }
|
||||
|
||||
/**
|
||||
* Append key part to key.
|
||||
*
|
||||
* @param ptr Pointer to key part data. The caller is supposed to take
|
||||
* care that the pointer remains valid over the lifetime
|
||||
* if the key object.
|
||||
* @param len Length of the key part data.
|
||||
*/
|
||||
void append_key_part(const void* ptr, size_t len)
|
||||
{
|
||||
if (key_parts_len_ == 3)
|
||||
|
Reference in New Issue
Block a user