On 27/10/11 11:16, "Dr. André Lanka" wrote:
Hello Jena users,
we use various named graphs in a single dataset and have massive
parallel write access to the named graphs. I always get a
ConcurrentModificationException even if I lock on model-level using
model.enterCriticalSection(boolean).
By this I reckon that the MRSW pattern is applied on dataset level and
not on named-graph-level.
Namely, parallel writing to _different_ named graphs (constructed by
dataset.getNamedModel) will always fail as the graphs use the same
dataset beneath.
Could someone confirm this?
Yes - this is the case.
Is there any possibility to permit parallel write access to different
graphs?
The (in progress) transaction system will provide one active write and
multiple readers, and also automatically control requests for writes to
give concurrent writers, one active writer and multiple readers.
If you want separate, truly concurrent models, it will need to be
separate datasets.
Andy
Thanks in advance
André