pouchdb-community / pouchdb-replication-stream

Replicate PouchDB/CouchDB databases with Node.js-style streams
Apache License 2.0
189 stars 58 forks source link

Dump aborting on large databases (Attachments matter?) #58

Open shaunwarman opened 8 years ago

shaunwarman commented 8 years ago

Seeing, potentially, the same issue as #51 or #54 . Seems to work on smaller databases with no attachments. Yet on a 2g database with attachments (about 1700 docs) it returns a result with "status": "aborting"

Initial chunk:

{"version":"1.2.9","db_type":"http","start_time":"2016-09-21T15:06:24.940Z","db_info":{"db_name":"registry","doc_count":1656,"doc_del_count":117,"update_seq":7357,"purge_seq":0,"compact_running":false,"disk_size":2093797496,"data_size":1748383443,"instance_start_time":"1473032879468430","disk_format_version":6,"committed_update_seq":7357,"host":"http://<hidden>:6984/registry/","auto_compaction":false,"adapter":"http"}}

Error

{"result":{"ok":false,"start_time":"2016-09-21T15:06:24.944Z","docs_read":0,"docs_written":0,"doc_write_failures":0,"errors":[],"status":"aborting","end_time":"2016-09-21T15:06:26.443Z","last_seq":500}}
satinder1208 commented 6 years ago

Hi @nolanlawson , I am getting same issue as above... any workaround?