Open RithyKhin opened 8 years ago
I believe you may need to manually trim the rev
s from the dumpfile, because replication is not affected by the revs_limit
of the source database. If you'd like to manually trim revs yourself, you may want to look to short-revs for inspiration, or if you think this is worth adding as an option to the CLI, we could do that instead. (Although my preference would be for a separate utility ala short-revs
in order to increase modularity.)
Hello Nolan,
Our data in couchdb is about 50000 rec and have set the rev limit to 35 (some data its rev number has increased to more then 30000, but in couchdb we see only 35 because we limited to 35). But when we dump, the last dumped file provided some records with their rev records more then 35 (about 1000), then the browser is crashed.
This is a part of our code. `String command = "/usr/local/bin/pouchdb-dump http://localhost:5984/"
Apache CouchDB version 1.6.0 Pouchdb-dump-cli version 2.0.2
Best Regards, Rithy