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