Block ID pool allocation

閲覧: 15 回
最初の未読メッセージにスキップ

rafi ansari

未読、
2020/07/05 4:14:362020/07/05
To: JanusGraph users
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

未読、
2020/07/05 4:21:592020/07/05
To: janusgra...@googlegroups.com
Rafi,
There is also an option for creating read only transactions TransactionBuilder  take a look.  Instead doing this on storage backend.

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/3c5e2cbb-1749-4a78-b2ea-bca893ca8608o%40googlegroups.com.

rafi ansari

未読、
2020/07/05 7:33:342020/07/05
To: JanusGraph users
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

未読、
2020/07/05 7:45:382020/07/05
To: janusgra...@googlegroups.com
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.

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.

sparshneel chanchlani

未読、
2020/07/05 7:52:242020/07/05
To: janusgra...@googlegroups.com
On Sun, Jul 5, 2020, 5:15 PM sparshneel chanchlani <sparshneel...@gmail.com> wrote:
Rafi,
with graph instance you could create objects like vertexLables etc.. ID allocation only happens when u request to create. Read-Only transaction will throw exception when u send create request to Janusgraph.
全員に返信
投稿者に返信
転送
メッセージは削除されました
新着メール 0 件