Replies: 2 comments 2 replies
-
Hi @mrckzgl That is optimization which was implemented in #1192 and #1949 (see issue #1190 and #1947).
I don't have strong opinion here, but maybe doc improvement could be done because it's a second time I see the issue being raised regarding this behavior. |
Beta Was this translation helpful? Give feedback.
-
Thanks for pointing the docs. As a user getting to know JanusGraph currently, from documentation point of view I can only provide you feedback that this documentation did not work. The information you cited should IMHO be presented also in https://docs.janusgraph.org/master/schema/index-management/index-lifecycle/ otherwise it will go unnoticed (as it did in my case). If one follows the suggestion to wait for the index as described by |
Beta Was this translation helpful? Give feedback.
-
Using JRuby, this is our config:
Build a mixed index like so:
According to https://docs.janusgraph.org/schema/index-management/index-lifecycle/ the index should after the manager.commit call be in REGISTERED state and needs to be enabled manually (or using reindex). As such, the watcher per default will wait only for the REGISTERED state.
In our case however, the
watcher.call
will consume exactly 60 seconds, without any CPU activity, which is its default timeout.Also, the index is usable without manually enabling it. I assume as such that the commit call directly puts the index in ENABLED state.
This can be confirmed when also listening for ENABLED state like so:
The watcher.call now will immediately return without the timeout.
Beta Was this translation helpful? Give feedback.
All reactions