-
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
|
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
22h 32m
|
1
|
{"report":{"fcp":765,"ttfb":147.5,"pageVisibility":"visible","entityId":25406,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"c671606c-367e-41f8-8690-8340c3cef957","navigationType":0,"readyForUser":843.7000000476837,"redirectCount":0,"resourceLoadedEnd":503.7999999523163,"resourceLoadedStart":154.90000009536743,"resourceTiming":[{"duration":4,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":154.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":154.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":158.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":3.9000000953674316,"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":155.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":155.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":159.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":230.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":155.29999995231628,"connectEnd":155.29999995231628,"connectStart":155.29999995231628,"domainLookupEnd":155.29999995231628,"domainLookupStart":155.29999995231628,"fetchStart":155.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":160.70000004768372,"responseEnd":385.5,"responseStart":174.70000004768372,"secureConnectionStart":155.29999995231628},{"duration":348.39999985694885,"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":155.40000009536743,"connectEnd":155.40000009536743,"connectStart":155.40000009536743,"domainLookupEnd":155.40000009536743,"domainLookupStart":155.40000009536743,"fetchStart":155.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":162.40000009536743,"responseEnd":503.7999999523163,"responseStart":182.60000014305115,"secureConnectionStart":155.40000009536743},{"duration":29.299999952316284,"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":155.60000014305115,"connectEnd":155.60000014305115,"connectStart":155.60000014305115,"domainLookupEnd":155.60000014305115,"domainLookupStart":155.60000014305115,"fetchStart":155.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":162.70000004768372,"responseEnd":184.90000009536743,"responseStart":181,"secureConnectionStart":155.60000014305115},{"duration":29.5,"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":155.60000014305115,"connectEnd":155.60000014305115,"connectStart":155.60000014305115,"domainLookupEnd":155.60000014305115,"domainLookupStart":155.60000014305115,"fetchStart":155.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":163.70000004768372,"responseEnd":185.10000014305115,"responseStart":181.79999995231628,"secureConnectionStart":155.60000014305115},{"duration":38.59999990463257,"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":155.70000004768372,"connectEnd":155.70000004768372,"connectStart":155.70000004768372,"domainLookupEnd":155.70000004768372,"domainLookupStart":155.70000004768372,"fetchStart":155.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":164.90000009536743,"responseEnd":194.29999995231628,"responseStart":191.90000009536743,"secureConnectionStart":155.70000004768372},{"duration":8.300000190734863,"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":155.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":155.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":164.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":97.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":155.90000009536743,"connectEnd":155.90000009536743,"connectStart":155.90000009536743,"domainLookupEnd":155.90000009536743,"domainLookupStart":155.90000009536743,"fetchStart":155.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":168,"responseEnd":253.40000009536743,"responseStart":252.29999995231628,"secureConnectionStart":155.90000009536743},{"duration":9.799999952316284,"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":156,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":156,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":165.79999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":58.799999952316284,"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":156.20000004768372,"connectEnd":156.20000004768372,"connectStart":156.20000004768372,"domainLookupEnd":156.20000004768372,"domainLookupStart":156.20000004768372,"fetchStart":156.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":170.40000009536743,"responseEnd":215,"responseStart":195.20000004768372,"secureConnectionStart":156.20000004768372},{"duration":283.90000009536743,"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":160.20000004768372,"connectEnd":160.20000004768372,"connectStart":160.20000004768372,"domainLookupEnd":160.20000004768372,"domainLookupStart":160.20000004768372,"fetchStart":160.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":185.20000004768372,"responseEnd":444.10000014305115,"responseStart":440.90000009536743,"secureConnectionStart":160.20000004768372},{"duration":287.7000000476837,"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":160.29999995231628,"connectEnd":160.29999995231628,"connectStart":160.29999995231628,"domainLookupEnd":160.29999995231628,"domainLookupStart":160.29999995231628,"fetchStart":160.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":196.70000004768372,"responseEnd":448,"responseStart":442.90000009536743,"secureConnectionStart":160.29999995231628},{"duration":167.89999985694885,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":529.1000001430511,"connectEnd":529.1000001430511,"connectStart":529.1000001430511,"domainLookupEnd":529.1000001430511,"domainLookupStart":529.1000001430511,"fetchStart":529.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":660.5,"responseEnd":697,"responseStart":696,"secureConnectionStart":529.1000001430511}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":13,"responseStart":147,"responseEnd":159,"domLoading":151,"domInteractive":900,"domContentLoadedEventStart":900,"domContentLoadedEventEnd":946,"domComplete":1678,"loadEventStart":1678,"loadEventEnd":1679,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":883.4000000953674},{"name":"bigPipe.sidebar-id.end","time":884.1000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":884.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":885.2000000476837},{"name":"activityTabFullyLoaded","time":996.2000000476837}],"measures":[],"correlationId":"a8ee8a094f9249","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":73,"dbReadsTimeInMs":13,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}