abc
abc copied to clipboard
Feature request: Resuming tail after abc is restarted
Question: Does this resume from where it left off if abc is stopped and started later on?
@masumsoft Currently, no - but we will look into adding support for it.
I am changing this issue to a feature request.
- [ ] We will add resume operations support for all DBs including ones that support tailing.
- [ ] Add documentation for the same.
- [ ] Write an example post showing how resuming works.
The support for this has been added in 0.6.2
release.
Are there any examples on how the resume should work? Adding --tail or --tail=true to my abc command to import mongo does tail but on each restart it imports the entire collection again. Is this expected behaviour?
The support for this has been added in
0.6.2
release.
@siddharthlatest Is there any additional params needed for the resume functionality to work? Also I failed to find any changes relevant to the resume functionality in 0.6.2.
@hobbesuk, your user will need to have oplog
access. Check out the notes section in the mongodb docs.
@jeet-parekh the issue is not about tailing support, we already use that for mongodb, it's about resuming the tailing from where it left off if abc is restarted. For large databases, it takes a long time to reindex the whole db again with elastic search which is a waste of time and makes abc useless if the server needs to restart for some reason.
Update: Resume tailing works with MongoDB, but doesn't work with Postgres.