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 2021/03/10 19:28:33 UTC

[GitHub] [couchdb] wohali edited a comment on issue #3410: Smoosh never triggered with conflicted documents

wohali edited a comment on issue #3410:
URL: https://github.com/apache/couchdb/issues/3410#issuecomment-795951980


   Sorry, I rushed my advice, here's an example on a local DB:
   
   ```
   $ curl http://admin:password@localhost:5984/_membership
   {"all_nodes":["couchdb@localhost"],"cluster_nodes":["couchdb@localhost"]}
   
   $ curl http://admin:password@localhost:5984/_node/couchdb@localhost/_dbs/test1
   {"_id":"test1","_rev":"1-24ad69872d6cdaa9a85708b327ba887d","shard_suffix":[46,49,54,48,50,49,55,48,50,54,48],"changelog":[["add","00000000-7fffffff","couchdb@localhost"],["add","80000000-ffffffff","couchdb@localhost"]],"by_node":{"couchdb@localhost":["00000000-7fffffff","80000000-ffffffff"]},"by_range":{"00000000-7fffffff":["couchdb@localhost"],"80000000-ffffffff":["couchdb@localhost"]},"props":{}}
   
   $ curl http://admin:password@localhost:5984/_node/couchdb@localhost/_all_dbs
   ... cut for privacy...
   "shards/00000000-7fffffff/test1.1602170260",
   "shards/80000000-ffffffff/test1.1602170260"
   
   $ curl http://admin:password@localhost:5984/_node/couchdb@localhost/shards%2f00000000-7fffffff%2ftest1.1602170260
   {"db_name":"shards/00000000-7fffffff/test1.1602170260","engine":"couch_bt_engine","doc_count":0,"doc_del_count":0,"update_seq":0,"purge_seq":0,"compact_running":false,"sizes":{"active":333,"external":0,"file":16549},"instance_start_time":"1615404245595000","disk_format_version":8,"committed_update_seq":0,"compacted_seq":0,"props":{},"uuid":"eefcf4e13cf56f1f5bd063afce077672"}
   ```
   
   And repeat for `80-ff` range. So for 00-7f for this DB the info is `{"active":333,"external":0,"file":16549}`.


----------------------------------------------------------------
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.

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