Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2447

Checkpoint dir removal should only search in valid store dirs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • None
    • None

    Description

      removeOldCheckpoints in TransactionalStateTaskStorageManager currently treats every file in the logged store base directory as if it is a directory; not always true as there is no guarantee that the base directory has only stores in it (there could be other files unrelated to stores depending on how the user has configured the directory).

      We should only be calling listFiles on files that we know to be directories.

      Bonus points if we can search only directories we know to be stores

      Attachments

        Issue Links

          Activity

            People

              bkonold Brett Konold
              bkonold Brett Konold
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m