Nirbhay Choubey
90f222ea7d
MDEV-10235: Deadlock in CREATE TABLE .. AS SELECT .. if result set is empty in Galera
...
In CTAS, handlers get registered under statement transaction
(st_transactions::stmt), while ha_fake_trx_id(), used by CTAS,
looked under standard transaction (st_transactions::all) for
registered handlers, and thus it failed to grab a fake transaction
ID. As a result, with no valid transaction ID, wsrep commit failed
with an error.
ha_fake_trx_id() now looks for handlers registered under 'stmt'
in case 'all' is empty. Also modified the logic to print warning
only once if none of the registered handlers have fake_trx_id.
2016-06-27 18:21:00 -04:00
Nirbhay Choubey
ad3584bf72
Test cleanup: Remove unnecessary global suppressions
2016-06-27 18:17:03 -04:00
Nirbhay Choubey
48a0a66ffa
MDEV-10186: mysqld crash when runtime setting wsrep_cluster_address without wsrep_on=ON
...
On wsrep_cluster_address update, node restarts the replication
and attempts to connect to the new address. In this process it
makes a call to wsrep provider's connect API, which could lead
to segfault if wsrep provider is not loaded (wsrep_on=OFF).
Fixed by making sure that it proceeds only if a provider is
loaded.
2016-06-27 18:15:47 -04:00
Nirbhay Choubey
bca5894d51
Adjust warning suppression over a recent change in galera library.
2015-09-27 19:20:43 -04:00
Sergei Golubchik
a5b0a32ac3
Merge branch '10.0-galera' into 10.1
2015-09-03 16:32:00 +02:00
Nirbhay Choubey
f533b2b462
Merge branch '5.5-galera' into 10.0-galera
2015-08-25 11:15:45 -04:00
Nirbhay Choubey
98bebad672
Fix for a typo.
2015-08-18 17:03:28 -04:00
Nirbhay Choubey
c6a0cbdac6
Merge branch '5.5-galera' into 10.0-galera
2015-08-14 14:59:43 -04:00
Nirbhay Choubey
fe757e006c
Fix for some failing tests.
2015-08-14 13:45:52 -04:00
Nirbhay Choubey
dced5146bd
Merge branch '10.0-galera' into 10.1
2015-07-14 16:05:29 -04:00
Nirbhay Choubey
c8ad5b2f12
MDEV-8151 : wsrep.foreign_key, wsrep.pool_of_threads,
...
.. wsrep.binlog_format, wsrep.mdev_6832 fail in buildbot
Galera-3.9 logs an additional warning in the error log if
it fails to find gvwstate.dat file. Update wsrep/suite.pm.
2015-05-12 17:15:16 -04:00
Nirbhay Choubey
c6c9a69cce
Fix for some more test failures.
2015-05-12 16:56:06 -04:00
Nirbhay Choubey
3331d4e07e
Merge galera tests from github.com/codership/mysql-wsrep
2015-05-08 17:43:57 -04:00
Nirbhay Choubey
84a4db263a
Merge branch '5.5-galera' into 10.0-galera
2015-03-28 17:29:10 -04:00
Nirbhay Choubey
6a204546ef
MDEV-7798: mysql.server init script can't stop mysqld when WSREP is turned off
...
wsrep threads should be always be checked for existence & stopped on
server shutdown.
2015-03-24 16:41:04 -04:00
Nirbhay Choubey
100249be6a
Merge branch '5.5-galera' into 10.0-galera
...
Conflicts:
storage/innobase/dict/dict0dict.c
storage/xtradb/dict/dict0dict.c
2015-03-10 09:23:03 -04:00
Nirbhay Choubey
07ff90e99b
Reduce gcache size to cut down disk usage
2015-03-09 22:55:54 -04:00
Nirbhay Choubey
4c191de323
MDEV-7560: wsrep* tests depend on the version of galera library
...
Added an include file to check galera library version.
2015-02-27 22:16:37 -05:00
Nirbhay Choubey
aa2904a7f4
MDEV-7560: wsrep* tests depend on the version of galera library
...
Added an include file to check galera library version.
2015-02-27 22:13:37 -05:00
Nirbhay Choubey
16c446235e
Changes in wsrep_guess_ip()
...
* Changed loopback detection to be done via ifa->ifa_flags
* Removed unused function wsrep_guess_address()
2015-02-27 19:16:27 -05:00
Nirbhay Choubey
8ee5668033
Changes in wsrep_guess_ip()
...
* Changed loopback detection to be done via ifa->ifa_flags
* Removed unused function wsrep_guess_address()
2015-02-27 17:43:10 -05:00
Nirbhay Choubey
4fb2f66907
Changes in wsrep_guess_ip()
...
* Changed loopback detection to be done via ifa->ifa_flags
* Removed unused function wsrep_guess_address()
2015-02-24 21:55:22 -05:00
Nirbhay Choubey
fcc6e12d69
MDEV-7544: Update global_suppressions to include warning related to "gvwstate.dat"
2015-02-18 19:02:00 -05:00
Nirbhay Choubey
a518cc4470
MDEV-7544: Update global_suppressions to include warning related to "gvwstate.dat"
2015-02-18 18:59:01 -05:00
Jan Lindström
36c1982a19
MDEV-7604: wsrep plugin lists its plugin_maturity as Unknown
...
Changed wsrep plugin from mysql_plugin to maria_plugin to
set up plugin_maturity to Stable.
2015-02-18 15:23:37 +02:00
Sergei Golubchik
8e7649867f
Merge 10.0-galera into 10.1
2015-02-06 16:14:23 +01:00
Nirbhay Choubey
950d69610a
MDEV-7322: Option to allow setting the binlog_format with Galera
...
At session scope, allow binlog_format to be changed to
values other than ROW with a warning.
2015-01-27 16:25:18 -05:00
Nirbhay Choubey
5b6f637caa
MDEV-7322: Option to allow setting the binlog_format with Galera
...
At session scope, allow binlog_format to be changed to
values other than ROW with a warning.
2015-01-27 14:17:40 -05:00
Nirbhay Choubey
ea229eb6bb
Minor test modifications.
2015-01-26 22:48:02 -05:00
Nirbhay Choubey
248c662cd7
Minor test modifications.
2015-01-26 22:43:46 -05:00
Nirbhay Choubey
53b9f755af
MDEV-7374 : Losing connection to MySQL while running ALTER TABLE
...
Backport from 10.1.
2015-01-24 18:46:48 -05:00
Nirbhay Choubey
fffc9f585d
MDEV-7374 : Losing connection to MySQL while running ALTER TABLE
...
Backport from 10.1.
2015-01-24 18:39:21 -05:00
Nirbhay Choubey
0105bf349a
MDEV-7476: Allow SELECT to succeed even when node is not ready
...
Added a SESSION-only system variable "wsrep_dirty_reads" to allow SELECT
queries to pass even when the node is not prepared to accept queries
(wsrep_ready=OFF). Added a test case.
2015-01-22 18:00:37 -05:00
Nirbhay Choubey
887628acee
Test changes (backported from 10.1).
2015-01-16 13:53:23 -05:00
Nirbhay Choubey
bb93d46241
Test changes (backported from 10.1).
2015-01-16 13:52:30 -05:00
Nirbhay Choubey
aee3ac4877
MDEV-7222: Cluster Node Crash at CREATE DEFINER statement
...
Check whether the definer host string is not null before
appending it to the specified buffer.
2015-01-02 10:02:04 -05:00
Nirbhay Choubey
61f73d40ca
MDEV-7397: SIGSEGV on inserting into a key-less table
...
When wsrep is enabled, an md5 hash of the entire row is calculated
for tables with no PK. It, however segfaulted as the md5 context
object was not properly constructed.
Fixed by ensuring that the YaSSL's context object gets constructed
explicitly at the specified pre-allocated location (placement)
before its used.
Added a test case.
2014-12-31 19:52:35 -05:00
Nirbhay Choubey
25aaa652c4
MDEV-6832: ER_LOCK_WAIT_TIMEOUT on SHOW STATUS
...
Synchronous read view should not be needed for
SHOW commands.
2014-12-31 19:46:48 -05:00
Nirbhay Choubey
952b575272
MDEV-6832: ER_LOCK_WAIT_TIMEOUT on SHOW STATUS
...
Synchronous read view should not be needed for
SHOW commands.
2014-12-31 19:28:20 -05:00
Nirbhay Choubey
3bb02f3e6d
bzr merge -rtag:mariadb-10.0.15 maria/10.0
2014-12-05 12:33:02 -05:00
Nirbhay Choubey
369c02674c
MDEV-7053: WSREP_STATUS & WSREP_MEMBERSHIP I_S tables
...
wsrep_info INFORMATION_SCHEMA plugin to provide WSREP_STATUS
and WSREP_MEMBERSHIP tables.
2014-11-22 14:33:51 -05:00
Nirbhay Choubey
6f65d2d114
MDEV-6924 : Server crashed on CREATE TABLE ... SELECT
...
Do not allow server to start if binlog_format is set
to a format other than ROW. Also restrict the change
of GLOBAL/SESSION binlog_format value at runtime.
2014-11-17 11:56:03 -05:00
Nirbhay Choubey
c68e73b53f
MDEV-6924 : Server crashed on CREATE TABLE ... SELECT
...
Do not allow server to start if binlog_format is set
to a format other than ROW. Also restrict the change
of GLOBAL/SESSION binlog_format value at runtime.
2014-11-17 09:55:53 -05:00
Sergei Golubchik
03ec3511a8
cleanup: galera misc cleanups
...
also disable galera-specific output in mysql_tzinfo_to_sql,
it'll be enabled later.
2014-10-10 22:27:36 +02:00
Nirbhay Choubey
c768af75b7
Minor modifications
...
- Simplified test cases in wsrep.variables
- Fixed a condition in wsrep_check_opts.cc
- Fixed an "unbound variable" in wsrep_sst_rsync
2014-10-04 13:53:33 -04:00
Sergei Golubchik
93b50e64a0
cleanup: remove galera/wsrep magic from mtr
2014-10-01 23:38:27 +02:00
Jan Lindström
d0a5f33ccd
Remove incorrect test file.
2014-09-11 07:10:37 +03:00
Nirbhay Choubey
76d15afb33
Minor improvements in mtr and wsrep test files.
2014-09-09 19:19:12 -04:00
Nirbhay Choubey
be055b3835
Minor improvements in mtr and wsrep test files.
2014-09-09 19:05:25 -04:00
Jan Lindström
e44751b65f
Merge revision 3882 from lp:maria/maria-10.0-galera
...
MDEV-6656: Test wsrep.variables hangs
Analysis: wsrep_applier_thread shutdown signaling does not always work
correctly causing a timing problem where main thread is waiting in a
condition variable a signal that all worker threads to end.
2014-08-29 10:11:08 +03:00