[CDO] Rare problem in permission cache [message #1849800] |
Thu, 03 February 2022 10:04 |
Robert Schulk Messages: 142 Registered: July 2015 |
Senior Member |
|
|
This issue kept us busy for some time and we could never figure out where it is coming from. But now I can somewhat reproduce it on our system.
Problem description:
We continuously add objects to a list (which is the content of a cdo object). We keep the list in a reasonable size of ~1000 obejcts.
Quite rarely, but randomly (it takes ~0 to 1000k commits), one of the objects in the list will have the permission to be read-only. This is tied to the session. Even if we open a new transaction, the permission will stay read-only. For new sessions, the permission is correct again.
Now I am able to reproduce this on our system. I tested the 2021-09 release with H2 db and TCP/JVM/WS connection, non-branching, non-auditing. What I do:
* Add new objects to a list in one thread.
* In another thread: open a view and add an EContentAdapter to the object that holds the list and wait for 1 second. Then close the view again and repeat.
I attached my console output with full cdo tracing enabled. See end for the NoPermissionException. Maybe we can find a workaround to recover the correct permission? Or is this log even enough to hint to a fix?
[Updated on: Thu, 03 February 2022 10:25] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02073 seconds