| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
After applying/replaying the transaction, the memory that
stored the query string was also wrongly freed.
|
|
|
|
|
|
|
|
|
|
| |
... causes MariaDB to crash
On error, the wsrep replication buffer (binlog) is dumped to a file
to aid investigations. In order to also include the binlog header,
FDLE object is also needed. This object is only available for wsrep-
threads.
Fix: Instantiate an FDLE object for non-wsrep threads.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changes variable wsrep_max_ws_size so that its value
is linked to the value of provider option repl.max_ws_size.
That is, changing the value of variable wsrep_max_ws_size
will change the value of provider option repl.max_ws_size,
and viceversa.
The writeset size limit is always enforced in the provider,
regardless of which option is used.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
- Erronously removed call to wsrep_xid_init() in previous commit.
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Removes useless call to wsrep_xid_init() in wsrep_apply_events().
Transaction's xid is already initialized at that point.
- Adds call to wsrep_set_SE_checkpoint() for committing TOI events
in the applier side.
- Includes test case that reproduced the issue.
|
| |
| |
| |
| |
| | |
Set thd's state to 'committed' only after it has done closing tables
(called indirectly by relay_group_info::cleanup_context()).
|
| |
| |
| |
| |
| |
| |
| | |
1. factored XID-related functions to a separate wsrep_xid.cc unit.
2. refactored them to take refrences instead of pointers where appropriate
3. implemented wsrep_get/set_SE_position to take wsrep_uuid_t and wsrep_seqno_t instead of XID
4. call wsrep_set_SE_position() in wsrep_sst_received() to reinitialize SE checkpoint after SST was received, avoid assert() in setting code by first checking current position.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Restore fix for MDEV-4328 (revno: 3391) that got accidentally
overwritten while merging :
http://bazaar.launchpad.net/~codership/codership-mysql/5.5-23/revision/3900
Added a test case.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
|
| |
| |
| |
| |
| | |
OPTION_SKIP_REPLICATION flag needs to be preserved for events received
on non-originating nodes.
|
| |
| |
| |
| |
| |
| | |
Annotate_rows event needs to be preserved until the last Rows event has
been applied because after it has been applied thd->query points to the
query stored inside this event.
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Fixed Debian/Ubuntu dist files.
* Fixed some compiler warnings.
|
| |
|
|
|