Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1842

eviction fails in jdbc cache-store

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Blocker
    • 3.2.0.Final
    • 3.1.3.Final
    • Storage
    • None

    Description

      Infinispan configuration:

      <local-cache name="sample">
          <transaction mode="NON_XA" locking="PESSIMISTIC"/>
          <eviction strategy="LRU" max-entries="100"/>
          <string-keyed-jdbc-store datasource="java:jboss/datasources/PostgresqlDS" shared="false" preload="false" passivation="false" purge="false">
              <write-behind flush-lock-timeout="1" modification-queue-size="1024" shutdown-timeout="25000" thread-pool-size="1"/>
              <property name="databaseType">
                  POSTGRES
              </property>
              <string-keyed-table prefix="wcm_content">
                  <id-column name="id" type="VARCHAR(200)"/>
                  <data-column name="datum" type="BYTEA"/>
                  <timestamp-column name="version" type="BIGINT"/>
              </string-keyed-table>
          </string-keyed-jdbc-store>
      </local-cache>
      

      Is creating NPE exceptions with eviction enabled.

      If I disable eviction we don't have exceptions.

      Attached test case.

      Attachments

        1. server.log
          21 kB
        2. standalone-modeshape.xml
          24 kB
        3. VersioningTest.java
          4 kB

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            lponce@redhat.com Lucas Ponce
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: