Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4730

CacheStore is cleared after stopped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.0.0.Beta1
    • Loaders and Stores
    • None

    Description

      When a RemoveCacheCommand.perform() is called, the component registry is stopped and after that, all cache stores are cleared.

      I believe that it's not correct to call the clear method when the store is in stopped state, and some cachestores don't anticipate that (such as SingleFileStore which throws NullPointerException).

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: