graph-lab/janusgraph-schema-manager

Index update timeout is not handled correctly

ngrigoriev opened this issue · 0 comments

3511658 [main] INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher - Some key(s) on index xxxxx do not currently have status(es) [REGISTERED]: public_invite_id=INSTALLED
3512159 [main] INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher - Some key(s) on index xxxxx do not currently have status(es) [REGISTERED]: public_invite_id=INSTALLED
3512660 [main] INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher - Some key(s) on index xxxxx do not currently have status(es) [REGISTERED]: public_invite_id=INSTALLED
3512660 [main] INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher - Timed out (PT1M) while waiting for index xxxxx to converge on status(es) [REGISTERED]
3512660 [main] INFO com.newforma.titan.schema.SchemaManager - Enabling index xxxxxx...
StackTrace : java.lang.IllegalArgumentException: Update action [ENABLE_INDEX] cannot be invoked for index with status [INSTALLED]
at org.janusgraph.core.schema.SchemaAction.isApplicableStatus(SchemaAction.java:79)
at org.janusgraph.graphdb.database.management.ManagementSystem.updateIndex(ManagementSystem.java:686)
at com.newforma.titan.schema.SchemaManager.populateNewIndexes(SchemaManager.java:878)
at com.newforma.titan.schema.SchemaManager.populateNewGraphElements(SchemaManager.java:428)
at com.newforma.titan.schema.SchemaManager.run(SchemaManager.java:183)
at com.newforma.titan.schema.LambdaRequestHandler.updateGraphDatabaseSchema(LambdaRequestHandler.java:159)
at com.newforma.titan.schema.LambdaRequestHandler.updateSchemaAndLoadData(LambdaRequestHandler.java:136)
at com.newforma.titan.schema.LambdaRequestHandler.handleRequest(LambdaRequestHandler.java:56)
at com.newforma.titan.schema.LambdaRequestHandler.handleRequest(LambdaRequestHandler.java:22)
at lambdainternal.EventHandlerLoader$PojoHandlerAsStreamHandler.handleRequest(EventHandlerLoader.java:178)
at lambdainternal.EventHandlerLoader$2.call(EventHandlerLoader.java:888)
at lambdainternal.AWSLambda.startRuntime(AWSLambda.java:283)
at lambdainternal.AWSLambda.<clinit>(AWSLambda.java:64)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at lambdainternal.LambdaRTEntry.main(LambdaRTEntry.java:94)
Failed to update the schema