-
Bug
-
Resolution: Fixed
-
Medium
-
2.1.2, 2.1.3, 5.7.4, 5.8.5
-
41
-
Severity 2 - Major
-
14
-
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
In some cases, it's possible for two labels to be created with the same name (even though we do checks for this). It can occur when there are two parallel requests (via the web or XML-RPC), which try to add the same (non-existent) label. Since they're in separate transactions, it's not possible to see that another session is trying to create the label, so both end up in the DB.
Possible solutions to this:
Write a periodic task that merges any duplicate labels (and the affected content)
Isolate the sections of the current transaction in the save process, to narrow the window in which this can occur
Add some sort of read/write filtering to the transaction so the changes can be seen before the transaction ends (??? - Scott's suggestion)
- causes
-
CONFSERVER-5255 HibernateSystemException: "query did not return a unique result" when performing label/space operations
- Closed
-
CONFSERVER-47861 "There is more than one label named 'global_watch' in the 'questions' namespace." log message shows when viewing or editing action.
- Closed
- relates to
-
CONFCLOUD-5254 Duplicate labels can be created
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...