diff options
author | Monty <monty@mariadb.org> | 2019-03-14 12:19:32 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2019-03-14 12:19:32 +0200 |
commit | bb8c82c66abddf796e8d44f817518e5ab38ae6e4 (patch) | |
tree | c30974064a873ba4924f180213eb7c57c30bba00 /mysql-test/t/ps_2myisam.test | |
parent | f2f40a17efbb46341114b77310acb0d8113bb6bc (diff) | |
download | mariadb-git-bb8c82c66abddf796e8d44f817518e5ab38ae6e4.tar.gz |
Fixed bug in redo handling of batch insert in Aria
The symptom of the bug was that one got the following in
the aria recovery log:
"Table 'xxx', id 57, has create_rename_lsn (1,0x12dee) more recent than LOGREC_FILE_ID's LSN (1,0x12dc4), ignoring open request"
After this all future redo entries was marked with
"For table of short id 57, table skipped, so skipping record"
Analyze:
When ending batch insert, create_rename_lsn for the table
is updated to signal that earlier redo entries for the
table can't be applied. The problem was that future redo
entries was also ignored as redo code assumed they where
for the old table.
Fixed by calling translog_dessign_id, which causes
future redo entries to be seen as belonging to the
updated table.
Diffstat (limited to 'mysql-test/t/ps_2myisam.test')
0 files changed, 0 insertions, 0 deletions