Hi,
I've jut created CLEREZZA-833. The problem is that nothing ensure readlocks
on accessing the set returned by:
@Override
public Set<UriRef> listMGraphs() {
return new UriRefSet( graphNameIndex, Symbols.MGraph );
}
The straight forward solution would be to copy the Set to a HashSet. But
I'm not sure how much this defeats the purpose of the
ScalableSingleTdbTcProvider approach.
Another issue that just occured are the (non M) Graphs. Given that the lock
is on the dataset one should also lock when iterating over the triples of a
graph. But as the API doesn't foresee TripleCollections with shared lock
there's no support for this.
Cheers,
Reto