1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

* Don't set ordering meta data for replaying transaction

* Renamed transaction prepare_for_fragment_ordering() to
  prepare_for_ordering()
This commit is contained in:
Teemu Ollakka
2018-07-09 13:23:16 +03:00
parent 6aa6b6f50a
commit 958a916b25
3 changed files with 11 additions and 9 deletions

View File

@ -155,17 +155,19 @@ int wsrep::transaction::start_transaction(
return 0;
}
int wsrep::transaction::prepare_for_fragment_ordering(
int wsrep::transaction::prepare_for_ordering(
const wsrep::ws_handle& ws_handle,
const wsrep::ws_meta& ws_meta,
bool is_commit)
{
assert(active());
ws_handle_ = ws_handle;
ws_meta_ = ws_meta;
certified_ = is_commit;
if (state_ != s_replaying)
{
ws_handle_ = ws_handle;
ws_meta_ = ws_meta;
certified_ = is_commit;
}
return 0;
}