Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-242

PK violation on startup

XMLWordPrintable

      When booting the server, the following exception can be seen on certain circumstances:

      Caused by: org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "CONSTRAINT_INDEX_9 ON PUBLIC.OPERATION(NAME) VALUES ( /* 157 */ 'update-tenant' )"; SQL statement: insert into Operation (createdAt, updatedAt, name, id) values (?, ?, ?, ?) [23505-173]

      How to reproduce:

      • boot the server
      • shutdown the server
      • remove the data and tmp directories
      • boot the server again
      • login with jdoe/password

            jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
            jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: