| Bug #117044 | Builder::finish forgets to record MLOG_INDEX_LOAD for DDL need rebuild table | ||
|---|---|---|---|
| Submitted: | 25 Dec 2024 8:49 | Modified: | 26 Dec 2024 6:41 | 
| Reporter: | George Ma (OCA) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: DDL | Severity: | S3 (Non-critical) | 
| Version: | 8.0.40 | OS: | Any | 
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Backup | ||
   [25 Dec 2024 8:49]
   George Ma        
  
 
   [26 Dec 2024 6:41]
   MySQL Verification Team        
  Hello George Ma, Thank you for the report and feedback. regards, Umesh
   [22 Jul 8:05]
   Ke Yu        
  Not a bug.
The MLOG_INDEX_LOAD will be recored by Context::cleanup() function for DDL need rebuild table. The code is :
```
dberr_t Context::cleanup(dberr_t err) noexcept {
...
      for (auto index = first_index; index != nullptr; index = index->next()) {
        if (m_old_table != m_new_table) {
          // write MLOG_INDEX_LOAD
          Builder::write_redo(index);
        }
      }
...
}
 