Uploaded image for project: 'Zoie'
  1. ZOIE-107

Unable to shutdown SmartReaderCache

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      ZoieSystem.shutdown()
      // Mark the DefaultReaderCache instance for shutdown
      SmartReaderCache.shutdown()
      ZoieSystem.flushEvents(Long.MAX_VALUE)
      AsyncDataConsumer.flushEvents(long t)
      ZoieSystem.syncWithVersion(long t, String v)
      AsyncDataConsumer.syncWithVersion(long t, String v)
      // First call to refresh cache which will mark the
      // maintenance thread as "done"
      SmartReaderCache.refreshCache(long t)
      BatchedIndexDataLoader<R, D>.flushEvents(long t)
      // Second time but now the maintenance thread is not live
      // anymore and cachedreaderTimestamp will not be updated (eternal loop)
      SmartReaderCache.refreshCache(long timeout)

        Attachments

          Activity

            People

            • Assignee:
              jwang John Wang
              Reporter:
              patrik Patrik Brännström
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: