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

Infinispan SingleFileStore exception handling

    XMLWordPrintable

Details

    • Undefined

    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

              mshikalw Moulali Shikalwadi
              rhn-support-dereed Dennis Reed
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: