Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5597

Fix the history store file access during recovery

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Storage Engines 2020-02-24

      History store file access during recovery flow when it is not present as part of the metadata file has the following two problems.

      • During recovery checkpoint, if the history store file is not part of the checkpoint, we get an error as No such file or directory. Need to ignore that error and continue with the rest of the checkpoint operation.
      • As part of the connection open, history store file gets recreated every time. When the file is part of the metadata file, it doesn't create any more. But in some scenarios, it is possible that history store file exist in the directory but in the metadata file. In those scenarios, we should remove the existing history store file and recreate it again.

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: