summaryrefslogtreecommitdiff
path: root/sql/wsrep_var.cc
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-8791 - AIX: Unresolved Symbols during linkingSergey Vojtovich2016-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Clean-up nolock.h: it doesn't serve any purpose anymore. Appropriate code moved to x86-gcc.h and my_atomic.h. If gcc sync bultins were detected, we want to make use of them independently of __GNUC__ definition. E.g. XLC simulates those, but doesn't define __GNUC__. HS/Spider: According to AIX manual alloca() returns char*, which cannot be casted to any type with static_cast. Use explicit cast instead. MDL: Removed namemangling pragma, which didn't let MariaDB build with XLC. WSREP: _int64 seem to be conflicting name with XLC, replaced with _integer64. CONNECT: RTLD_NOLOAD is GNU extention. Removed rather meaningless check if library is loaded. Multiple dlopen()'s of the same library are permitted, and it never gets closed anyway. Except for error, which was a bug: it may close library, which can still be referenced by other subsystems. InnoDB: __ppc_get_timebase() is GNU extention. Only use it when __GLIBC__ is defined. Based on contribution by flynn1973.
* Merge branch '10.1' into 10.2Sergei Golubchik2016-09-091-20/+79
|\
| * Post merge fixes.Nirbhay Choubey2016-08-251-5/+21
| |
| * Merge branch '10.0-galera' into bb-10.1-sergNirbhay Choubey2016-08-251-15/+58
| |\
| | * MW-175 Fix definitively lost memory in wsrep_get_paramsDaniele Sciascia2016-08-211-0/+1
| | |
| | * MW-259 - moved wsrep desync/resync calls from wsrep_desync_update() to ↵Alexey Yurchenko2016-08-211-6/+7
| | | | | | | | | | | | 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.
| | * MW-267 Enforce wsrep_max_ws_size limit in wsrep providerDaniele Sciascia2016-07-251-3/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * refs codership/galera#308Daniele Sciascia2016-02-221-4/+1
| | | | | | | | | | | | - Avoid calling wsrep->stats_free() directly, instead, use wsrep_free_status().
| | * refs codership/galera#308Daniele Sciascia2016-02-221-0/+5
| | | | | | | | | | | | - Moves cleanup of status vars to function export_wsrep_status_to_mysql().
* | | Safety fix to previous patchMonty2016-08-301-2/+2
| | |
* | | Fixed failures for privilege_table_io and wsrep_cluster_address_basicMonty2016-08-291-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Sometimes privilege_table_io printed double rows of roles_mapping - Fixed by forcing restart of server when running test - Wsrep_cluster_address_basic failed in some combinations because wsrep_cluster_address was set to NULL - Fixed by ensuring it's never set to NULL, only empty string
* | | Cleanup around wsrep system variables.Nirbhay Choubey2016-07-301-10/+0
| | |
* | | Merge branch '10.1' into 10.2Sergei Golubchik2016-06-301-1/+10
|\ \ \ | |/ /
| * | MDEV-10186: mysqld crash when runtime setting wsrep_cluster_address without ↵Nirbhay Choubey2016-06-271-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | MDEV-6368: assertion xid_seqno > trx_sys_cur_xid_seqnoNirbhay Choubey2016-05-311-35/+71
|/ / | | | | | | | | | | | | | | | | - Validate the specified wsrep_start_position value by also checking the return status of wsrep->sst_received. This also ensures that changes in wsrep_start_position is not allowed when the node is not in JOINING state. - Do not allow decrease in seqno within same UUID. - The initial checkpoint in SEs should be [0...:-1].
* | Merge branch 'github/10.0-galera' into 10.1Sergei Golubchik2015-11-191-2/+6
|\ \ | |/
| * refs codership/mysql-wsrep#202 Added schema info into wsrep messagesPhilip Stoev2015-10-191-2/+6
| | | | | | | | Added schema info to wsrep messages above debug level.
| * Refs codership/mysql-wsrep#33 - change const initialization to assignment to ↵Alexey Yurchenko2015-05-081-3/+3
| | | | | | | | follow the genral style of the file.
| * refs codership/mysql-wsrep#90 made wsrep_OSU_method session variableTeemu Ollakka2015-05-081-1/+0
| |
| * Refs codership/mysql-features#33 - this fixes a bug where ↵Alexey Yurchenko2015-05-081-3/+3
| | | | | | | | wsrep_start_position_update() would pass local_uuid and local_seqno to wsrep_sst_received() instead of real, submitted position.
| * Refs codership/mysql-wsrep#33Alexey Yurchenko2015-05-081-18/+20
| | | | | | | | | | | | | | 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.
| * refs codership/mysql-wsrep#60 explicit braces around empty bodyTeemu Ollakka2015-05-081-1/+3
| |
* | Merge branch '10.0-galera' into 10.1Nirbhay Choubey2015-07-141-19/+20
| |
* | Cleanups, fixed warnings from valgrind, fixed failing tests (because on ↵Monty2015-07-101-5/+15
| | | | | | | | changes in WSREP initialization)
* | MDEV-7067: Server outputs Galera (WSREP) information, even if Galera is disabledNirbhay Choubey2015-07-071-21/+22
| | | | | | | | | | | | | | Additional changes : * On startup, do not initialize wsrep if wsrep_on=0. * On shutdown, stop wsrep replication only if > 0 wsrep threads are running.
* | MDEV-7067: Server outputs Galera (WSREP) information, even if Galera is disabledNirbhay Choubey2015-05-291-0/+5
| | | | | | | | | | | | | | | | * mysqld_safe: Since wsrep_on variable is mandatory in 10.1, skip wsrep position recovery if its OFF. * mysqld: Remove "-wsrep" from server version * mysqld: Remove wsrep patch version from @@version_comment * mysqld: Introduce @@wsrep_patch_version
* | Merge 10.0-galera into 10.1Sergei Golubchik2015-02-061-0/+1
|\ \ | |/
| * MDEV-6832: ER_LOCK_WAIT_TIMEOUT on SHOW STATUSNirbhay Choubey2014-12-311-0/+7
| | | | | | | | | | | | Synchronous read view should not be needed for SHOW commands.
| * bzr merge -r4123..4144 codership/5.6Nirbhay Choubey2014-09-301-13/+21
| |
| * bzr merge -c4123 codership/5.6/Nirbhay Choubey2014-08-121-4/+22
| | | | | | | | | | (minus http://bazaar.launchpad.net/~codership/codership-mysql/5.6/revision/4122)
| * Local merge of patch for MDEV-4647 from maria-5.5-galera.Nirbhay Choubey2014-07-221-79/+65
| |
| * Merge of patch for MDEV-6411 from maria-5.5-galera.Nirbhay Choubey2014-07-091-1/+1
| |
| * Merging fix for MDEV#6296 from maria-5.5-galera.Nirbhay Choubey2014-06-191-1/+1
| |
| * bzr merge -r3933..3945 codership/5.5 (Non-InnoDB changes only).Nirbhay Choubey2014-03-251-0/+9
| |
| * * Merged revisions: 3431, 3435..3457, 3459, 3460 from maria-5.5-galera.Nirbhay Choubey2014-01-301-1/+2
| | | | | | | | | | * Fixed Debian/Ubuntu dist files. * Fixed some compiler warnings.
| * bzr merge -r3895..3903 lp:codership-mysql/5.5 Seppo Jaakola2013-11-261-1/+1
| | | | | | | | | | This is just before 5.5.34 merge in wsrep-5.5 branch
| * Merges from lp:codership-mysql/5.5 up to rev #3893, this changes to wsrep ↵Seppo Jaakola2013-11-261-20/+5
| | | | | | | | API #24
| * bzr merge -r3890..3891 lp:codership-mysql/5.5Seppo Jaakola2013-11-061-2/+5
| |
| * Merge fixes, now at level 3430 in mariadb-galera-5.5Seppo Jaakola2013-10-071-2/+2
| |
| * Merged revisions 3418..3424 from mariadb-galera-5.5Seppo Jaakola2013-10-071-0/+39
| |
| * Merge 10.0 to galera-10.0Jan Lindström2013-09-031-0/+561
|
* Improve performance for calculating memory allocationMonty2015-02-011-2/+2
| | | | Extend interface for 'show variables' with current scope
* MDEV-7476: Allow SELECT to succeed even when node is not readyNirbhay Choubey2015-01-221-0/+7
| | | | | | 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.
* restore and fix wsrep status variablesSergei Golubchik2014-10-011-83/+49
|
* cleanup: galera merge, simple changesSergei Golubchik2014-10-011-23/+26
|
* MDEV-6247: Merge 10.0-galera to 10.1.Jan Lindström2014-08-261-0/+602
Merged lp:maria/maria-10.0-galera up to revision 3879. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.