Skip to content
Browse files

Remove unwanted start/end reduce context

Change-Id: I939e75c9689d41c806a34d77f93f69a3ab7a5ff5
Reviewed-on: http://review.couchbase.org/62451
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
  • Loading branch information...
1 parent 74b4bab commit 10e2779a00999ea22e86960a0776fa0729b2494c @hsharsha hsharsha committed Apr 1, 2016
Showing with 1 addition and 12 deletions.
  1. +1 −12 gc-couchbase/src/spatial_view.erl
View
13 gc-couchbase/src/spatial_view.erl
@@ -16,8 +16,7 @@
-compile(nowarn_deprecated_type).
% For the updater
--export([write_kvs/3, finish_build/3, get_state/1,
- start_reduce_context/1, end_reduce_context/1, view_name/2,
+-export([write_kvs/3, finish_build/3, get_state/1, view_name/2,
update_spatial/3, view_bitmap/1]).
-export([encode_key_docid/2]).
-export([convert_primary_index_kvs_to_binary/3]).
@@ -379,16 +378,6 @@ set_vtree_state(Vt, Root0) ->
view_bitmap(_View) ->
0.
-
-% There is not reduce context for spatial indexes, hence it's a no-op
-start_reduce_context(_Group) ->
- ok.
-
-% There is not reduce context for spatial indexes, hence it's a no-op
-end_reduce_context(_Group) ->
- ok.
-
-
view_name(#set_view_group{views = SetViews}, ViewPos) ->
View = (lists:nth(ViewPos, SetViews))#set_view.indexer,
case View#spatial_view.map_names of

0 comments on commit 10e2779

Please sign in to comment.
Something went wrong with that request. Please try again.