Issues
- PXC 8.0 crashes while acquiring metadata lockPXC-4007Resolved issue: PXC-4007Kamil Holubicki
- LP #1575959: Node consistency compromized during pt-online-schema-changePXC-1900Resolved issue: PXC-1900Krunal Bauskar
- pt-online-schema-change 3.7.0 lost data when exe alter xxx rename column xxxPT-2418
- pt-online-schema-change: unknown_errorPT-2416Aaditya Dubey
- pt-online-schema-change: unknow_errorPT-2415Resolved issue: PT-2415
- pt-online-schema-change loses data when changing a generated column to a regular columnPT-2391
- Every next run of pt-online-schema-change will result in an error and create a new table that won’t be cleaned upPT-2356
- pt-online-schema-change should not resume a job with empty boundariesPT-2355Sveta Smirnova
- Plugin hook before_swap_tables executed after swap when foreign keys existPT-2341
- pt-online-schema-change should be aware of diskPT-2337
- Full Scan in pt-osc finding /*next chunk boundary*/PT-2334Aaditya Dubey
- pt-osc should merge or throw warning when multiple --set-vars option specifiedPT-2321
- pt-online-schema failure due to duplicated constraint names and from multiple foreign keysPT-2314
- [PT 3.3.1] pt-osc --alter-foreign-keys-method=drop_swap doesn't work with MariaDB 10.xPT-1972Carlos Salguero
- pt-osc --alter-foreign-keys-method=drop_swap doesn't work with MariaDB 10.x (PT 3.3.1)PT-1971Resolved issue: PT-1971Lalit Choudhary
- pt-online-schema-change can't use options portPT-1911Resolved issue: PT-1911Sveta Smirnova
- Inconsistent creation of toolkit tables - pt-online-schema-changePT-1656Resolved issue: PT-1656Carlos Salguero
- [pt-osc] deal with existing triggersPT-1645Resolved issue: PT-1645
- pt-osc --alter-foreign-keys-method=drop_swap doesn't work with MariaDB 10.xPT-1634Resolved issue: PT-1634Lalit Choudhary
- pt-online-schema-change --alter="ENGINE=InnoDB" not workingPT-1607Resolved issue: PT-1607
- Skipping chunks when using pt-online-schema-changePT-1583Resolved issue: PT-1583
- Foreign key name on child table grows with multiple underscoresPT-1582
- pt-table-checksum and pt-osc slow if PK contains ENUM fieldPT-1567Resolved issue: PT-1567Carlos Salguero
- pt-online-schema-change --data-dir fails to change directoryPT-1512Resolved issue: PT-1512
- ``pt-online-schema-change`` was not recognizing the slave with multi-source replication active.PT-1502Resolved issue: PT-1502Carlos Salguero
- pt-online-schema-change: add ignore_code like a paramPT-1493Carlos Salguero
- pt-online-schema-change stop with error 1287 mysql: The partition engine, used by table XXX is deprecated and will be removed in a future release. Please use native partitioning instead.PT-1480Resolved issue: PT-1480Carlos Salguero
- pt-online-schema-change error with underscore starting FKsPT-1473Resolved issue: PT-1473
- LP #1733283: pt-online-schema-change slave-user and slave-password ignored when recursion-method is dsnPT-1460Resolved issue: PT-1460
- LP #1727137: pt-online-schema change fails if foreign key name is too longPT-1453Resolved issue: PT-1453
- LP #1675687: pt-online-schema-change crashes with perl malloc errorPT-1419Resolved issue: PT-1419
- LP #1634649: pt-online-schema-change errors out on a binary primary key utf8 starting with 5.5.46.5 and later versions (even 5.6)PT-1388Resolved issue: PT-1388
- LP #1615520: pt-online-schema-change did not finished on 100% progress.PT-1382Resolved issue: PT-1382
- LP #1597497: pt-online-schema change resulted in lost tablePT-1369
- LP #1595678: pt-online-schema-change does not allow to specify user to check slave if --recursion-method processlist or host is usedPT-1366Resolved issue: PT-1366
- LP #1593184: pt-online-schema-change incorrectly reports to not drop tablesPT-1359Resolved issue: PT-1359
- LP #1589996: pt-online-schema-change --dry-run does not connect to slavesPT-1354
- LP #1589972: pt-online-schema-change segfault with syntax error on alterPT-1353Resolved issue: PT-1353
- LP #1557440: speedup pt-online-schema-change dropping and recreating secondary indexesPT-1335
- LP #1542291: pt-osc rebuild constraint can be faster since 5.6PT-1327Resolved issue: PT-1327Carlos Salguero
- LP #1532681: pt-osc is not run with column that default value is 0000-00-00 00:00:00PT-1322Resolved issue: PT-1322
- LP #1531896: Add required MySQL privileges to pt-online-schema-change documentationPT-1321Resolved issue: PT-1321dmitriy.kostiuk
- LP #1482783: Documentation bug on pt-osc --check-plan?PT-1296
- LP #1472779: core dump - Can't connect to MySQL server on '10.0.2.148' (111) at /usr/local/bin/pt-online-schema-change line 2262PT-1293Resolved issue: PT-1293
- LP #1460783: pt-online-schema-change - using dsn only picks up last IP address givenPT-1286Resolved issue: PT-1286
- LP #1428812: pt-online-schema-change foreign keyPT-1271
- LP #1386799: Please add more ptosc timestampsPT-1247
- LP #1350478: incorrect command line example when innodb_lock_wait_timeout error occursPT-1235Resolved issue: PT-1235
- LP #1348498: Multimaster, row-based replication: This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table'PT-1234Resolved issue: PT-1234
- LP #1338488: pt-online-schema-change script returns 1 even when there is no errorPT-1232Resolved issue: PT-1232
PXC 8.0 crashes while acquiring metadata lock
Description
Environment
AFFECTED CS IDs
Attachments
Smart Checklist
Details
Details
Assignee
Reporter
Affects versions
Priority
Smart Checklist
Smart Checklist
Activity
Danila Stroganov May 19, 2024 at 5:07 PM
Is this a duplicate of:
Przemyslaw Malkowski February 8, 2023 at 8:04 AM
A very similar crash happened in PXC 8.0.30, with some additional backtrace lines:
We don't have a core dump from this one though.
Aaditya Dubey August 26, 2022 at 10:25 AM
Hi ,
Thank you for your report. What I see is that it fails consistently the same, so this is a piece of good news.
Would it be possible to provide me with more information?
core file. That would help investigate the problem a lot. (here is how to setup the env to collect core files: https://www.percona.com/blog/2011/08/26/getting-mysql-core-file-on-linux/)
Do you have an isolated/minimal test case that reproduces the problem?
Please tell me more about your configuration. What is the cluster configuration? Are you able to trigger it on 1 node cluster? Writes go to 1 node or all nodes?
What is the other workload during the DDL which crashes?
Provide logs with increased verbosity
Let's start with the highest level of verbosity:
wsrep_min_log_verbosity=3
wsrep_debug=CLIENTand add debug=yes to wsrep_provider_options (wsrep_provider_options="debug=yes; other options ")
If enabling these logs causes it to stabilize, you may try to decrease logging verbosity step by step by changing wsrep_debug value (from highest to lowest) CLIENT > STREAMING > TRANSACTION > SERVER > NONE (default, but setting it to NONE brings us back to the point where we are now)
Awaiting your response.
Kamil Holubicki August 23, 2022 at 11:15 AMEdited
Hi ,
Thank you for your report. What I see is that it fails consistently the same, so this is a piece of good news.
Would it be possible to provide me with more information?
core file. That would help investigate the problem a lot. (here is how to setup the env to collect core files: https://www.percona.com/blog/2011/08/26/getting-mysql-core-file-on-linux/)
Do you have an isolated/minimal test case that reproduces the problem?
Please tell me more about your configuration. What is the cluster configuration? Are you able to trigger it on 1 node cluster? Writes go to 1 node or all nodes?
What is the other workload during the DDL which crashes?
Provide logs with increased verbosity
Let's start with the highest level of verbosity:
wsrep_min_log_verbosity=3
wsrep_debug=CLIENT
and add debug=yes to wsrep_provider_options (wsrep_provider_options="debug=yes; other options ")
If enabling these logs causes it to stabilize, you may try to decrease logging verbosity step by step by changing wsrep_debug value (from highest to lowest) CLIENT > STREAMING > TRANSACTION > SERVER > NONE (default, but setting it to NONE brings us back to the point where we are now)
PXC 8.0 crashes while acquiring metadata lock by a DDL statement, please check the stack traces attached.
It happens while executing regular DDL statements or when using pt-online-schema-change:
Stack trace:
The following bug reports look similar, but I'm not sure if they are related:
https://jira.percona.com/browse/PXC-2629
https://jira.mariadb.org/browse/MDEV-28460