couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: rep_security merge to trunk
Date Tue, 10 Mar 2009 23:06:08 GMT
On Tue, Mar 10, 2009 at 3:44 PM, Damien Katz <damien@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?

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?

Chris

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message