StoreFeatures hasOptimisticLocking


Hieu Nguyen <ntrh...@...>
 

Hi,

I am implementing a custom storage backend for JanusGraph.
Should I enable or disable optimisticLocking (StoreFeatures.hasOptimisticLocking()).

I tried to set it to false but one of my tests fail.
JanusGraphTest#testConcurrentConsistencyEnforcement

When I look at the code, it is not really used/implemented.
Is it correct?

If not, could someone please point me to the code where it actually uses this flag?

Thanks,
Hieu Nguyen