Open kripper opened 3 years ago
Hey @kripper, thank you very much for the time and effort you put into your investigations, comments and pull requests. I haven't touched this repo in ages, so bear with me as I process your input.
It seems to me that the project in general needs significant updating — the request
module has been deprecated, iriscouch's follow
hasn't been updated in years, and npm audit
reports heavy vulnerabilities. Sadly, I cannot promise anything, since I don't have a need for this project right now and the work required looks quite extensive :/
How to reproduce:
1) If you run the script, you will notice a message saying:
processed all documents in the database test (up to update-sequence 0)
2) Now, If you stop and re-run the script, you will see new messages like:
(I added doc details)
3) If you stop and re-run, you will get again:
processed all documents in the database test (up to update-sequence 0)
Conclusion: There is some bug probably realted with empty databases. I guess 'seq' should not be set to 0.