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

Retry Windows functions on access denied

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT3.2.0, 4.1.8, 4.0.7
    • None
    • None
    • Storage Engines 2019-01-14, Storage Engines 2019-01-28
    • v4.0

    Description

      There are several paths where WiredTiger removes files in the WiredTiger namespace that are vulnerable to access errors if that Windows system has some other process accessing the files. It isn't OK that other processes interfere with files in the database directory, but our automated testing sometimes races when shutting down and cleaning up, so having a bit more leniency is helpful. This has led to several false-positive failures if those tests interfere with WiredTiger.

      In WT-3904 we added code to retry log archiving on an access error of this nature. However, there are other times when other files are removed that remain vulnerable to this.

      We should consider moving the retry code from conn_log.c:__log_server to os_win/os_fs.c:__win_fs_remove.

      Attachments

        Activity

          People

            sue.loverso@mongodb.com Susan LoVerso
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: