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

Retry Windows functions on access denied

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT3.2.0, 4.1.8, 4.0.7
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Engines 2019-01-14, Storage Engines 2019-01-28
    • v4.0

      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.

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

              Created:
              Updated:
              Resolved: