Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.3.6
Description
The test innodb.101_compatibility occasionally fails, because the flags for the tables tdd and tp are not always converted back. Thus, the second attempt of corrupting the flags will corrupt garbage to garbage, and cause test failure.
This started failing related to one or two MDEV-12266 commits affecting the function fsp_flags_try_adjust(). The fix should be simple:
diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc
|
index fe7af34be2e..3f3b75332e6 100644
|
--- a/storage/innobase/fil/fil0fil.cc
|
+++ b/storage/innobase/fil/fil0fil.cc
|
@@ -4156,7 +4156,7 @@ void fsp_flags_try_adjust(fil_space_t* space, ulint flags)
|
{
|
ut_ad(!srv_read_only_mode);
|
ut_ad(fsp_flags_is_valid(flags, space->id));
|
- if (!space->size) {
|
+ if (!space->size && !fil_space_get_size(space->id)) {
|
return;
|
}
|
/* This code is executed during server startup while no |
Attachments
Issue Links
- is caused by
-
MDEV-12266 Reduce the number of InnoDB tablespace lookups
- Closed