You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thank you for the incredible tool. I wouldn't have switched from MYSQL to CouchDB without it.
I think there is an issue with batch size and clearing out the queue. I had many tasks that were working, but one task that called util.save(doc) but the docs would no update and no error was thrown. After checking all the logs (nothing), I poked around the source code.
I finally fixed this issue using the flag -b 1. I think the number of documents with changes never reached the batch size and so were never saved. Ideally couchtato would save everything in the queue periodically or at least at the end of the job. Alternatively, you could log a useful error on the cli that says that some documents were not saved and that you should rerun that task with a smaller batch size.
Thanks for your consideration
Adam
The text was updated successfully, but these errors were encountered:
First thank you for the incredible tool. I wouldn't have switched from MYSQL to CouchDB without it.
I think there is an issue with batch size and clearing out the queue. I had many tasks that were working, but one task that called
util.save(doc)
but the docs would no update and no error was thrown. After checking all the logs (nothing), I poked around the source code.I finally fixed this issue using the flag
-b 1
. I think the number of documents with changes never reached the batch size and so were never saved. Ideally couchtato would save everything in the queue periodically or at least at the end of the job. Alternatively, you could log a useful error on the cli that says that some documents were not saved and that you should rerun that task with a smaller batch size.Thanks for your consideration
Adam
The text was updated successfully, but these errors were encountered: