This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-e053211e-136f-4976-9e60-8d3d207869d2 XWIKI-22511 Open

The cluster can lead to an inconsistent state of the cached XWikiDocument instance

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-69757d5c-7f01-4550-8fe4-83200eb74c13 Thomas Mortagne created this issue on 17/Sep/24 03:48
 
Summary: The cluster can lead to an inconsistent state of the cached document
Issue Type: cid:jira-generated-image-avatar-e053211e-136f-4976-9e60-8d3d207869d2 Bug
Affects Versions: 2.0 M4
Assignee: Unassigned
Components: Old Core
Created: 17/Sep/24 03:48
Priority: cid:jira-generated-image-static-major-b5205bc3-9e9c-4246-b9fd-2805c8792e72 Major
Reporter: Thomas Mortagne
Description:

When receiving a document related event, the document is gathered from the cache, and the original document is modified to be consistent from listeners point of view.

The problem is that what is good for listeners is also wrong for the cache and a document with a bad original document (in the cache the original document should be always be identical to the document) is left in the cache.

 
 

2 updates

 
cid:jira-generated-image-avatar-69757d5c-7f01-4550-8fe4-83200eb74c13 Changes by Thomas Mortagne on 17/Sep/24 03:56
 
Summary: The cluster can lead to an inconsistent state of the cached document XWikiDocument instance
Description: When receiving a document related event, the document XWikiDocument is most of the time gathered from the cache, and the original document is modified to be consistent from listeners point of view.

The problem is that what is good for listeners is also wrong for the cache and a document with a bad original document (in the cache the original document should be always be identical to the document) is left in the cache.