Alexander Kolbasov created SENTRY-1902:
------------------------------------------

             Summary: TestSentryStore causes ID conflicts on MSentryPermChange
                 Key: SENTRY-1902
                 URL: https://issues.apache.org/jira/browse/SENTRY-1902
             Project: Sentry
          Issue Type: Bug
          Components: Sentry
    Affects Versions: 2.0.0
            Reporter: Alexander Kolbasov


I noticed that TestSentryStore shows this in the logs:

{code}
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.BatchUpdateException: The statement was aborted because it 
would have caused a duplicate key value in a unique or primary key constraint 
or unique index identified by 'SENTRY_PERM_CHANGE_PK' defined on 
'SENTRY_PERM_CHANGE'.
{code}

This causes multiple transaction retries. We need to investigate this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to