Hello everybody!
I am newbie with Percona Cluster. Ive created a environment to test the product with mysql.
The version is: 5.6.15-56 Percona XtraDB Cluster (GPL), Release 25.5, Revision 759, wsrep_25.5.r4061
I am trying to understand why the cluster crash.
I have the log file like this:
WSREP_SST: [INFO] Evaluating socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} ) (20140821 14:33:19.193)
2014-08-30 16:20:22 1369 [Note] WSREP: 1.0 (mysrvdb3): State transfer to 0.0 (mysrvdb4) complete.
2014-08-30 16:20:22 1369 [Note] WSREP: Member 1 (mysrvdb3) synced with group.
WSREP_SST: [INFO] Preparing the backup at /var/lib/mysql/ (20140821 16:20:22.698)
WSREP_SST: [INFO] Evaluating innobackupex --no-version-check --apply-log $rebuildcmd ${DATA} &>${DATA}/innobackup.prepare.log (20140821 16:20:22.702)
WSREP_SST: [INFO] Total time on joiner: 0 seconds (20140821 16:20:27.927)
WSREP_SST: [INFO] Removing the sst_in_progress file (20140821 16:20:27.931)
2014-08-30 16:20:27 1369 [Note] WSREP: SST complete, seqno: 675157
2014-08-30 16:20:27 1369 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2014-08-30 16:20:27 1369 [Note] Plugin ‘FEDERATED’ is disabled.
2014-08-30 16:20:27 1369 [Note] InnoDB: The InnoDB memory heap is disabled
2014-08-30 16:20:27 1369 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-08-30 16:20:27 1369 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-08-30 16:20:27 1369 [Note] InnoDB: Using Linux native AIO
2014-08-30 16:20:27 1369 [Note] InnoDB: Using CPU crc32 instructions
2014-08-30 16:20:27 1369 [Note] InnoDB: Initializing buffer pool, size = 100.0G
2014-08-30 16:20:34 1369 [Note] InnoDB: Completed initialization of buffer pool
2014-08-30 16:20:34 1369 [Note] InnoDB: Highest supported file format is Barracuda.
2014-08-30 16:20:38 1369 [Note] InnoDB: 128 rollback segment(s) are active.
2014-08-30 16:20:38 1369 [Note] InnoDB: Waiting for purge to start
2014-08-30 16:20:38 1369 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.15-rel63.0 started; log sequence number 11911833459
2014-08-30 16:20:38 1369 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 6cfa22d9-2959-11e4-9c05-0000c9e31460.
2014-08-30 16:20:38 1369 [Note] RSA private key file not found: /var/lib/mysql//private_key.pem. Some authentication plugins will not work.
2014-08-30 16:20:38 1369 [Note] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
2014-08-30 16:20:38 1369 [Note] Server hostname (bind-address): ‘*’; port: 3306
2014-08-30 16:20:38 1369 [Note] IPv6 is available.
2014-08-30 16:20:38 1369 [Note] - ‘::’ resolves to ‘::’;
2014-08-30 16:20:58 1369 [Note] Server socket created on IP: ‘::’.
2014-08-30 16:20:58 1369 [Note] Event Scheduler: Loaded 0 events
2014-08-30 16:20:58 1369 [Note] WSREP: Signalling provider to continue.
2014-08-30 16:20:58 1369 [Note] WSREP: inited wsrep sidno 1
2014-08-30 16:20:58 1369 [Note] WSREP: SST received: 034e6fd9-e5c6-11e3-aea0-3728475880e0:675157
2014-08-30 16:20:58 1369 [Note] WSREP: 0.0 (mysrvdb4): State transfer from 1.0 (mysrvdb3) complete.
2014-08-30 16:20:58 1369 [Note] WSREP: Shifting JOINER → JOINED (TO: 675163)
2014-08-30 16:20:58 1369 [Note] WSREP: Member 0 (mysrvdb4) synced with group.
2014-08-30 16:20:58 1369 [Note] WSREP: Shifting JOINED → SYNCED (TO: 675163)
2014-08-30 16:20:58 1369 [Note] /usr/sbin/mysqld: ready for connections.
Version: ‘5.6.15-56’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 Percona XtraDB Cluster (GPL), Release 25.5, Revision 759, wsrep_25.5.r4061
2014-08-30 16:20:58 1369 [Note] WSREP: Synchronized with group, ready for connections
2014-08-30 16:20:58 1369 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2014-08-30 14:36:46 1369 [ERROR] Slave SQL: Error ‘Can’t create database ‘perfdb01’; database exists’ on query. Default database: ‘’. Query: ‘create database perfdb01’, Error_code: 1007
2014-08-30 14:36:46 1369 [Warning] WSREP: RBR event 1 Query apply warning: 1, 675189
2014-08-30 14:36:46 1369 [Warning] WSREP: Ignoring error for TO isolated action: source: 91b56b0f-143a-11e4-862c-b2d5386b5d98 version: 3 local: 0 state: APPLYING flags: 65 conn_id: 216060 trx_id: -1 seqnos (l: 36, g: 675189, s: 675188, d: 675188, ts: 3211173698510532)
2014-08-30 14:43:03 1369 [Note] WSREP: Created page /var/lib/mysql/gcache.page.000000 of size 134217728 bytes
2014-08-30 14:43:07 1369 [Note] WSREP: Deleted page /var/lib/mysql/gcache.page.000000
17:43:10 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona XtraDB Cluster better by reporting any
bugs at [URL]https://bugs.launchpad.net/percona-xtradb-cluster[/URL]
key_buffer_size=33554432
read_buffer_size=131072
max_used_connections=15
max_threads=216
thread_count=13
connection_count=13
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 506007 K bytes of memory
Hope that’s ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f4828000990
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong…
stack_bottom = 7f48641c4d98 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x902645]
/usr/sbin/mysqld(handle_fatal_signal+0x4c4)[0x6801e4]
/lib64/libpthread.so.0[0x314be0f710]
/usr/lib64/libgalera_smm.so(_ZN6galera13Certification10do_test_v3EPNS_9TrxHandleEb+0x1b1)[0x7f48482f1be1]
/usr/lib64/libgalera_smm.so(_ZN6galera13Certification7do_testEPNS_9TrxHandleEb+0x37f)[0x7f48482f601f]
/usr/lib64/libgalera_smm.so(_ZN6galera13Certification4testEPNS_9TrxHandleEb+0x28)[0x7f48482f61f8]
/usr/lib64/libgalera_smm.so(_ZN6galera13Certification10append_trxEPNS_9TrxHandleE+0x8b)[0x7f48482f629b]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM4certEPNS_9TrxHandleE+0x8b)[0x7f484831cedb]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x31)[0x7f4848324a91]
/usr/lib64/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x2c9)[0x7f48482ffa89]
/usr/lib64/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x63)[0x7f48482fff63]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x93)[0x7f484831edb3]
/usr/lib64/libgalera_smm.so(galera_recv+0x23)[0x7f4848333aa3]
/usr/sbin/mysqld[0x5be11f]
/usr/sbin/mysqld(start_wsrep_THD+0x3fe)[0x5ae42e]
/lib64/libpthread.so.0[0x314be079d1]
/lib64/libc.so.6(clone+0x6d)[0x314b6e8b5d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): Connection ID (thread ID): 1
Status: NOT_KILLED
My opinion is: the developer tried to import a database and this crashs the cluster. But I’m not sure about this conclusion.
Please, somebody can help me!!!
Thank very much!