Fix missing WT_RET in live_restore_fs.c

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Live Restore
    • None
    • Storage Engines
    • SE Persistence - 2025-07-04
    • 1

      diff --git a/src/live_restore/live_restore_fs.c b/src/live_restore/live_restore_fs.c
      index ccb398bf1e..b4d2f46770 100644
      --- a/src/live_restore/live_restore_fs.c
      +++ b/src/live_restore/live_restore_fs.c
      @@ -1926,7 +1927,7 @@ __live_restore_fs_remove(
           if (layer == WTI_LIVE_RESTORE_FS_LAYER_DESTINATION) {
               WT_ERR(__live_restore_fs_backing_filename(
                 session, lr_fs, WTI_LIVE_RESTORE_FS_LAYER_DESTINATION, name, &path));
      -        lr_fs->os_file_system->fs_remove(lr_fs->os_file_system, wt_session, path, flags);
      +        WT_ERR_ERROR_OK(ENOENT, lr_fs->os_file_system->fs_remove(lr_fs->os_file_system, wt_session, path, flags), false);
           }

       

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: