Philip Stoev
52a910395a
refs codership/mysql-wsrep#202 Fix bad cherry-pick (and the compiler warnings it generated)
2015-10-19 04:14:51 -07:00
Philip Stoev
43b2a451fe
refs codership/mysql-wsrep#202 Added schema info into wsrep messages
...
Added schema info to wsrep messages above debug level.
2015-10-19 01:56:04 -07:00
Nirbhay Choubey
4d33f9dca0
Merge branch '5.5-galera' into 10.0-galera
2015-09-25 14:57:56 -04:00
Nirbhay Choubey
db2e21bf3e
MDEV-8208: Sporadic SEGFAULT on startup
...
Problem:
When mysqld starts as a galera node, it creates 2 system threads
(applier & rollbacker) using start_wsrep_THD(). These threads are
created before plugin initialization (plugin_init()) for SST methods
like rsync and xtrabackup.
The threads' initialization itself can proceed in parallel to mysqld's
main thread of execution. As a result, the thread initialization code
(start_wsrep_THD()) can end up accessing some un/partially initialized
structures (like maria_hton, in this particular case) resulting in
segfault.
Solution:
Fixed by calling THD::init_for_queries() (which accesses maria_hton)
only after the plugins have been initialized.
2015-09-16 23:20:57 -04:00
sjaakola
63c5bee535
Refs codership/mysql-wsrep#113 - Extended the protection of local FLUSH
...
sessions to cover all exclusive MDL locks
2015-09-09 21:31:16 -04:00
sjaakola
c66609017b
Refs codership/mysql-wsrep#113
...
Protecting non replicated FLUSH session from brute force aborts
2015-09-09 21:20:34 -04:00
Nirbhay Choubey
fa5f18d673
Merge branch '5.5-galera' into 10.0-galera
2015-09-09 20:51:39 -04:00
Alexey Yurchenko
4f4f3a5e32
Fixes codership/mysql-wsrep#118
2015-09-09 16:57:52 -04:00
Nirbhay Choubey
5cf737c07a
MDEV-8464 : ALTER VIEW not replicated in some cases
...
(Additional fix in 10.0-galera branch)
THD's lex->definer initially holds "*current_user" for
CURRENT_USER(). Use get_current_user() to get the real
current user.
2015-08-14 02:46:32 -04:00
Nirbhay Choubey
52f1543ef1
Fix for a memory leak.
2015-08-14 01:37:21 -04:00
Nirbhay Choubey
8a18bb9694
Merge branch '5.5-galera' into 10.0-galera
2015-08-14 01:17:57 -04:00
Nirbhay Choubey
af2f7ce3f9
MDEV-8464 : ALTER VIEW not replicated in some cases
...
In galera, like other DDLs, CREATE/ALTER VIEW commands are recreated
and replicated during parsing. The ALGORITHM clause is internally set
to VIEW_ALGORITHM_INHERIT if its not explicitly specified by the user.
But since its not a valid type to be used in a command, it leads to an
assertion failure. The solution is to not include the ALGORITHM clause
in the command if its not explicitly specified (or INHERIT).
2015-07-19 22:51:19 -04:00
Nirbhay Choubey
70714d3597
Merge branch '5.5-galera' into 10.0-galera
2015-06-23 16:46:12 -04:00
Nirbhay Choubey
fc716dc5a5
MDEV-8260 : Issues related to concurrent CTAS
...
* Wait for aborted thd (victim) to release MDL locks
* Skip aborting an already aborted thd
* Defer setting OK status in case of CTAS
* Minor cosmetic changes
* Added a test case
2015-06-19 19:25:15 -04:00
Teemu Ollakka
00afd63984
refs codership/mysql-wsrep#90 made wsrep_OSU_method session variable
2015-05-08 17:41:07 -04:00
Teemu Ollakka
2df5ff2691
refs codership/mysql-wsrep#90 - fixed race in OSU
...
Make sure that thd uses the same method to begin and end
OSU operation.
2015-05-08 17:41:07 -04:00
Alexey Yurchenko
4ed9ddd30e
Refs codership/mysql-wsrep#33
...
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.
2015-05-08 17:41:06 -04:00
sjaakola
13a9bcc6be
refs #11 #13 - skipping TOI, if all affected tables are temporary
2015-05-08 17:41:04 -04:00
Nirbhay Choubey
84a4db263a
Merge branch '5.5-galera' into 10.0-galera
2015-03-28 17:29:10 -04:00
Nirbhay Choubey
d7445ea6df
MDEV-7194: galera fails to replicate DDL queries when using binlog_checksum
...
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.
2015-03-27 20:35:37 -04:00
Nirbhay Choubey
542968cf0a
bzr merge -r4015..4026 codership/5.5
2014-10-09 18:28:14 -04:00
Nirbhay Choubey
9a57de86be
bzr merge -r4123..4144 codership/5.6
2014-09-30 18:06:15 -04:00
Nirbhay Choubey
c4356bfccb
MDEV-6447: Galera: Enable QC
...
* Added galera/query_cache test
* Merged patch for lp:1296403
2014-09-17 14:59:39 -04:00
Nirbhay Choubey
5589509353
MDEV-6447: addendum, moving QC code within HAVE_QUERY_CACHE.
2014-09-17 14:39:43 -04:00
Nirbhay Choubey
9a0566b09b
MDEV-6447: Galera: Enable QC
...
* Added galera/query_cache test
* Merged patch for lp:1296403
2014-09-17 14:12:00 -04:00
Nirbhay Choubey
4ffccff45d
MDEV-6717 : wsrep_data_home_dir should default to @@datadir
...
Used mysql_real_data_home as wsrep_data_home_dir's default.
Added a test case.
2014-09-09 13:43:01 -04:00
Nirbhay Choubey
e5267cae8a
MDEV-6717 : wsrep_data_home_dir should default to @@datadir
...
Used mysql_real_data_home as wsrep_data_home_dir's default.
Added a test case.
2014-09-09 13:41:22 -04:00
Nirbhay Choubey
47fcca0ffc
MDEV-6667 : Improved handling of wsrep-new-cluster option
...
Code refactoring. Using mysql option handling system to
handle 'wsrep-new-cluster' option.
2014-09-08 21:21:37 -04:00
Nirbhay Choubey
5add585539
Merged r4014 from codership/5.5
2014-08-12 18:23:53 -04:00
Nirbhay Choubey
8ec02bb836
bzr merge -c4123 codership/5.6/
...
(minus http://bazaar.launchpad.net/~codership/codership-mysql/5.6/revision/4122 )
2014-08-12 14:50:26 -04:00
Nirbhay Choubey
857abf1481
bzr merge -r4104..4120 codership/5.6/
2014-08-12 14:05:44 -04:00
Nirbhay Choubey
b09f1f9e65
bzr merge -r4011..4013 codership-mysql/5.5
2014-08-06 15:47:17 -04:00
Nirbhay Choubey
4788577c20
bzr merge -r3997..4010 codership-mysql/5.5
2014-08-06 15:45:53 -04:00
Nirbhay Choubey
dc377fcbc0
Merge of patch for MDEV-6411 from maria-5.5-galera.
2014-07-09 11:07:23 -04:00
Nirbhay Choubey
40bfd20180
MDEV#6411 - Setting set @@global_wsrep_sst_auth=NULL
...
causes crash
Fixed by properly handling the NULL values.
2014-07-09 11:04:28 -04:00
Jan Lindström
006cb2a6f9
Merge -r4102..4103 codership/5.6/
2014-07-04 11:41:09 +03:00
Nirbhay Choubey
97779a2ef0
bzr merge -r4091..4101 codership/5.6/
2014-06-19 18:48:20 -04:00
Nirbhay Choubey
c29cbac2eb
bzr merge -r3985..3997 codership/5.5
2014-06-10 17:00:32 -04:00
Nirbhay Choubey
0b98d2fd2a
bzr merge -r4065..4088 codership/5.6
2014-05-21 17:07:17 -04:00
Nirbhay Choubey
81a85ad8d7
bzr merge -r3985..3991 codership/5.5
2014-05-21 15:04:13 -04:00
Nirbhay Choubey
99df0fbad5
bzr merge -r3968..3984 codership/5.5 (non-Innodb changes only).
2014-05-21 14:32:57 -04:00
Jan Lindström
fa18dc3944
Merge lp:codership-mysql/5.5 -r3961..3980.
2014-04-16 13:08:29 +03:00
Nirbhay Choubey
9d911608f1
Fixes for some test failures.
2014-04-09 12:25:47 -04:00
Nirbhay Choubey
02ba2bfdb4
Merging revision from codership-mysql/5.5 (r3928..3968) and
...
codership-mysql/5.6 (r4021..4065).
- Also contains fixes for some build failures.
2014-03-27 16:26:00 -04:00
Nirbhay Choubey
c5f7486654
bzr merge -r4062..4065 codership/5.6
2014-03-26 14:13:12 -04:00
Nirbhay Choubey
899f9801d4
bzr merge -r3946..3968 codership/5.5
2014-03-25 17:01:05 -04:00
Nirbhay Choubey
3088d52c20
bzr merge -r3933..3945 codership/5.5 (Non-InnoDB changes only).
2014-03-25 14:42:15 -04:00
Nirbhay Choubey
3c0b3babd9
bzr merge -r3928..3932 codership/5.5
2014-03-25 13:39:12 -04:00
Nirbhay Choubey
c3a2394641
* Merged revisions 3945, 3946..3950, 3951..3961
...
from codership-mysql/5.5.
* Merged changes in innobase to xtradb.
* Updated WSREP_PATCH_REVNO.
2014-02-28 13:56:08 -05:00
Nirbhay Choubey
4cb029b38b
* Merged the missing revision 3934 from
...
codership-mysql/5.5 (missed in the last merge).
* Merged changes from Innodb to xtradb.
* Updated WSREP_PATCH_REVNO
2014-02-05 00:28:11 -05:00