Commit 839325f
Fixing Redo Log file open mode from InnoDB Clone
Summary:
This diff fixes https://bugs.mysql.com/bug.php?id=97755
Prior to this diff, at clone plugin file sync phase, it opened
InnoDB redo log file with the same file option as data files,
not redo log file specific options. This particularly caused
problems with innodb_flush_method=O_DIRECT. InnoDB redo log files
are always opened without O_DIRECT. However prior to this diff,
clone plugin opened InnoDB redo log files with O_DIRECT (since
it referred data file option) and hit offset errors.
This diff fixes it -- using redo log specific option, which means
O_DIRECT is not passed, so no offset error happens anymore.
Reviewed By: hermanlee
Differential Revision: D37231218
fbshipit-source-id: 1caa4f3f8d762055b3df6768f5fad575e3d184c21 parent e7b957c commit 839325f
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
| 1197 | + | |
1197 | 1198 | | |
1198 | 1199 | | |
1199 | 1200 | | |
1200 | 1201 | | |
1201 | 1202 | | |
1202 | 1203 | | |
1203 | 1204 | | |
1204 | | - | |
1205 | | - | |
| 1205 | + | |
| 1206 | + | |
1206 | 1207 | | |
1207 | 1208 | | |
1208 | 1209 | | |
| |||
0 commit comments