You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/09/20 16:20:14 UTC

[GitHub] rnewson commented on a change in pull request #1615: Add /_partition/:partition/_info endpoint

rnewson commented on a change in pull request #1615: Add /_partition/:partition/_info endpoint
URL: https://github.com/apache/couchdb/pull/1615#discussion_r219221896
 
 

 ##########
 File path: src/fabric/src/fabric.erl
 ##########
 @@ -84,6 +84,13 @@ all_dbs(Prefix) when is_list(Prefix) ->
 get_db_info(DbName) ->
     fabric_db_info:go(dbname(DbName)).
 
+%% @doc returns the size of a given partition
+-spec get_partition_info(dbname(), Partition::binary()) ->
+    {ok, {partition_info, non_neg_integer()}}.
 
 Review comment:
   that spec doesn't look quite right.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services