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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user