Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2153

Servers delete tmp files before obtaining directory lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.2.0, 1.3.1, 1.4.0, 1.5.0
    • 1.7.0, 1.8.0
    • fs
    • None

    Description

      In FsManager::Open() we currently call DeleteTmpFiles very early, before starting the block manager. This means that, if you accidentally start a tserver while another is running, it's possible for it to delete temporary files that are in-use by the running tserver, causing it to exhibit strange behavior, crash, etc (as in KUDU-2152).

      Attachments

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: