couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregor Martynus <gre...@martynus.net>
Subject Bug? _design docs don't get replicated when using _replicator db (couchDB 1.1.1)
Date Tue, 22 Nov 2011 14:43:26 GMT
*1. TEST SETUP *(simplified)
*
*
*db1* has 2 docs:

{"_id":"test"}
{"_id":"_design/test"}

*db2* is empty.
*
*
*
*
*
*
*2. REPLICATION*
*
*
Now I create a replication doc in _replicator db:

{ "source": "db1", "target": "db2" }



*3. RESULT*
*
*
db2 now has 1 doc:

{"_id":"test"}

The other *doc {"_id":"_design/test"} is missing*.

If I start the replication in the traditional way, the design doc gets
replicated.

Is this a bug or a feature?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message