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

ISPN cache is hung when try to read data from DB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 5.0.0.FINAL
    • Marshalling
    • None

    Description

      Have a look on AbstractMarshaller.objectFromInputStream(InputStream inputStream).
      When inputStream.available() returns 0 (but it doesn't mean that stream is empty) we have never ended cycle below

      while ((bytesRead = inputStream.read(buf, 0, buf.length)) != -1) bytes.write(buf, 0, bytesRead);
      

      I personally can reproduce this with Oracle DB

      Attachments

        Issue Links

          Activity

            People

              manik_jira Manik Surtani (Inactive)
              abazko Anatolii Bazko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: