Skip to content

Can't change the state of index from INSTALLED to ENABLED or DISABLED #3195

Answered by porunov
fatihdogmus asked this question in Q&A
Discussion options

You must be logged in to vote

@fatihdogmus await waits for all current nodes to receive an index updates. Sometimes there could be ghost nodes (previous JanusGraph nodes which are now dead). If that happens you need to force clean those nodes. Moreover, you need to ensure that your management transaction is the only opened management transaction for the current JanusGraph instance.
We should probably add that into documentation but for now you can check out this post: https://developer.ibm.com/articles/janusgraph-tips-and-tricks-pt-2/

In short, what you need to do is:

mgmt = graph.openManagement()
mgmt.getOpenInstances().forEach(instance -> {
   // You need to force close only ghost instances. Do not close active norm…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by fatihdogmus
Comment options

You must be logged in to vote
1 reply
@porunov
Comment options

Comment options

You must be logged in to vote
1 reply
@porunov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants