Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.1.22
-
Centos 7
Description
Hello,
on one of our MariaDB Servers (running Piwik) we observe lot's of Database Page corruptions.
Since it's running on the same SSD SAN as dozens of other MySQL/MariaDB/Percona SQL Servers I can exclude the Storage as the Source of the Problem.
Also several other DB Servers on same Hardware Node show no such Problems.
Could there be some kind of Bug? Already restored some of those Tables several times because of the Page corruptions ... I attached Log File starting with 28.03.2017 - at this Date all Tables were working. (restored some crashed Tables on 27.03.2017)
Today again:
mysqlcheck --all-databases --auto-repair
|
Repairing tables
|
piwik.piwik_archive_blob_2015_07
|
Error : Table 'piwik.piwik_archive_blob_2015_07' doesn't exist in engine
|
status : Operation failed
|
|
ll /var/lib/mysql/piwik/piwik_archive_blob_2015_07*
|
-rw-rw---- 1 mysql mysql 2380 Apr 2 03:09 /var/lib/mysql/piwik/piwik_archive_blob_2015_07.frm
|
-rw-rw---- 1 mysql mysql 364904448 Apr 2 03:10 /var/lib/mysql/piwik/piwik_archive_blob_2015_07.ibd
|
Andreas Schnederle-Wagner
Attachments
Issue Links
- relates to
-
MDEV-26933 InnoDB fails to detect page number mismatch
-
- Closed
-
-
MDEV-31347 fil_ibd_create() may hijack the file handle of an old file
-
- Closed
-
Hey @Marko Mäkelä,
it turned out that the ploop defragmentation of Virtuozzo 6 Storage sometimes corrupted IBD Files within Containers. Virtuozzo Devs tried to find the Problem but had no luck. (Virtuozzo Support Case: 15178)
Virtuozzo Support:
...
I have spoken with the responsible developer, so far there is no clue how this corruption could happen,
with all the debug trace we have for defrag operations there are completely no evidence that something may go wrong.
Now we are thinking of a way to add debug for IO that was created not by defrag but by MariaDB.
---
It turns out that we cannot make a sufficient debug method without affecting ploop performance.
...
Since it was not reproduceable on a Test Container - but only on the Live Container which was productive and we couldn't accept downtimes on this one the research was stopped and in the next steps we moved to Virtuozzo 7.
No corruptions within Virtuozzo 7 Containers so far. So I guess it must be something really specific between MariaDB + Virtuozzo 6 Ploop Defrag .... guess the Details will remain a mystery ... :-/
Thank you for your help on this, bye from sunny Austria
Andreas