Select next value from the sequence fails with below error in MariaDB Galera Cluster
|
ERROR 1235 (42000): This version of MariaDB doesn't yet support 'SEQUENCEs with streaming replication in Galera cluster'
|
|
Test case :-
|
MariaDB [test]> show global variables like 'version';
|
+---------------+---------------------+
|
| Variable_name | Value |
|
+---------------+---------------------+
|
| version | 10.6.17-MariaDB-log |
|
+---------------+---------------------+
|
1 row in set (0.001 sec)
|
|
|
MariaDB [(none)]> SHOW STATUS LIKE 'wsrep_provider_version';
|
+------------------------+-------------------+
|
| Variable_name | Value |
|
+------------------------+-------------------+
|
| wsrep_provider_version | 26.4.16(r7dce514) |
|
+------------------------+-------------------+
|
1 row in set (0.001 sec)
|
|
MariaDB [(none)]> show global variables like '%wsrep_trx%';
|
+-------------------------+----------+
|
| Variable_name | Value |
|
+-------------------------+----------+
|
| wsrep_trx_fragment_size | 10240000 |
|
| wsrep_trx_fragment_unit | bytes |
|
+-------------------------+----------+
|
2 rows in set (0.001 sec)
|
|
MariaDB [(none)]> select * from mysql.wsrep_cluster;
|
+--------------------------------------+---------+------------+------------------+--------------+
|
| cluster_uuid | view_id | view_seqno | protocol_version | capabilities |
|
+--------------------------------------+---------+------------+------------------+--------------+
|
| b47c150a-eb39-11ee-a832-528b77b9f3c4 | 41 | 172 | 4 | 184703 |
|
+--------------------------------------+---------+------------+------------------+--------------+
|
1 row in set (0.001 sec)
|
|
MariaDB [(none)]> select * from mysql.wsrep_cluster_members;
|
+--------------------------------------+--------------------------------------+-----------+-----------------------+
|
| node_uuid | cluster_uuid | node_name | node_incoming_address |
|
+--------------------------------------+--------------------------------------+-----------+-----------------------+
|
| 4227e2e0-0dae-11ef-b33f-878f0cd70cd5 | b47c150a-eb39-11ee-a832-528b77b9f3c4 | gcn-02 | 192.168.47.42:3306 |
|
| 84c84e8c-0dae-11ef-aca4-1377bfb10b11 | b47c150a-eb39-11ee-a832-528b77b9f3c4 | gcn-03 | 192.168.47.43:3306 |
|
| a664e68f-0dad-11ef-8c20-6249933a39f0 | b47c150a-eb39-11ee-a832-528b77b9f3c4 | gcn-01 | 192.168.47.41:3306 |
|
+--------------------------------------+--------------------------------------+-----------+-----------------------+
|
3 rows in set (0.001 sec)
|
|
MariaDB [(none)]> use test;
|
Database changed
|
|
|
MariaDB [test]> create sequence test_sequence start with 1 increment by 0;
|
Query OK, 0 rows affected (0.015 sec)
|
|
MariaDB [test]> select next value for test_sequence;
|
ERROR 1235 (42000): This version of MariaDB doesn't yet support 'SEQUENCEs with streaming replication in Galera cluster'
|
|
|
- relates to
-
MDEV-28971
Assertion `total_length + thd->wsrep_sr().log_position() == saved_pos' failed in int wsrep_write_cache_inc(THD*, IO_CACHE*, size_t*)
-
-
Closed
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
4d 6h 56m
|
1
|
{"report":{"fcp":769,"ttfb":212.79999995231628,"pageVisibility":"visible","entityId":129081,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"6c259f55-f210-42fc-b9a9-f748d3c453f5","navigationType":0,"readyForUser":838.2000000476837,"redirectCount":0,"resourceLoadedEnd":474.90000009536743,"resourceLoadedStart":220.90000009536743,"resourceTiming":[{"duration":5.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":220.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":220.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":226.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":5.3999998569488525,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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":221.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":221.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":226.5,"responseStart":0,"secureConnectionStart":0},{"duration":106.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/b09d0d077992e4331b5f9ec0d3ec448c-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":221.29999995231628,"connectEnd":221.29999995231628,"connectStart":221.29999995231628,"domainLookupEnd":221.29999995231628,"domainLookupStart":221.29999995231628,"fetchStart":221.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":230.10000014305115,"responseEnd":327.60000014305115,"responseStart":246.90000009536743,"secureConnectionStart":221.29999995231628},{"duration":142.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/b47ab3df14096803b180217eb8482517-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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":221.40000009536743,"connectEnd":221.40000009536743,"connectStart":221.40000009536743,"domainLookupEnd":221.40000009536743,"domainLookupStart":221.40000009536743,"fetchStart":221.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":231.5,"responseEnd":363.7000000476837,"responseStart":248.29999995231628,"secureConnectionStart":221.40000009536743},{"duration":31.799999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/6c569cbf8087ab04e40d0bef98627457-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":221.5,"connectEnd":221.5,"connectStart":221.5,"domainLookupEnd":221.5,"domainLookupStart":221.5,"fetchStart":221.5,"redirectEnd":0,"redirectStart":0,"requestStart":231.70000004768372,"responseEnd":253.29999995231628,"responseStart":251.20000004768372,"secureConnectionStart":221.5},{"duration":31.799999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":221.70000004768372,"connectEnd":221.70000004768372,"connectStart":221.70000004768372,"domainLookupEnd":221.70000004768372,"domainLookupStart":221.70000004768372,"fetchStart":221.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":233.10000014305115,"responseEnd":253.5,"responseStart":252,"secureConnectionStart":221.70000004768372},{"duration":35.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":221.79999995231628,"connectEnd":221.79999995231628,"connectStart":221.79999995231628,"domainLookupEnd":221.79999995231628,"domainLookupStart":221.79999995231628,"fetchStart":221.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":238.70000004768372,"responseEnd":257.2999999523163,"responseStart":255.40000009536743,"secureConnectionStart":221.79999995231628},{"duration":13.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bsh/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":221.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":221.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":235.70000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":36.299999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":222,"connectEnd":222,"connectStart":222,"domainLookupEnd":222,"domainLookupStart":222,"fetchStart":222,"redirectEnd":0,"redirectStart":0,"requestStart":240.5,"responseEnd":258.2999999523163,"responseStart":256.2000000476837,"secureConnectionStart":222},{"duration":14.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bsh/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":222.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":222.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":236.60000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":37.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/81b5d7c27af3ebc078cc4a36383678ba-CDN/lu2bsh/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":222.20000004768372,"connectEnd":222.20000004768372,"connectStart":222.20000004768372,"domainLookupEnd":222.20000004768372,"domainLookupStart":222.20000004768372,"fetchStart":222.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":241,"responseEnd":259.7999999523163,"responseStart":258.60000014305115,"secureConnectionStart":222.20000004768372},{"duration":251.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":223,"connectEnd":223,"connectStart":223,"domainLookupEnd":223,"domainLookupStart":223,"fetchStart":223,"redirectEnd":0,"redirectStart":0,"requestStart":223,"responseEnd":474.10000014305115,"responseStart":474.10000014305115,"secureConnectionStart":223},{"duration":251.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":223.10000014305115,"connectEnd":223.10000014305115,"connectStart":223.10000014305115,"domainLookupEnd":223.10000014305115,"domainLookupStart":223.10000014305115,"fetchStart":223.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":223.10000014305115,"responseEnd":474.90000009536743,"responseStart":474.90000009536743,"secureConnectionStart":223.10000014305115},{"duration":221.89999985694885,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":520.4000000953674,"connectEnd":520.4000000953674,"connectStart":520.4000000953674,"domainLookupEnd":520.4000000953674,"domainLookupStart":520.4000000953674,"fetchStart":520.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":712.7999999523163,"responseEnd":742.2999999523163,"responseStart":741.6000001430511,"secureConnectionStart":520.4000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":60,"responseStart":213,"responseEnd":221,"domLoading":216,"domInteractive":893,"domContentLoadedEventStart":893,"domContentLoadedEventEnd":930,"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":877},{"name":"bigPipe.sidebar-id.end","time":877.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":877.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":878.6000001430511},{"name":"activityTabFullyLoaded","time":943.1000001430511}],"measures":[],"correlationId":"62a9f7d62188a6","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":75,"dbReadsTimeInMs":18,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}