[MDEV-17221] Production Database restarted Created: 2018-09-17  Updated: 2019-02-05  Resolved: 2018-10-31

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.2.14
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Syed Tausiff Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback
Environment:

Linux version 3.10.0-862.3.3.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Jun 15 04:15:27 UTC 2018

Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 653
Server version: 10.2.14-MariaDB-10.2.14+maria~jessie mariadb.org binary distribution


Attachments: Text File Error.log     Text File Tableinfo&Indexinfo.txt     Text File globalvariables.txt    
Issue Links:
PartOf
includes MDEV-18486 Database crash on a table with indexe... Closed
is part of MDEV-12726 Segmentation fault in MariaDB 10.1.23... Closed

 Description   

DB got restarted in Production environment.

Table is marked as crashed and should be repaired. All crashed tables are ISAM tables, INNODB tables are fine and not crashing in the database. Insert and Updates are run on this crashing tables



 Comments   
Comment by Syed Tausiff [ 2018-09-18 ]

Any Update on the issue ?? This is critical production issue

Comment by Elena Stepanova [ 2018-09-20 ]

Is it reproducible by re-running the same query? I assume it must be, if you are saying it's a critical production issue.
Please provide the output of

SHOW CREATE TABLE product_matching_candidates;
SHOW INDEX IN product_matching_candidates;
SHOW GLOBAL VARIABLES;

Comment by Syed Tausiff [ 2018-09-21 ]

[^Tableinfo&Indexinfo.txt globalvariables.txt ]

Including Attachments and waiting for reply.

Comment by Syed Tausiff [ 2018-09-21 ]

Are you waiting for anything from my end ?

Comment by Elena Stepanova [ 2018-10-02 ]

Are you waiting for anything from my end ?

Actually yes, an answer to the question "Is it reproducible by re-running the same query?"

Comment by Syed Tausiff [ 2018-10-03 ]

We are not able to reproduce the crash every time we ran the query and Table is crashing due to Select,alter,update and insert queries.
We do not have a continuous crash.
We narrowed down the issue and found its because of stored generated field in the table.

Can you confirm us if there is any bug in stored generated column's ?

Comment by Elena Stepanova [ 2018-10-03 ]

We have some known bugs related to virtual generated columns, although i can't find anything obviously related about stored columns. We might still have something, but due to a missing stack trace in the error log we cannot match this crash with any particular known bug. Would you be able to acquire a coredump and run gdb --batch --eval-command="thread apply all bt" <path to mysqld binary> <path to coredump> on it?

Comment by Syed Tausiff [ 2019-01-23 ]

Hi,

Can you provide any other solution or is it mandatory to run acquire a coredump and run gdb --batch --eval-command="thread apply all bt" <path to mysqld binary> <path to coredump> ?

We are still having this issue. To make a note this database is in docker and there are stored generated columns in the tables, either one of the above things is causing crash ?

Comment by Elena Stepanova [ 2019-01-23 ]

An alternative solution would be to acquire a support contract, as it's customary for critical production environments. In this case support engineers could assist you at investigating the problem. If you already have a support contract, please submit a support ticket.

Generated at Thu Feb 08 08:34:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.