couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonysu...@apache.org
Subject couchdb-mango git commit: Remove write quorum
Date Sat, 18 Apr 2015 19:48:19 GMT
Repository: couchdb-mango
Updated Branches:
  refs/heads/2663-remove-w-quorum [created] fa557b728


Remove write quorum

The write quorum is saved in the index. We cosmetically remove it.

Fixes:COUCHDB-2663


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/fa557b72
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/fa557b72
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mango/diff/fa557b72

Branch: refs/heads/2663-remove-w-quorum
Commit: fa557b72835f35f34d6417b590727013647286b3
Parents: 6490184
Author: Tony Sun <tony.sun@cloudant.com>
Authored: Sat Apr 18 12:48:20 2015 -0700
Committer: Tony Sun <tony.sun@cloudant.com>
Committed: Sat Apr 18 12:48:20 2015 -0700

----------------------------------------------------------------------
 src/mango_idx.erl | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mango/blob/fa557b72/src/mango_idx.erl
----------------------------------------------------------------------
diff --git a/src/mango_idx.erl b/src/mango_idx.erl
index bf81679..c886ab0 100644
--- a/src/mango_idx.erl
+++ b/src/mango_idx.erl
@@ -316,6 +316,8 @@ filter_opts([{name, _} | Rest]) ->
     filter_opts(Rest);
 filter_opts([{type, _} | Rest]) ->
     filter_opts(Rest);
+filter_opts([{w, _} | Rest]) ->
+    filter_opts(Rest);
 filter_opts([Opt | Rest]) ->
     [Opt | filter_opts(Rest)].
 


Mime
View raw message