On Mar 10, 2009, at 7:06 PM, Chris Anderson wrote:

On Tue, Mar 10, 2009 at 3:44 PM, Damien Katz <dam...@apache.org> wrote:

This patch breaks the file format and replication API, so replication with
earlier versions is not possible.

The rev format has changed. Does this mean that migrating existing
data will involve getting each doc from oldDB, stripping the _rev, and
loading it into newDB?

Yes, but it should be possible to convert the revs to the new format too. But why?


It should be pretty straightforward to write a Python or Ruby script
that does this in bulk to transfer docs. It's essentially a version of
the python dump / load tools that doesn't require putting the whole db
on disk as an intermediary.

I'll volunteer but I wonder how I should handle docs with conflicts in
the oldDB?

Oh that's why. Using the replicator API would work for that.

-Damien

Reply via email to