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

Add provider position field to ws_meta and view

Provider position is needed in coordinated recovery
between application and provider. Pass the position
info from provider to application to allow making
it durable.
This commit is contained in:
Teemu Ollakka
2022-03-22 17:43:52 +02:00
parent 51e162d6f4
commit 7498ed424a
13 changed files with 123 additions and 86 deletions

View File

@ -241,7 +241,7 @@ namespace
sizeof(trx_meta_.stid.node.data)),
wsrep::transaction_id(trx_meta_.stid.trx),
wsrep::client_id(trx_meta_.stid.conn)),
seqno_from_native(trx_meta_.depends_on), flags_);
seqno_from_native(trx_meta_.depends_on), flags_, 0);
}
wsrep_trx_meta* native() { return &trx_meta_; }
@ -346,7 +346,7 @@ namespace
map_capabilities_from_native(view_info.capabilities),
own_idx,
view_info.proto_ver,
members);
members, 0);
}
/////////////////////////////////////////////////////////////////////
@ -500,7 +500,7 @@ namespace
wsrep::transaction_id(meta->stid.trx),
wsrep::client_id(meta->stid.conn)),
wsrep::seqno(seqno_from_native(meta->depends_on)),
map_flags_from_native(flags));
map_flags_from_native(flags), 0);
try
{
if (high_priority_service->apply(ws_handle, ws_meta, data))