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

JDBC meta Data table is filled on every startup

XMLWordPrintable

      I refer to this ticket where a meta data table is created in newer infinispan versions:

      https://issues.redhat.com/browse/ISPN-12204

      If I set TableManipulationConfigurationBuilder to createOnStart(false)

      infinispan will create a row in meta data table each time I start infinispan. So the database table will grow and grow. I don't think this is an intended behavior?

      The relevant code is found org.infinispan.persistence.jdbc.impl.table.AbstractTableManager in method updateMetaTable() it will execute an INSERT INTO on every call.

      This method is called at startup from org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore method start().

      So on every startup we have a new row in meta data table. 

              wburns@redhat.com Will Burns
              thaefner Tobias Häfner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: