Prevent automatic sync with Mongo upon startup
Opened this issue · 1 comments
This is a really great tool, and it potentially has a tremendous future. I am having a problem though, and I am not sure what is going on. Whenever I startup the doc manager, it starts mass inserting data into neo4j automatically. I have run a series of insert commands in mongo in the past, but nothing is currently getting inserted into mongo. I even deleted everything from mongo, and it still inserts all of this data into neo4j upon startup. Is it intended that the doc manager should auto sync the neo4j database with the existing mongo database (even if there is nothing in the mongo database)? If so, can this functionality be disabled? It is really annoying and I will not be able to use this tool unless there is some way to turn off this feature, or if I can delete insertion history from the mongo database. Thanks for your help!
Could you try deleting the oplog.timestamp
file that is created when running neo4j-doc-manager and starting the doc manager again? The timestamp in that file acts as a starting point for syncing data from mongo to neo4j, so all updates since that timestamp will be streamed, even if deleted later.
There is a bit more info on how this works here