cluster node can't sst (xtrabackup) with wsrep_urls in /etc/my.cnf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Medium
|
Hrvoje Matijakovic |
Bug Description
I believe the issue is that the xtradb mysqld can't understand the wsrep_urls variable.
120516 15:00:04 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
120516 15:00:04 [Note] Flashcache bypass: disabled
120516 15:00:04 [Note] Flashcache setup error is : ioctl failed
120516 15:00:04 [Note] WSREP: Read nil XID from storage engines, skipping position init
120516 15:00:04 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/
120516 15:00:04 [Note] WSREP: wsrep_load(): Galera 2.1dev(r112) by Codership Oy <email address hidden> loaded succesfully.
120516 15:00:04 [Note] WSREP: Found saved state: 00000000-
120516 15:00:04 [Note] WSREP: Reusing existing '/var/lib/
120516 15:00:04 [Note] WSREP: Passing config to GCS: base_host = 10.0.2.15; gcache.dir = /var/lib/mysql/; gcache.
120516 15:00:04 [Note] WSREP: Assign initial position for certification: -1, protocol version: -1
120516 15:00:04 [Note] WSREP: wsrep_sst_grab()
120516 15:00:04 [Note] WSREP: Start replication
120516 15:00:04 [Note] WSREP: Setting initial position to 00000000-
120516 15:00:04 [Note] WSREP: protonet asio version 0
120516 15:00:04 [Note] WSREP: backend: asio
120516 15:00:04 [Note] WSREP: GMCast version 0
120516 15:00:04 [Note] WSREP: (0e4a60e5-
120516 15:00:04 [Note] WSREP: (0e4a60e5-
120516 15:00:04 [Note] WSREP: EVS version 0
120516 15:00:04 [Note] WSREP: PC version 0
120516 15:00:04 [Note] WSREP: gcomm: connecting to group 'trimethylxanth
120516 15:00:04 [Note] WSREP: (0e4a60e5-
120516 15:00:05 [Note] WSREP: declaring 1a92d07e-
120516 15:00:05 [Note] WSREP: declaring bd9cd0f2-
120516 15:00:05 [Note] WSREP: (0e4a60e5-
120516 15:00:05 [Note] WSREP: view(view_
0e4a60e5-
1a92d07e-
bd9cd0f2-
} joined {
} left {
} partitioned {
})
120516 15:00:05 [Note] WSREP: gcomm: connected
120516 15:00:05 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
120516 15:00:05 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
120516 15:00:05 [Note] WSREP: Opened channel 'trimethylxanthine'
120516 15:00:05 [Note] WSREP: Waiting for SST to complete.
120516 15:00:05 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
120516 15:00:05 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 0ee3aa83-
120516 15:00:05 [Note] WSREP: STATE EXCHANGE: sent state msg: 0ee3aa83-
120516 15:00:05 [Note] WSREP: STATE EXCHANGE: got state msg: 0ee3aa83-
120516 15:00:05 [Note] WSREP: STATE EXCHANGE: got state msg: 0ee3aa83-
120516 15:00:05 [Note] WSREP: STATE EXCHANGE: got state msg: 0ee3aa83-
120516 15:00:05 [Note] WSREP: Quorum results:
version = 2,
component = PRIMARY,
conf_id = 7,
members = 2/3 (joined/total),
act_id = 772,
last_appl. = -1,
protocols = 0/3/1 (gcs/repl/appl),
group UUID = c19f6c17-
120516 15:00:05 [Note] WSREP: Flow-control interval: [14, 28]
120516 15:00:05 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 772)
120516 15:00:05 [Note] WSREP: State transfer required:
Group state: c19f6c17-
Local state: 00000000-
120516 15:00:05 [Note] WSREP: New cluster view: global state: c19f6c17-
120516 15:00:05 [Warning] WSREP: Gap in state sequence. Need state transfer.
120516 15:00:07 [Note] WSREP: Running: 'wsrep_
120516 15:00:07 [Note] WSREP: Prepared SST request: xtrabackup|
120516 15:00:07 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
120516 15:00:07 [Note] WSREP: Assign initial position for certification: 772, protocol version: 2
120516 15:00:07 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-
at galera/
120516 15:00:07 [Note] WSREP: Node 0 (percona3) requested state transfer from '*any*'. Selected 1 (percona1)(SYNCED) as donor.
120516 15:00:07 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 772)
120516 15:00:07 [Note] WSREP: Requesting state transfer: success, donor: 1
120516 15:01:44 [Note] WSREP: 1 (percona1): State transfer to 0 (percona3) complete.
120516 15:01:44 [Note] WSREP: Member 1 (percona1) synced with group.
120516 15:01:56 [Note] WSREP: SST complete, seqno: 772
120516 15:01:56 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-
120516 15:01:56 [Note] Plugin 'FEDERATED' is disabled.
120516 15:01:56 InnoDB: The InnoDB memory heap is disabled
120516 15:01:56 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120516 15:01:56 InnoDB: Compressed tables use zlib 1.2.3
120516 15:01:56 InnoDB: Using Linux native AIO
120516 15:01:56 InnoDB: Initializing buffer pool, size = 128.0M
120516 15:01:56 InnoDB: Completed initialization of buffer pool
120516 15:01:56 InnoDB: highest supported file format is Barracuda.
120516 15:01:56 InnoDB: Waiting for the background threads to start
120516 15:01:57 Percona XtraDB (http://
120516 15:01:57 [ERROR] /usr/sbin/mysqld: unknown variable 'wsrep_
120516 15:01:57 [ERROR] Aborting
120516 15:01:59 [Note] WSREP: Closing send monitor...
120516 15:01:59 [Note] WSREP: Closed send monitor.
120516 15:01:59 [Note] WSREP: gcomm: terminating thread
120516 15:01:59 [Note] WSREP: gcomm: joining thread
120516 15:01:59 [Note] WSREP: gcomm: closing backend
120516 15:01:59 [Note] WSREP: view(view_
0e4a60e5-
} joined {
} left {
} partitioned {
1a92d07e-
bd9cd0f2-
})
120516 15:01:59 [Note] WSREP: New COMPONENT: primary = no, bootstrap = no, my_idx = 0, memb_num = 1
120516 15:01:59 [Note] WSREP: view((empty))
120516 15:01:59 [Note] WSREP: gcomm: closed
120516 15:01:59 [Note] WSREP: Flow-control interval: [8, 16]
120516 15:01:59 [Note] WSREP: Received NON-PRIMARY.
120516 15:01:59 [Note] WSREP: Shifting JOINER -> OPEN (TO: 772)
120516 15:01:59 [Note] WSREP: Received self-leave message.
120516 15:01:59 [Note] WSREP: Flow-control interval: [0, 0]
120516 15:01:59 [Note] WSREP: Received SELF-LEAVE. Closing connection.
120516 15:01:59 [Note] WSREP: Shifting OPEN -> CLOSED (TO: 772)
120516 15:01:59 [Note] WSREP: RECV thread exiting 0: Success
120516 15:01:59 [Note] WSREP: recv_thread() joined.
120516 15:01:59 [Note] WSREP: Closing slave action queue.
120516 15:01:59 [Note] WSREP: Service disconnected.
120516 15:01:59 [Note] WSREP: rollbacker thread exiting
120516 15:02:00 [Note] WSREP: Some threads may fail to exit.
120516 15:02:00 InnoDB: Starting shutdown...
120516 15:02:02 InnoDB: Shutdown completed; log sequence number 2173783564
120516 15:02:02 [Note] /usr/sbin/mysqld: Shutdown complete
Error in my_thread_
120516 15:02:07 mysqld_safe mysqld from pid file /var/lib/
# cat /etc/my.cnf
[mysqld]
datadir=
user=mysql
log_error=error.log
binlog_format=ROW
wsrep_provider=
wsrep_urls=
#wsrep_
wsrep_sst_
wsrep_node_
wsrep_slave_
wsrep_cluster_
#wsrep_
wsrep_sst_
wsrep_node_
innodb_
innodb_
innodb_
bind-address=
server-id=3
log-bin
log-slave-updates
[mysql]
user=root
prompt="percona3 mysql> "
Related branches
- Percona core: Pending requested
-
Diff: 4006 lines (+329/-3425)17 files modified.bzrignore (+1/-0)
doc-pxc/Makefile (+8/-0)
doc-pxc/source/conf.py (+8/-0)
doc-pxc/source/features/highavailability.rst (+2/-2)
doc-pxc/source/glossary.rst (+8/-2)
doc-pxc/source/howtos/haproxy.rst (+5/-5)
doc-pxc/source/howtos/virt_sandbox.rst (+285/-0)
doc-pxc/source/index.rst (+6/-5)
doc-pxc/source/percona-theme/layout.html (+0/-496)
doc-pxc/source/percona-theme/searchbox.html (+0/-22)
doc-pxc/source/percona-theme/static/default.css_t (+0/-433)
doc-pxc/source/percona-theme/static/jquery.min.js (+0/-154)
doc-pxc/source/percona-theme/static/percona.com.css (+0/-1849)
doc-pxc/source/percona-theme/static/percona.com.js (+0/-269)
doc-pxc/source/percona-theme/static/sidebar.js (+0/-151)
doc-pxc/source/percona-theme/theme.conf (+0/-32)
doc-pxc/source/resources.rst (+6/-5)
tags: | added: doc |
Changed in percona-xtradb-cluster: | |
status: | Confirmed → In Progress |
Changed in percona-xtradb-cluster: | |
status: | In Progress → Fix Committed |
Changed in percona-xtradb-cluster: | |
status: | Fix Committed → Fix Released |
wsrep_urls= parameter is for [mysqld_safe] section.