Github user hdiedrich commented on the pull request:

    https://github.com/apache/couchdb-couch/pull/54#issuecomment-106030561
  
    I mean the `#btree`'s `reduce` field that is used in `couch_btree.erl`
    ```Erlang
    full_reduce(#btree{root=nil,reduce=Reduce}) ->
       {ok, Reduce(reduce, [])};
    full_reduce(#btree{root=Root}) ->
       {ok, element(2, Root)}.
    ```
    and ultimately produces the tuple `{AS, ES}` at the heart of this PR, which 
could be in `SizeInfo0`, via 
    
    ```Erlang
    {ok, DbReduction} = couch_btree:full_reduce(IdBtree),
    SizeInfo0 = element(3, DbReduction),
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to