-
Bug
-
Resolution: Won't Do
-
Low
-
None
-
8.20.10
-
8.2
-
31
-
Severity 3 - Minor
-
10
-
-
Issue Summary
Some customers report "cluster_lock_name_idx" unique constraint violation error in logs. No other issues with application functionality are observed.
Steps to Reproduce
Inconclusive, as of yet. At least in one case it happened after importing to DC "xml-export" from Server instance.
Expected Results
If two nodes attempt to acquire a lock at the same time, unique constraint violation will happen. Such behaviour is expected and if there are no other issues with application functionality, no additional action is required.
Actual Results
The below or similar error is visible in the some database server's logs(for some databases on default logging configuration):
2022-08-18 06:15:17.304 CEST [28256] ERROR: duplicate key value violates unique constraint "cluster_lock_name_idx" 2022-08-18 06:15:17.304 CEST [28256] DETAIL: Key (lock_name)=(sla_issue_update_103176) already exists. 2022-08-18 06:15:17.304 CEST [28256] STATEMENT: insert into public.clusterlockstatus (lock_name, update_time, id) values ($1, $2, $3)
Workaround
There is no workaround, this message is not part of Jira application logs so it cannot be muted by changing Jira's logging configuration.
Please see this Knowledge Base article for details.
- is related to
-
JRASERVER-69114 Provide cluster lock mechanism that can be used with one-off lock names
- Gathering Interest
- relates to
-
JRASERVER-69899 Updating an issue causes TransactionRuntimeException or "current transaction is aborted" errors
- Closed