[MDEV-16608] Clustered record for sec rec not found index `timestamp` of table `x`.`sessions` Created: 2018-06-28  Updated: 2018-11-01  Resolved: 2018-11-01

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.2.15
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Pilar Iglesias Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback
Environment:

Docker version 18.03.0-ce, Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64


Attachments: Text File 220618.txt     Text File crash 280818.txt     File innodb.cnf     File mariadb.cnf     File master.cnf     File my.cnf     File mysqld_safe_syslog.cnf     File server.cnf     File slave.cnf     Text File tijeras 030718.txt     File tokudb.cnf    

 Description   

Frecuently, I have corruptions in my mariadb enviroment such as this:

2018-06-27 16:24:29 140642090493696 [ERROR] InnoDB: Clustered record for sec rec not found index `timestamp` of table `x`.`sessions`
 
 
InnoDB: sec index record PHYSICAL RECORD: n_fields 3; compact format; info bits 0
 
 
 0: len 4; hex db2ecc2a; asc  . *;;
 
 
 1: len 30; hex 3374394332527462787047576f5266566d5f61634b306d4f633439616f69; asc 3t9C2RtbxpGWoRfVm_acK0mOc49aoi; (total 43 bytes);
 
 
 2: len 0; hex ; asc ;;
 
 
 
 
InnoDB: clust index record PHYSICAL RECORD: n_fields 9; compact format; info bits 32
 
 
 0: len 30; hex 334b724636655663366d53354b735f41735f68713138556652325769716d; asc 3KrF6eVc6mS5Ks_As_hq18UfR2Wiqm; (total 43 bytes);
 
 
 1: len 0; hex ; asc ;;
 
 
 2: len 6; hex 000005090527; asc      ';;
 
 
 3: len 7; hex 6d00006d482854; asc m  mH(T;;
 
 
 4: len 4; hex 00000000; asc     ;;
 
 
 5: len 13; hex 36362e3234392e37362e313530; asc 66.249.76.150;;
 
 
 6: len 4; hex db2d408d; asc  -@ ;;
 
 7: len 4; hex 80000000; asc     ;;
 
 8: len 30; hex 746974616e69617c613a313a7b733a31333a2263757272656e74436c6965; asc titania|a:1:{s:13:"currentClie; (total 1491 bytes);
 
TRANSACTION 84477223, ACTIVE 0 sec fetching rows
 
mysql tables in use 1, locked 1
 
31 lock struct(s), heap size 3520, 143 row lock(s), undo log entries 71
 
MySQL thread id 332134, OS thread handle 140642090493696, query id 26507658 192.168.1.x x updating
 
DELETE FROM sessions 
 
WHERE  (timestamp < '1529916667')
 
InnoDB: Submit a detailed bug report to https://jira.mariadb.org/



 Comments   
Comment by Alice Sherepa [ 2018-06-29 ]

Please upload full error log.

Comment by Pilar Iglesias [ 2018-07-02 ]

I've uploaded the full error log, three days ago.

Comment by Elena Stepanova [ 2018-07-17 ]

Did you check system logs for possible disk problems? Last time when the same error was reported, it was apparently related to disk issues: MDEV-8797.

According to the log, it always happens on the same table. Assuming you rule out disk issues and still have the problem, could you please provide the output of

SHOW CREATE TABLE lacopisteriadelpapiol_com;
SHOW INDEX IN lacopisteriadelpapiol_com;
CHECK TABLE lacopisteriadelpapiol_com;

and your cnf file(s).
Thanks.

Comment by Pilar Iglesias [ 2018-07-30 ]

I've atached all the configurations files from our mariadb server.
It is a replication configuration master-master.
I've fixed that problem, so I can´t provide now that table. However, it is happening every week, so I will provide you soon that information with other corrupt table.
Thanks.

Comment by Pilar Iglesias [ 2018-08-06 ]

Which feedback do you need? I've provided you all information that you have asked for.

Comment by Pilar Iglesias [ 2018-08-06 ]

Sorry I forgot the corruption data tables.
I have other corruption today, and the information is the following:
SHOW CREATE TABLE `daviainformatica_com`.`sessions`;

Table                                                            Create Table                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
---------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 
sessions                                                         CREATE TABLE `sessions` (                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                   `uid` int(10) unsigned NOT NULL COMMENT 'The users.uid corresponding to a session, or 0 for anonymous user.',                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                   `sid` varchar(128) NOT NULL COMMENT 'A session ID. The value is generated by Drupal’s session handlers.',                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                   `ssid` varchar(128) NOT NULL DEFAULT '' COMMENT 'Secure session ID. The value is generated by Drupal’s session handlers.',                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                   `hostname` varchar(128) NOT NULL DEFAULT '' COMMENT 'The IP address that last used this session ID (sid).',                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                   `timestamp` int(11) NOT NULL DEFAULT 0 COMMENT 'The Unix timestamp when this session last requested a page. Old records are purged by PHP automatically.',                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                   `cache` int(11) NOT NULL DEFAULT 0 COMMENT 'The time of this user’s last post. This is used when the site has specified a minimum_cache_lifetime. See cache_get().',                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                   `session` longblob DEFAULT NULL COMMENT 'The serialized contents of $_SESSION, an array of name/value pairs that persists across page requests by this session ID. Drupal loads $_SESSION from here at the start of each request and saves it at the end.',                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                   PRIMARY KEY (`sid`,`ssid`),                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                   KEY `timestamp` (`timestamp`),                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
                                                                   KEY `uid` (`uid`),                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
                                                                   KEY `ssid` (`ssid`)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Drupal’s session handlers read and write into the...'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

SHOW INDEX IN `daviainformatica_com`.`sessions`;

TABLE_NAME                                                       NON_UNIQUE INDEX_NAME                                                       SEQ_IN_INDEX COLUMN_NAME                                                      COLLATION CARDINALITY           SUB_PART PACKED     NULLABLE INDEX_TYPE       COMMENT          INDEX_COMMENT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
---------------------------------------------------------------- ---------- ---------------------------------------------------------------- ------------ ---------------------------------------------------------------- --------- --------------------- -------- ---------- -------- ---------------- ---------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
sessions                                                         0          PRIMARY                                                          1            sid                                                              A         368                                                BTREE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
sessions                                                         0          PRIMARY                                                          2            ssid                                                             A         368                                                BTREE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
sessions                                                         1          timestamp                                                        1            timestamp                                                        A         2                                                  BTREE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
sessions                                                         1          uid                                                              1            uid                                                              A         2                                                  BTREE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
sessions                                                         1          ssid                                                             1            ssid                                                             A         2                                                  BTREE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

CHECK TABLE `daviainformatica_com`.`sessions`;

Table                                                                                                                            Op         Msg_type   Msg_text                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
-------------------------------------------------------------------------------------------------------------------------------- ---------- ---------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
daviainformatica_com.sessions                                                                                                    check      Warning    InnoDB: Index timestamp is marked as corrupted                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
daviainformatica_com.sessions                                                                                                    check      Warning    InnoDB: Index uid is marked as corrupted                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
daviainformatica_com.sessions                                                                                                    check      Warning    InnoDB: Index ssid is marked as corrupted                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
daviainformatica_com.sessions                                                                                                    check      error      Corrupt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

Thanks.

Comment by Pilar Iglesias [ 2018-08-09 ]

Also, I had this error. I've put here because I have the configuration and all the other things.
Maybe it is for the same problem.

 
2018-08-09 03:56:22 0x7f26be7fc700  InnoDB: Assertion failure in file /home/buildbot/buildbot/build/mariadb-10.2.14/storage/innobase/btr/btr0sea.cc line 1446
 
 
InnoDB: Failing assertion: index->id == btr_page_get_index_id(page)
 
 
InnoDB: We intentionally generate a memory trap.
 
 
InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
 
 
InnoDB: If you get repeated assertion failures or crashes, even
 
 
InnoDB: immediately after the mysqld startup, there may be
 
 
InnoDB: corruption in the InnoDB tablespace. Please refer to
 
 
InnoDB: https://mariadb.com/kb/en/library/xtradbinnodb-recovery-modes/
 
 
InnoDB: about forcing recovery.
 
 
180809  3:56:22 [ERROR] mysqld got signal 6 ;
 
 
This could be because you hit a bug. It is also possible that this binary
 
 
or one of the libraries it was linked against is corrupt, improperly built,
 
 
or misconfigured. This error can also be caused by malfunctioning hardware.
 
 
 
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
 
 
 
We will try our best to scrape up some info that will hopefully help
 
 
diagnose the problem, but since we have already crashed, 
 
 
something is definitely wrong and this may fail.
 
 
 
Server version: 10.2.14-MariaDB-10.2.14+maria~jessie-log
 
 
key_buffer_size=134217728
 
 
read_buffer_size=2097152
 
 
max_used_connections=10
 
 
max_threads=502
 
 
thread_count=19
 
 
It is possible that mysqld could use up to 
 
 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 3226057 K  bytes of memory
 
 
Hope that's ok; if not, decrease some variables in the equation.
 
 
 
Thread pointer: 0x7f26b40009a8
 
 
Attempting backtrace. You can use the following information to find out
 
 
where mysqld died. If you see no messages after this, something went
 
 
terribly wrong...
 
 
stack_bottom = 0x7f26be7fbd88 thread_stack 0x49000
 
 
mysqld(my_print_stacktrace+0x2e)[0x559e5301656e]
 
 
mysqld(handle_fatal_signal+0x345)[0x559e52a95495]
 
 
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf890)[0x7f273276e890]
 
 
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f2730af9067]
 
 
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f2730afa448]
 
 
mysqld(+0x42009e)[0x559e5282d09e]
 
 
mysqld(+0x9a76f8)[0x559e52db46f8]
 
 
mysqld(+0x9a7a9b)[0x559e52db4a9b]
 
 
mysqld(+0x99c12d)[0x559e52da912d]
 
 
mysqld(+0x8f6ee5)[0x559e52d03ee5]
 
 
mysqld(+0x8f829c)[0x559e52d0529c]
 
 
mysqld(+0x8f374f)[0x559e52d0074f]
 
 
mysqld(+0x8f42d6)[0x559e52d012d6]
 
 
mysqld(+0x8f6053)[0x559e52d03053]
 
 
mysqld(+0x8b2588)[0x559e52cbf588]
 
 
mysqld(+0x924cd4)[0x559e52d31cd4]
 
 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8064)[0x7f2732767064]
 
 
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f2730bac62d]
 
 
 
Trying to get some variables.
 
 
Some pointers may be invalid and cause the dump to abort.
 
 
Query (0x0): 
 
 
Connection ID (thread ID): 2
 
 
Status: NOT_KILLED
 
 
 
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
 
 
 
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
 
 
information that should help you find out what is causing the crash.
 
 
Fatal signal 11 while backtracing
 
 
2018-08-09  3:56:25 140161048729472 [Note] mysqld (mysqld 10.2.14-MariaDB-10.2.14+maria~jessie-log) starting as process 1 ...
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Uses event mutexes
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Compressed tables use zlib 1.2.8
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Using Linux native AIO
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Number of pools: 1
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Using SSE2 crc32 instructions
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Initializing buffer pool, total size = 512M, instances = 1, chunk size = 128M
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Completed initialization of buffer pool
 
 
2018-08-09  3:56:25 140159371609856 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Highest supported file format is Barracuda.
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Starting crash recovery from checkpoint LSN=714402868285
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Transaction 166155923 was in the XA prepared state.
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: 1 transaction(s) which must be rolled back or cleaned up in total 0 row operations to undo
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Trx id counter is 166156288
 
 
2018-08-09  3:56:25 140161048729472 [Note] InnoDB: Starting final batch to recover 440 pages from redo log.
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: Last binlog file './master1-bin.004454', position 14213575
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: 128 out of 128 rollback segments are active.
 
 
2018-08-09  3:56:26 140159466329856 [Note] InnoDB: Starting in background the rollback of recovered transactions
 
 
2018-08-09  3:56:26 140159466329856 [Note] InnoDB: Rollback of non-prepared transactions completed
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: Creating shared tablespace for temporary tables
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: Waiting for purge to start
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: 5.7.21 started; log sequence number 714403133250
 
 
2018-08-09  3:56:26 140158598899456 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
 
 
2018-08-09  3:56:26 140161048729472 [Note] Plugin 'FEEDBACK' is disabled.
 
 
2018-08-09  3:56:26 140161048729472 [Note] Recovering after a crash using master1-bin
 
 
2018-08-09  3:56:26 140161048729472 [Note] Starting crash recovery...
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: Starting recovery for XA transactions...
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: Transaction 166155923 in prepared state after recovery
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: Transaction contains changes to 1 rows
 
 
2018-08-09  3:56:26 140161048729472 [Note] InnoDB: 1 transactions in prepared state after recovery
 
 
2018-08-09  3:56:26 140161048729472 [Note] Found 1 prepared transaction(s) in InnoDB
 
 
2018-08-09  3:56:26 140161048729472 [Note] Crash recovery finished.
 
 
2018-08-09  3:56:27 140161048729472 [Note] Server socket created on IP: '::'.
 
 
2018-08-09  3:56:27 140161048729472 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode.
 
 
2018-08-09  3:56:27 140161048729472 [Note] Reading of all Master_info entries succeded
 
 
2018-08-09  3:56:27 140161048729472 [Note] Added new Master_info '' to hash table
 
 
2018-08-09  3:56:27 140160893294336 [Note] Slave SQL thread initialized, starting replication in log 'master2-bin.000020' at position 344, relay log '/var/lib/mysql/relay-bin.000014' position: 557
 
 
2018-08-09  3:56:27 140161048729472 [Note] mysqld: ready for connections.
 
 
Version: '10.2.14-MariaDB-10.2.14+maria~jessie-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 33061  mariadb.org binary distribution
 
 
2018-08-09  3:56:27 140160893597440 [Note] Slave I/O thread: connected to master 'slave@192.168.1.219:33061',replication started in log 'master2-bin.000020' at position 344
 
 
2018-08-09  3:56:37 140158598899456 [Note] InnoDB: Buffer pool(s) load completed at 180809  3:56:37
 
 
2018-08-09  3:57:23 140160889366272 [Note] Start binlog_dump to slave_server(2), pos(master1-bin.004454, 14213967)
 
 
2018-08-09  9:25:23 140159352403712 [Warning] Aborted connection 20234 to db: 'tienda_distrisantiago_es' user: 'tienda_distrisantiago_es' host: '192.168.1.216' (Got an error reading communication packets)
 
 
2018-08-09  9:26:20 140159457937152 [Warning] Aborted connection 20334 to db: 'tienda_distrisantiago_es' user: 'tienda_distrisantiago_es' host: '192.168.1.216' (Got an error reading communication packets)
 
 
2018-08-09 10:35:01 140159457937152 [Warning] Aborted connection 28721 to db: 'b2cdev_distrisantiago_es' user: 'b2cdev_distrisantiago_es' host: '192.168.1.216' (Got an error reading communication packets)
 
 
2018-08-09 12:27:17 140159351494400 [Warning] Aborted connection 41424 to db: 'b2cdev_distrisantiago_es' user: 'b2cdev_distrisantiago_es' host: '192.168.1.216' (Got an error reading communication packets)
 
 
2018-08-09 12:36:46 140159350585088 [Note] mysqld (initiated by: unknown): Normal shutdown
 
 
2018-08-09 12:36:46 140159350585088 [Note] Event Scheduler: Purging the queue. 0 events
 
 
2018-08-09 12:36:46 140160893294336 [Note] Error reading relay log event: slave SQL thread was killed
 
 
2018-08-09 12:36:46 140160893294336 [Note] Slave SQL thread exiting, replication stopped in log 'master2-bin.000020' at position 344
 
 
2018-08-09 12:36:46 140158984767232 [Note] InnoDB: FTS optimize thread exiting.
 
 
2018-08-09 12:36:46 140160893597440 [Note] Slave I/O thread exiting, read up to log 'master2-bin.000020', position 344
 
 
2018-08-09 12:36:46 140159350585088 [Note] InnoDB: Starting shutdown...
 
 
2018-08-09 12:36:46 140158598899456 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
 
 
2018-08-09 12:36:46 140158598899456 [Note] InnoDB: Instance 0, restricted to 8191 pages due to innodb_buf_pool_dump_pct=25
 
 
2018-08-09 12:36:46 140158598899456 [Note] InnoDB: Buffer pool(s) dump completed at 180809 12:36:46
 
 
2018-08-09 12:36:48 140159350585088 [Note] InnoDB: Shutdown completed; log sequence number 717646102063
 
 
2018-08-09 12:36:48 140159350585088 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
 
 
2018-08-09 12:36:48 140159350585088 [Note] mysqld: Shutdown complete
 
 
 
2018-08-09 12:36:49 140553397778304 [Note] mysqld (mysqld 10.2.14-MariaDB-10.2.14+maria~jessie-log) starting as process 1 ...
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Uses event mutexes
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Compressed tables use zlib 1.2.8
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Using Linux native AIO
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Number of pools: 1
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Using SSE2 crc32 instructions
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Initializing buffer pool, total size = 512M, instances = 1, chunk size = 128M
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Completed initialization of buffer pool
 
 
2018-08-09 12:36:49 140551720937216 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Highest supported file format is Barracuda.
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: 128 out of 128 rollback segments are active.
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Creating shared tablespace for temporary tables
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
 
 
2018-08-09 12:36:49 140553397778304 [Note] InnoDB: 5.7.21 started; log sequence number 717646102063
 
 
2018-08-09 12:36:49 140551429011200 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
 
 
2018-08-09 12:36:49 140553397778304 [Note] Plugin 'FEEDBACK' is disabled.
 
 
2018-08-09 12:36:50 140553397778304 [Note] Server socket created on IP: '::'.
 
 
2018-08-09 12:36:50 140553397778304 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode.
 
 
2018-08-09 12:36:50 140553397778304 [Note] Reading of all Master_info entries succeded
 
 
2018-08-09 12:36:50 140553397778304 [Note] Added new Master_info '' to hash table
 
 
2018-08-09 12:36:50 140553397778304 [Note] mysqld: ready for connections.
 
 
Version: '10.2.14-MariaDB-10.2.14+maria~jessie-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 33061  mariadb.org binary distribution

Thanks.

Comment by Elena Stepanova [ 2018-10-04 ]

pilar, did you try to repair (rebuild) the corrupt table? In a similar report MDEV-16956 the reporter says that the problem disappeared after running mysqlcheck -o.

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