You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2019/11/11 23:42:32 UTC

[couchdb] 05/05: Temporarily fix broken function

This is an automated email from the ASF dual-hosted git repository.

jaydoane pushed a commit to branch expiring-cache
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit f91f9b35f79c882a3fb7b0c5b04b2cc8a04d8bdd
Author: Jay Doane <ja...@apache.org>
AuthorDate: Mon Nov 11 15:37:49 2019 -0800

    Temporarily fix broken function
---
 src/mem3/src/mem3_reshard_index.erl | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/mem3/src/mem3_reshard_index.erl b/src/mem3/src/mem3_reshard_index.erl
index d4cb7ca..fb4648b 100644
--- a/src/mem3/src/mem3_reshard_index.erl
+++ b/src/mem3/src/mem3_reshard_index.erl
@@ -100,15 +100,7 @@ mrview_indices(DbName, Doc) ->
 
 
 dreyfus_indices(DbName, Doc) ->
-    try
-        Indices = dreyfus_index:design_doc_to_indexes(Doc),
-        [{dreyfus, DbName, Index} || Index <- Indices]
-    catch
-        Tag:Err ->
-            Msg = "~p couldn't get dreyfus indices ~p ~p ~p:~p",
-            couch_log:error(Msg, [?MODULE, DbName, Doc, Tag, Err]),
-            []
-    end.
+    [].
 
 
 hastings_indices(DbName, Doc) ->