Commit 477285c
committed
MDEV-31253 Freed data pages are not always being scrubbed
fil_space_t::flush_freed(): Renamed from buf_flush_freed_pages(); this is a backport of aa45850 from 10.6. Invoke log_write_up_to() on last_freed_lsn, instead of avoiding the operation when the log has not yet been written. A more costly alternative would be that log_checkpoint() would invoke this function on every affected tablespace.1 parent 279d012 commit 477285c
3 files changed
+54
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1042 | 1042 | | |
1043 | 1043 | | |
1044 | 1044 | | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
1050 | 1048 | | |
1051 | | - | |
| 1049 | + | |
1052 | 1050 | | |
1053 | | - | |
1054 | 1051 | | |
1055 | 1052 | | |
1056 | 1053 | | |
1057 | 1054 | | |
1058 | 1055 | | |
1059 | 1056 | | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
| 1057 | + | |
1063 | 1058 | | |
1064 | | - | |
1065 | | - | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
1066 | 1070 | | |
1067 | 1071 | | |
1068 | | - | |
| 1072 | + | |
1069 | 1073 | | |
1070 | | - | |
| 1074 | + | |
1071 | 1075 | | |
1072 | 1076 | | |
1073 | 1077 | | |
1074 | 1078 | | |
1075 | 1079 | | |
1076 | | - | |
| 1080 | + | |
1077 | 1081 | | |
1078 | 1082 | | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1084 | 1087 | | |
1085 | 1088 | | |
1086 | 1089 | | |
1087 | 1090 | | |
1088 | | - | |
| 1091 | + | |
1089 | 1092 | | |
1090 | 1093 | | |
1091 | 1094 | | |
1092 | 1095 | | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
1097 | 1099 | | |
1098 | 1100 | | |
1099 | 1101 | | |
1100 | 1102 | | |
1101 | | - | |
| 1103 | + | |
1102 | 1104 | | |
1103 | 1105 | | |
1104 | 1106 | | |
| |||
1225 | 1227 | | |
1226 | 1228 | | |
1227 | 1229 | | |
1228 | | - | |
| 1230 | + | |
1229 | 1231 | | |
1230 | 1232 | | |
1231 | 1233 | | |
| |||
1617 | 1619 | | |
1618 | 1620 | | |
1619 | 1621 | | |
1620 | | - | |
| 1622 | + | |
1621 | 1623 | | |
1622 | 1624 | | |
1623 | 1625 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
731 | 738 | | |
732 | 739 | | |
733 | 740 | | |
| |||
747 | 754 | | |
748 | 755 | | |
749 | 756 | | |
750 | | - | |
| 757 | + | |
751 | 758 | | |
752 | 759 | | |
753 | 760 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
424 | 421 | | |
425 | | - | |
426 | | - | |
| 422 | + | |
| 423 | + | |
427 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
437 | 445 | | |
438 | 446 | | |
439 | 447 | | |
| |||
589 | 597 | | |
590 | 598 | | |
591 | 599 | | |
592 | | - | |
593 | | - | |
594 | 600 | | |
595 | 601 | | |
596 | 602 | | |
| |||
0 commit comments