There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-5f6ec14f-4421-4db9-8eb1-764f39988c85 XWIKI-22807 Open

Livedata REST result have inconsitant result when called currently

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-f5740846-6ed0-456c-b53e-fd37f16ad33a Manuel Leduc on 22/Jan/25 16:31
 

I was able to reproduce, when running the current queries, it seems possible to get twice the same `LiveDataSource` here, so definitely a race condition between concurrent threads.

`

 
cid:jira-generated-image-avatar-f5740846-6ed0-456c-b53e-fd37f16ad33a Manuel Leduc on 22/Jan/25 16:31
 
I was able to reproduce, when running the current queries, it seems possible to get twice the same ` {{ L{color:#000000}iveDataSource ` }} [here|https://github.com/xwiki/xwiki-platform/blob/46e5137c6a5fde1ef5a06648f06d1a8d0e611cbf/xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-rest/src/main/java/org/xwiki/livedata/internal/rest/DefaultLiveDataEntriesResource.java#L196], so definitely a race condition between concurrent threads.
{color}

` Continuing my investigations inside {{this.liveDataSourceManager.get}}