Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2861

remove deadcode in GemFireCacheImpl and DiskStoreImpl for DiskStoreTaskPool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.0-incubating
    • 1.3.0
    • persistence

    Description

      Both GemFireCacheImpl and DiskStoreImpl have deadcode related to shutting down the DiskStoreTaskPool.

      On DiskStoreImpl see these methods:
      stopDiskStoreTaskPool
      shutdownPool
      On GemFireCacheImpl the field diskStoreTaskPool is always null.

      Note that a bug exists in this deadcode that causes it to not call taskCancelled as it iterates over a list of runnables. Since this code is dead it is currently doing no harm but if the code is not removed then make sure and fix this loop.

      Attachments

        Issue Links

          Activity

            People

              nreich Nick Reich
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: