Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent automatic sync with Mongo upon startup #68

Open
CommandoScorch16 opened this issue Apr 24, 2017 · 1 comment
Open

Prevent automatic sync with Mongo upon startup #68

CommandoScorch16 opened this issue Apr 24, 2017 · 1 comment

Comments

@CommandoScorch16
Copy link

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!

@johnymontana
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants