Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle optimistic locking failure #1

Open
eliezio opened this issue Jun 25, 2019 · 0 comments
Open

Handle optimistic locking failure #1

eliezio opened this issue Jun 25, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@eliezio
Copy link
Owner

eliezio commented Jun 25, 2019

The Pki#revoke() uses optimistic locking and will likely throw JpaOptimisticLockingFailureException in the face of multiple attempts to revoke the same certificate.
The operation must fail and the server must return SC=409 (https://httpstatuses.com/409).

@eliezio eliezio added the bug Something isn't working label Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant