- 22 Aug, 2016 2 commits
-
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
-
- 21 Aug, 2016 38 commits
-
-
Nirbhay Choubey authored
.. file '/var/log/mysql/mariadb-bin.000001' not found in binlog index, needed for recovery. Aborting. In Galera cluster, while preparing for rsync/xtrabackup based SST, the donor node takes an FTWRL followed by (REFRESH_ENGINE_LOG in rsync based state transfer and) REFRESH_BINARY_LOG. The latter rotates the binary log and logs Binlog_checkpoint_log_event corresponding to the penultimate binary log file into the new file. The checkpoint event for the current file is later logged synchronously by binlog_background_thread. Now, since in rsync/xtrabackup based snapshot state transfer methods, only the last binary log file is transferred to the joiner node; the file could get transferred even before the checkpoint event for the same file gets written to it. As a result, the joiner node would fail to start complaining about the missing binlog file needed for recovery. In order to fix this, a mechanism has been put in place to make REFRESH_BINARY_LOG operation wait for Binlog_checkpoint_log_event to be logged for the current binary log file if the node is part of a Galera cluster. As further safety, during rsync based state transfer the donor node now acquires and owns LOCK_log for the duration of file transfer during SST.
-
sjaakola authored
- fixes in innodb to skip wsrep processing (like kill victim) when running in native mysql mode - similar fixes in mysql server side - forcing tc_log_dummy in native mysql mode when no binlog used. wsrep hton messes up handler counter and used to lead in using tc_log_mmap instead. Bad news is that tc_log_mmap does not seem to work at all
-
Damien Ciabrini authored
Fix Galera crash at startup when compiled with gcc 6
-
Philip Stoev authored
-
Philip Stoev authored
-
Philip Stoev authored
-
Philip Stoev authored
Galera MTR Tests: increase timeouts and adjust some sporadically-failing tests so that the Galera suites can be run with --parallel=4
-
Philip Stoev authored
-
Daniele Sciascia authored
mysqld would crash with "double free or corrruption message" if wrong provider version was given.
-
Daniele Sciascia authored
-
Daniele Sciascia authored
-
Krunal Bauskar authored
Function "wsrep_row_upd_check_foreign_constraints" tried to mark fk-reference-table opened without ensuring it table is really opened.
-
Daniele Sciascia authored
If a conflict happens under wsrep_on, the THD's wsrep_conflict_state is typically set to MUST_ABORT and cleared later, when transaction is aborted. However, when wsrep_on is disabled, no check is performed to see whether wsrep_conflict_state is set. So this potentially creates spurious deadlock errors on the subsequent statement that runs with wsrep_on enabled. To avoid this problem wsrep_thd_set_conflict_state() sets the conflict state only if wsrep_on is enabled.
-
Philip Stoev authored
Galera MTR Tests: Run galera_pc_weight on freshly started servers in order to prevent interaction with other tests
-
sjaakola authored
- At startup time global wsrep_on is set too late and some wsrep paths may be executed because of this. e.g. replication slave restart could happen before wsrep_on state is defined. - This fix checks both global wsrep_on and wsrep_provider values to determine if wsrep processing should happen - Fix affects all instances where WSREP_ON macro is used
-
Philip Stoev authored
Galera MTR Tests: force galera_3nodes.galera_pc_bootstrap.test to run on a fresh cluster in order to avoid interaction with galera_3nodes.galera_innobackupex_backup.test
-
Philip Stoev authored
-
Philip Stoev authored
Galera MTR Tests: Fortify galera_restart_nochanges.test against sporadic failures due to node not being ready immediately after restart
-
Daniele Sciascia authored
-
Philip Stoev authored
-
Philip Stoev authored
-
Nirbhay Choubey authored
-
Philip Stoev authored
-
Philip Stoev authored
-
Teemu Ollakka authored
-
Nirbhay Choubey authored
-
Philip Stoev authored
Galera MTR Tests: Add test for GAL-382, codership/galera#382 - InnoDB: Failing assertion: xid_seqno > trx_sys_cur_xid_seqno in trx0sys.cc line 356
-
Philip Stoev authored
-
Philip Stoev authored
-
Alexey Yurchenko authored
MW-259 - moved wsrep desync/resync calls from wsrep_desync_update() to wsrep_desync_check() method which does not hold the lock and is arguably a more fitting place to change provider state - before changing the actual variable value.
-
Nirbhay Choubey authored
-
Alexey Yurchenko authored
MW-258 - RSU DDL should not rely on the global wsrep_desync variable value and should always try to desync on its own.
-
Philip Stoev authored
-
Nirbhay Choubey authored
-
sjaakola authored
- popping PS reprepare observer before BF aborted PS replaying begins dangling observer will cause failure in open_table() ater on - test case for this anomaly
-
sjaakola authored
- changed the condition when to do implicit desync as part of FTWRL to cover only case when node is PC and synced. Donor node has alreaydy desycned and other states mean that node is not in cluster, so desync is not even possible.
-
Philip Stoev authored
-
Nirbhay Choubey authored
-