couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iilyak <...@git.apache.org>
Subject [GitHub] couchdb-fabric pull request: 2526 pending updates info
Date Mon, 22 Dec 2014 23:33:41 GMT
Github user iilyak commented on a diff in the pull request:

    https://github.com/apache/couchdb-fabric/pull/9#discussion_r22197149
  
    --- Diff: src/fabric.erl ---
    @@ -321,7 +321,17 @@ query_view(DbName, DDoc, ViewName, Callback, Acc0, QueryArgs0) ->
             {waiting_commit, boolean()} |
             {waiting_clients, non_neg_integer()} |
             {update_seq, pos_integer()} |
    -        {purge_seq, non_neg_integer()}
    +        {purge_seq, non_neg_integer()} |
    +        {sizes, [
    +            {active, non_neg_integer()} |
    +            {external, non_neg_integer()} |
    +            {file, non_neg_integer()}
    +        ]} |
    +        {updates_pending, [
    +            {minimum, non_neg_integer()} |
    +            {preferred, non_neg_integer()} |
    +            {total, non_neg_integer()}
    --- End diff --
    
          "total": <sum of all shard copies (DbSeq - GroupSeq)>,
          "preferred": <sum of ushards (DbSeq - GroupSeq)>,
          "minimum": <sum of shard copies with the least amount of work to do>


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message