couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Smythe <xkeita...@gmail.com>
Subject Replication Flag "create_target":true
Date Tue, 09 Feb 2010 16:51:29 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message