You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by to...@apache.org on 2017/07/12 18:07:05 UTC

[couchdb] branch 3429-external-size-dbs updated: add comment

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

tonysun83 pushed a commit to branch 3429-external-size-dbs
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/3429-external-size-dbs by this push:
     new c07d437  add comment
c07d437 is described below

commit c07d43775906fc5e0cb5aa7549ee31dbd6516db9
Author: Tony Sun <to...@cloudant.com>
AuthorDate: Wed Jul 12 11:12:14 2017 -0700

    add comment
---
 src/couch/src/couch_db_updater.erl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/couch/src/couch_db_updater.erl b/src/couch/src/couch_db_updater.erl
index 26921bc..45468eb 100644
--- a/src/couch/src/couch_db_updater.erl
+++ b/src/couch/src/couch_db_updater.erl
@@ -1086,6 +1086,8 @@ copy_docs(Db, #db{fd = DestFd} = NewDb, MixedInfos, Retry) ->
         {NewRevTree, FinalAcc} = couch_key_tree:mapfold(fun
             (_Rev, #leaf{ptr=Sp}=Leaf, leaf, SizesAcc) ->
                 {Body, AttInfos} = copy_doc_attachments(Db, Sp, DestFd),
+                % In the future, we should figure out how to do this for
+                % upgrade purposes.
                 EJsonBody = case is_binary(Body) of
                     true ->
                         couch_compress:decompress(Body);

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].