Index state never change to ENABLED on Titan with Amazon DynamoDB backend

后端 未结 1 1767
无人及你
无人及你 2021-01-06 13:25

I\'m trying to use composite index on DynamoDB and the index never switches from from INSTALLED to REGISTERED state.

Here is the code I use

相关标签:
1条回答
  • 2021-01-06 13:57

    Waiting for a longer time does the trick. Example:

    ManagementSystem.awaitGraphIndexStatus(graph, propertyKeyIndexName)
                        .status(SchemaStatus.ENABLED)
                        .timeout(10, ChronoUnit.MINUTES) // set timeout to 10 min
                        .call();
    
    0 讨论(0)
提交回复
热议问题