incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <robert.new...@gmail.com>
Subject Re: Replication Flag "create_target":true
Date Tue, 09 Feb 2010 18:11:15 GMT
I think create_target:true was added after 0.10 and is part of the next release.

B.

On Tue, Feb 9, 2010 at 4:51 PM, Dan Smythe <xkeitarox@gmail.com> wrote:
> All --
>
> In my testing, it appears that when "create_target":true is sent, CouchDB
> still does not create the target database.
>
> For Example:
>
> Host A: has the test suite databases.
> Host B: has no databases
>
> On Host A:
> curl -X POST -d "{\"source\":\"http://localhost:5984/test_suite_db
> \",\"target\":\"http://1.2.3.4:5984/test_suite_db\","create_target":true,"continuous":true}"
> http://localhost:5984/_replicate
>
> This fails with an error similar to:
>
> {"error":"case_clause","reason":"{error,{db_not_found,<<\"
> http://1.2.3.4:5984/test_suite_db/\">>}}"}
>
> Per http://wiki.apache.org/couchdb/Replication This should be working.
>
> I'm running CouchDB 0.10 with Lucene on CentOS.
>
> Any Ideas?
>
> --Dan
>

Mime
View raw message