Date
1 - 5 of 5
Block ID pool allocation
rafi ansari <rafi1...@...>
Hi I want to set my Janusgraph instance to read-only mode and stop id pool allocation to the instance. For read-only mode, I can use storage.read-only=true. But is there any way to stop the ID pool allocation to the instance? TIA Rafi |
|
sparshneel chanchlani <sparshneel...@...>
Rafi,
toggle quoted message
Show quoted text
There is also an option for creating read only transactions TransactionBuilder take a look. Instead doing this on storage backend.
|
|
rafi ansari <rafi1...@...>
Hi Sparshneel
Thanks for suggestion. I explored the transactionbuilder read-only function. I have two doubts though . 1. What is the difference between setting storage as read-only and transaction read-only? 2. How do make sure that ID pool allocation is blocked on the Janusgraph read-only instance? Because what I'm trying to achieve here is setting 2 nodes that will only act as read only nodes for Janusgraph. Thanks Rafi |
|
sparshneel chanchlani <sparshneel...@...>
Rafi, with graph instance you could create objects like vertexLables etc.. ID allocation only happens when u request to create. Read-Only transaction will through exception when u send create request to Janusgraph. On Sun, Jul 5, 2020, 5:03 PM rafi ansari <rafi1...@...> wrote: Hi Sparshneel |
|
sparshneel chanchlani <sparshneel...@...>
On Sun, Jul 5, 2020, 5:15 PM sparshneel chanchlani <sparshneel...@...> wrote:
|
|