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

Retry Windows functions on access denied

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.0, 4.1.8, 4.0.7
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage Engines 2019-01-14, Storage Engines 2019-01-28
    • Backport Requested:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: