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

Servers delete tmp files before obtaining directory lock

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.1, 1.4.0, 1.5.0
    • Fix Version/s: 1.7.0, 1.8.0
    • Component/s: fs
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: