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 2022/10/27 14:18:19 UTC

[GitHub] [couchdb] nickva commented on pull request #1443: Add clustered db info

nickva commented on PR #1443:
URL: https://github.com/apache/couchdb/pull/1443#issuecomment-1293595875

   We have implemented something like this which also allows getting multiple db infos:
   
   ```
   % http $DB/_dbs_info'?key="db1"'
   
   [
       {
           "info": {
               "cluster": {
                   "n": 1,
                   "q": 2,
                   "r": 1,
                   "w": 1
               },
               "compact_running": false,
               "db_name": "db1",
               "disk_format_version": 8,
               "doc_count": 0,
               "doc_del_count": 0,
               "instance_start_time": "1666880205",
               "props": {},
               "purge_seq": "0-g1AAAABTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQeC5BkaABS_4EgK5EBp8pEhqR6iJIsACz0Fj4",
               "sizes": {
                   "active": 0,
                   "external": 0,
                   "file": 16696
               },
               "update_seq": "0-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQeC5BkaABS_4EgK4M5kSEXKMBubmCckmRkhKkLp0mJDEn1KEYYGCcZmiVjMSILABMCI_8"
           },
           "key": "db1"
       }
   ]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org