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

jan pushed a commit to branch rebase/access-2023
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit d244302ef6944a0879c565fff1577e495fdfdb28
Author: Jan Lehnardt <[email protected]>
AuthorDate: Sat Jul 8 15:53:42 2023 +0200

    chore: remove debug comments
---
 src/couch_mrview/src/couch_mrview_updater.erl | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/couch_mrview/src/couch_mrview_updater.erl 
b/src/couch_mrview/src/couch_mrview_updater.erl
index f15fcf2e7..8ca986a0b 100644
--- a/src/couch_mrview/src/couch_mrview_updater.erl
+++ b/src/couch_mrview/src/couch_mrview_updater.erl
@@ -183,7 +183,6 @@ map_docs(Parent, #mrst{db_name = DbName, idx_name = 
IdxName} = State0) ->
                             Doc = #doc{
                                 id = Id,
                                 revs = {Start, [Rev1]},
-                                %% todo: only keep _access and add _seq
                                 body = {make_deleted_body(Body, Meta, Seq)},
                                 deleted = true
                             },
@@ -194,7 +193,6 @@ map_docs(Parent, #mrst{db_name = DbName, idx_name = 
IdxName} = State0) ->
                     end;
                 ({Id, Seq, Doc}, {SeqAcc, Results}) ->
                     couch_stats:increment_counter([couchdb, mrview, map_doc]),
-                    % IdxName: ~p, Doc: ~p~n~n", [IdxName, Doc]),
                     Doc0 =
                         case IdxName of
                             <<"_design/_access">> ->

Reply via email to