GitHub user sagelywizard opened a pull request:
https://github.com/apache/couchdb-couch/pull/7
Make the hash algorithm configurable per DB
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sagelywizard/couchdb-couch per-db-hash
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/7.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 #7
----
commit 9fb2fbfdd87c2fa605958b1ac4ac581696118b74
Author: Benjamin Bastian <[email protected]>
Date: 2014-10-01T18:01:23Z
Add LRU for caching per-db hash functions
commit 31208413bd6ec05e9297402ba5850f892ddccb9a
Author: Benjamin Bastian <[email protected]>
Date: 2014-10-01T18:02:04Z
Make Couch refuse to update hash function
This commit adds functionality to prevent people from updating the hash
function for a particular DB. It does this by setting a
validate_doc_update function for the dbs DB to prevent the changing of
the "hash_algorithm" field in the shard map.
----
---
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.
---