Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-419

Old slave directories should not be garbage collected based on file modification time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      Since running executors, do not change the modification time of the slave work directory, it would be bad to schedule old slave directories for deletion based on their mod time. Instead, these work directories should be scheduled for gc based on the 'gc_delay' flag.

      At Twitter, this manifested as task directories getting immediately gc'ed when long running slaves were rolled for an upgrade.

      Attachments

        Activity

          People

            vinodkone Vinod Kone
            vinodkone Vinod Kone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: