mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-21117 post-push to cover a "custom" xid format
Due to wsrep uses its own xid format for its recovery, the xid hashing has to be refined. When a xid object is not in the server "mysql" format, the hash record made to contain the xid also in the full format.
This commit is contained in:
@ -956,10 +956,12 @@ struct xid_recovery_member
|
||||
uint in_engine_prepare; // number of engines that have xid prepared
|
||||
bool decided_to_commit;
|
||||
Binlog_offset binlog_coord; // semisync recovery binlog offset
|
||||
XID *full_xid; // needed by wsrep or past it recovery
|
||||
|
||||
xid_recovery_member(my_xid xid_arg, uint prepare_arg, bool decided_arg)
|
||||
xid_recovery_member(my_xid xid_arg, uint prepare_arg, bool decided_arg,
|
||||
XID *full_xid_arg)
|
||||
: xid(xid_arg), in_engine_prepare(prepare_arg),
|
||||
decided_to_commit(decided_arg) {};
|
||||
decided_to_commit(decided_arg), full_xid(full_xid_arg) {};
|
||||
};
|
||||
|
||||
/* for recover() handlerton call */
|
||||
|
Reference in New Issue
Block a user