GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-mem3/pull/21
Make sure mem3_rep autocreates target shards
The change to our fancier history entries introduced a regression that
internal replication wouldn't automatically create the target shards.
This fixes the issue by adding a get_or_create_db/2 in mem3_rep and
switches the use of couch_db:open_int/2 to that function.
Conflicts:
src/mem3_rpc.erl
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-mem3
43260-create-target-shard-if-missing
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-mem3/pull/21.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21
----
commit 8c97c7646f740c5a179fff2da779b597f3ae3fb8
Author: Paul J. Davis <[email protected]>
Date: 2015-01-08T19:08:03Z
Make sure mem3_rep autocreates target shards
The change to our fancier history entries introduced a regression that
internal replication wouldn't automatically create the target shards.
This fixes the issue by adding a get_or_create_db/2 in mem3_rep and
switches the use of couch_db:open_int/2 to that function.
Conflicts:
src/mem3_rpc.erl
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---