Re: How to circumvent transaction cache?
Boxuan Li
Hi Timon,
As I mentioned earlier, the only way I can think of (assuming you are not concerned about the consistency of data storage as Ted mentioned) is to modify JanusGraph source code: In CacheVertex class, there is a data structure, protected final Map<SliceQuery, EntryList> queryCache. What you could do is to add a method to that class:
And then you can call refresh before you want to load new value from the storage rather than cache: Hope this helps, Boxuan
|
|