[ 
https://issues.apache.org/jira/browse/SENTRY-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144219#comment-16144219
 ] 

Alexander Kolbasov commented on SENTRY-1902:
--------------------------------------------

I disabled the concurrent update test and now there are no conflicts. Closing 
this one.

> 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