Hello,
I'm running Janusgraph embedded with a hbase cluster.
I'm using the ids.block-size=10000 which is the default.
I inserts graphs with 1000 nodes and measured the time per insertion.
What i guessed is that initial graph insertion will take some time since it has to acquire id block and subsequent insertions will be faster till it begin to acquire a new id block again.
But my observation is quite different. Id block acquisition seems to random.
Even in the times it has acquired enough Id's, janusgraph tries to acquire id's again.
In my log i see the following entries.
2017-10-13 13:13:47 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[20001,30001)/0:4] on partition(11)-namespace(0) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:13:49 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[160001,240001)/0:4] on partition(11)-namespace(3) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:13:58 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[20001,30001)/0:4] on partition(27)-namespace(0) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:13:59 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[240001,320001)/0:4] on partition(27)-namespace(3) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:04 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[30001,40001)/0:4] on partition(25)-namespace(0) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:06 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[80001,160001)/0:4] on partition(25)-namespace(3) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:15 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[1,10001)/0:4] on partition(10)-namespace(0) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:16 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[1,80001)/0:4] on partition(10)-namespace(3) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:21 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[30001,40001)/0:4] on partition(22)-namespace(0) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:22 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[320001,400001)/0:4] on partition(22)-namespace(3) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:27 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[10001,20001)/0:4] on partition(15)-namespace(0) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:28 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[80001,160001)/0:4] on partition(15)-namespace(3) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:34 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[10001,20001)/0:4] on partition(12)-namespace(0) (my rid is 0a8110335880-fsisap79372)
2017-10-13 13:14:35 DEBUG ConsistentKeyIDAuthority:309 - Acquired ID block [[160001,240001)/0:4] on partition(12)-namespace(3) (my rid is 0a8110335880-fsisap79372)
What is the partition and namespace here?
Does the janusgraph acquire id blocks per partition per namespace?
What i thought was for the whole graph instance it uses a one set of ids. So isn't that correct?
Thanks.