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

Infinispan SingleFileStore exception handling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.3.7.Final, 9.4.22.Final, 11.0.10.Final
    • Fix Version/s: None
    • Component/s: Loaders and Stores
    • Labels:
      None

      Description

      While passivating an entry, SingleFileStore got an exception:

      Caused by: java.nio.channels.ClosedChannelException
      at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:110)
      at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:752)
      at org.infinispan.persistence.file.SingleFileStore.write(SingleFileStore.java:345)
      

      We don't have data to verify the initial cause, but are assuming it's a network file system issue or similar.

      However, after this occurs it never recovers.  Subsequent calls continue trying to use the same broken channel and getting the same exception.

      This should be handled better, such as by catching ClosedChannelException (or a more generic parent) and re-opening the channel.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mshikalw Moulali Shikalwadi
              Reporter:
              dereed Dennis Reed
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: