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

Wrong count for size() if expiration and eviction is configured for <off-heap>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Hide

      Client add entries to a cache configured like this

      <distributed-cache name="ExpirationCache">
      <locking isolation="READ_COMMITTED" striping="false"/>
      <transaction mode="NON_XA" locking="OPTIMISTIC"/>
      <memory>
      <off-heap eviction="COUNT" size="120"/>
      </memory>
      </distributed-cache>

      Show
      Client add entries to a cache configured like this <distributed-cache name="ExpirationCache"> <locking isolation="READ_COMMITTED" striping="false"/> <transaction mode="NON_XA" locking="OPTIMISTIC"/> <memory> <off-heap eviction="COUNT" size="120"/> </memory> </distributed-cache>

      If entries are added and eviction is enabled the client will stuck if the count is reached and fail after a bit with a SocketTimeout.
      The server will continue eviction until the number_of_entries is counted down to "0"

              wburns@redhat.com Will Burns
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: