[CDO] Managing async view invalidation [message #1860351] |
Mon, 31 July 2023 14:07  |
Eclipse User |
|
|
|
Just started encountering an issue with invalidation, so guess we don't often go there :).
Our code expects any thread to run with some MDC values to manage the session state at our end and here those are not there.
In CDOSessionImpl#invalidateView, async is always set to true which makes the invalidation use the ViewInvalidation and its executor. Looking at the executor it trickles all the way up to the Transport to get the actual executor AFAICT.
So question is, shouldn't the async mode be configurable and secondly, is there a way to supply a custom executor. Note that we have our own store if that can help.
At the moment, I'm tempted to just comment the async true line to get pass this issue, but doesn't sound like a real solution.
Thanks
Alain
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.46045 seconds