How to reindex data in Elastic (Secondary Backend) from Cassandra (Primary Backend) #3995
Unanswered
sharma-kunal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Janusgraph: 0.6.3
cqlsh 6.1.0 | Cassandra 4.1.3
Elastic: 7.17.9
I am bulk-inserting data in Janusgraph. As stated here, if data is added in primary backend storage (Cassandra) and failed to add in secondary backend storage (elastic), the transaction is still successful. The solution to this is maintaining logs and then doing
recovery = JanusGraphFactory.startTransactionRecovery(graph, startTime, TimeUnit.MILLISECONDS);
But if I want to manually check for records that are in Cassandra but not in elastic, or I want to index records from Cassandra to elastic through a script, how can I do that?
Beta Was this translation helpful? Give feedback.
All reactions