-
Bug
-
-
Critical
-
Resolution:
Fixed
-
None
-
-
None
-
I run a 2-node cluster with the following server command lines:
maria-5.5-galera//sql/mysqld --no-defaults --basedir=maria-5.5-galera/ --datadir=node0/data --lc-messages-dir=maria-5.5-galera//sql/share --character-sets-dir=maria-5.5-galera//sql/share/charsets --tmpdir=node0/tmp --core-file --max-allowed-packet=128Mb --port=19300 --socket=node0/mysql.sock --pid-file=node0/mysql.pid --general-log --general-log-file=node0/mysql.log --wsrep_sst_method=rsync --innodb_autoinc_lock_mode=2 --default-storage-engine=InnoDB --innodb_locks_unsafe_for_binlog=1 --binlog-format=row --wsrep_cluster_address=gcomm://?gmcast.listen_addr=tcp://127.0.0.1:4800 --wsrep-provider=/home/elenst/galera/libgalera_smm.so --log-bin --log-slave-updates
|
maria-5.5-galera//sql/mysqld --no-defaults --basedir=maria-5.5-galera/ --datadir=node1/data --lc-messages-dir=maria-5.5-galera//sql/share --character-sets-dir=maria-5.5-galera//sql/share/charsets --tmpdir=node1/tmp --core-file --max-allowed-packet=128Mb --port=19301 --socket=node1/mysql.sock --pid-file=node1/mysql.pid --general-log --general-log-file=node1/mysql.log --wsrep_sst_method=rsync --innodb_autoinc_lock_mode=2 --default-storage-engine=InnoDB --innodb_locks_unsafe_for_binlog=1 --binlog-format=row --wsrep_cluster_address=gcomm://127.0.0.1:4800?gmcast.listen_addr=tcp://127.0.0.1:4801 --wsrep-provider=/home/elenst/galera/libgalera_smm.so --log-bin --log-slave-updates
|
The status shows that the cluster is up and running:
| wsrep_local_state | 4 |
|
| wsrep_local_state_comment | Synced |
|
| wsrep_cert_index_size | 11 |
|
| wsrep_causal_reads | 0 |
|
| wsrep_incoming_addresses | 192.168.1.20:19300,192.168.1.20:19301 |
|
| wsrep_cluster_conf_id | 2 |
|
| wsrep_cluster_size | 2 |
|
Then I execute the following on the first node:
MariaDB [test]> create table t4 (pk int primary key, i int) engine=InnoDB partition by hash(pk) partitions 2;
|
Query OK, 0 rows affected (0.41 sec)
|
|
MariaDB [test]> insert into t4 values (1,100), (2,200);
|
Query OK, 2 rows affected (0.11 sec)
|
Records: 2 Duplicates: 0 Warnings: 0
|
|
MariaDB [test]> delete from t4;
|
Query OK, 2 rows affected (0.04 sec)
|
|
MariaDB [test]> select * from t4;
|
Empty set (0.00 sec)
|
But on the 2nd node DELETE did not work:
MariaDB [test]> select * from t4;
|
+----+------+
|
| pk | i |
|
+----+------+
|
| 2 | 200 |
|
| 1 | 100 |
|
+----+------+
|
2 rows in set (0.01 sec)
|
The status still shows that replication is up:
| wsrep_local_state | 4 |
|
| wsrep_local_state_comment | Synced |
|
| wsrep_cert_index_size | 14 |
|
| wsrep_causal_reads | 0 |
|
| wsrep_incoming_addresses | 192.168.1.20:19300,192.168.1.20:19301 |
|
| wsrep_cluster_conf_id | 2 |
|
| wsrep_cluster_size | 2 |
|
But further INSERTs don't work either.
revision-id: seppo.jaakola@codership.com-20130823092100-tumt1qvo3hbybhg3
|
revno: 3415
|
branch-nick: maria-5.5-galera
|
Server version: 5.5.32-MariaDB-debug-log Source distribution, wsrep_23.7.5.r3415
|
Galera library 23.2.6
|
{"report":{"fcp":859.2000000476837,"ttfb":135.5,"pageVisibility":"visible","entityId":25406,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"9b187deb-c9cc-422a-9471-6c428d03b289","navigationType":0,"readyForUser":919.8999998569489,"redirectCount":0,"resourceLoadedEnd":1033.2000000476837,"resourceLoadedStart":141.20000004768372,"resourceTiming":[{"duration":284.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":141.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":141.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":425.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":284,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":141.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":141.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":425.39999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":292.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":141.59999990463257,"connectEnd":141.59999990463257,"connectStart":141.59999990463257,"domainLookupEnd":141.59999990463257,"domainLookupStart":141.59999990463257,"fetchStart":141.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":141.59999990463257,"responseEnd":434.2999999523163,"responseStart":434.2999999523163,"secureConnectionStart":141.59999990463257},{"duration":317.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":141.59999990463257,"connectEnd":141.59999990463257,"connectStart":141.59999990463257,"domainLookupEnd":141.59999990463257,"domainLookupStart":141.59999990463257,"fetchStart":141.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":141.59999990463257,"responseEnd":459.2000000476837,"responseStart":459.2000000476837,"secureConnectionStart":141.59999990463257},{"duration":321.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":141.70000004768372,"connectEnd":141.70000004768372,"connectStart":141.70000004768372,"domainLookupEnd":141.70000004768372,"domainLookupStart":141.70000004768372,"fetchStart":141.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":141.70000004768372,"responseEnd":462.89999985694885,"responseStart":462.89999985694885,"secureConnectionStart":141.70000004768372},{"duration":321.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":141.79999995231628,"connectEnd":141.79999995231628,"connectStart":141.79999995231628,"domainLookupEnd":141.79999995231628,"domainLookupStart":141.79999995231628,"fetchStart":141.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":141.79999995231628,"responseEnd":463.5,"responseStart":463.5,"secureConnectionStart":141.79999995231628},{"duration":322.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":142,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":142,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":464.39999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":321.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":142,"connectEnd":142,"connectStart":142,"domainLookupEnd":142,"domainLookupStart":142,"fetchStart":142,"redirectEnd":0,"redirectStart":0,"requestStart":142,"responseEnd":463.7999999523163,"responseStart":463.7999999523163,"secureConnectionStart":142},{"duration":322,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":142.09999990463257,"connectEnd":142.09999990463257,"connectStart":142.09999990463257,"domainLookupEnd":142.09999990463257,"domainLookupStart":142.09999990463257,"fetchStart":142.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":142.09999990463257,"responseEnd":464.09999990463257,"responseStart":464.09999990463257,"secureConnectionStart":142.09999990463257},{"duration":322.2999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":142.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":142.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":464.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":322.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":142.39999985694885,"connectEnd":142.39999985694885,"connectStart":142.39999985694885,"domainLookupEnd":142.39999985694885,"domainLookupStart":142.39999985694885,"fetchStart":142.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":142.39999985694885,"responseEnd":464.7000000476837,"responseStart":464.7000000476837,"secureConnectionStart":142.39999985694885},{"duration":600.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":142.89999985694885,"connectEnd":142.89999985694885,"connectStart":142.89999985694885,"domainLookupEnd":142.89999985694885,"domainLookupStart":142.89999985694885,"fetchStart":142.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":142.89999985694885,"responseEnd":743.5999999046326,"responseStart":743.5999999046326,"secureConnectionStart":142.89999985694885},{"duration":890.1000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":143.09999990463257,"connectEnd":143.09999990463257,"connectStart":143.09999990463257,"domainLookupEnd":143.09999990463257,"domainLookupStart":143.09999990463257,"fetchStart":143.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":143.09999990463257,"responseEnd":1033.2000000476837,"responseStart":1033.2000000476837,"secureConnectionStart":143.09999990463257},{"duration":229,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":664.7000000476837,"connectEnd":664.7000000476837,"connectStart":664.7000000476837,"domainLookupEnd":664.7000000476837,"domainLookupStart":664.7000000476837,"fetchStart":664.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":664.7000000476837,"responseEnd":893.7000000476837,"responseStart":893.7000000476837,"secureConnectionStart":664.7000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":2,"responseStart":135,"responseEnd":138,"domLoading":139,"domInteractive":1052,"domContentLoadedEventStart":1052,"domContentLoadedEventEnd":1086,"domComplete":1659,"loadEventStart":1659,"loadEventEnd":1660,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1036.8999998569489},{"name":"bigPipe.sidebar-id.end","time":1037.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1037.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":1040.0999999046326},{"name":"activityTabFullyLoaded","time":1091.7000000476837}],"measures":[],"correlationId":"e60b1ae5db27a5","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":80,"dbReadsTimeInMs":9,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}