Skip to content

Instantly share code, notes, and snippets.

@rajagp
rajagp / doc created-1
Created January 12, 2021 20:49
step1: document created on server
{
"username": "demo",
"click": "to edit",
"with JSON": "there are no reserved field names",
"count": 1,
"_sync": {
"rev": "1-32ddb6b8a8cece7ee3de3f7d2020d9c7",
"sequence": 32,
"recent_sequences": [
32
{
"cb": {
"ops": {},
"pools": {}
},
"cmdline": [
"sync_gateway",
"--defaultLogFilePath=/var/log/sync_gateway",
"-adminInterface",
":5985",
2020-06-04 15:20:18.697525-0400 UserProfileDemo[340:51963] CouchbaseLite Replicator Info: {Puller#11} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _pendingRevMessages=221, _activeIncomingRevs=0
2020-06-04 15:20:18.697961-0400 UserProfileDemo[340:51963] CouchbaseLite Replicator Info: {Puller#11} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _pendingRevMessages=221, _activeIncomingRevs=0
2020-06-04 15:20:18.698042-0400 UserProfileDemo[340:51963] CouchbaseLite Replicator Info: {Puller#11} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _pendingRevMessages=221, _activeIncomingRevs=0
2020-06-04 15:20:18.698495-0400 UserProfileDemo[340:51963] CouchbaseLite Replicator Info: {Puller#11} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _pendingRevMessages=221, _activeIncomingRevs=0
2020-06-04 15:20:18.698566-0400 UserProfileDemo[340:51963] CouchbaseLite Replicator Info: {Puller#11} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _pendingRevMessages=221, _activeIncomingR
{"items":{"0":{"image":{"length":16608},"value":4},"1":{"image":{"length":23737}},"2":{"image":{"length":25328}},"3":{"image":{"length":22936}},"4":{"image":{"length":22991}},"5":{"image":{"length":27375}},"6":{"image":{"length":20713}},"7":{"image":{"length":19794}},"8":{"image":{"length":20551}},"9":{"image":{"length":25982}},"10":{"image":{"length":20347}},"11":{"image":{"length":25385}},"12":{"image":{"length":35752}},"13":{"image":{"length":20522}},"14":{"image":{"length":18214}},"15":{"image":{"length":24808}},"16":{"image":{"length":18656}},"17":{"image":{"length":16438}},"18":{"image":{"length":15350}},"19":{"image":{"length":32234}},"20":{"image":{"length":18137}},"21":{"image":{"length":24603}},"22":{"image":{"length":15643}},"23":{"image":{"length":17012}},"24":{"image":{"length":21497}},"25":{"image":{"length":6839}},"26":{"image":{"length":6839}},"27":{"image":{"length":6839}},"28":{"image":{"length":6839}},"29":{"image":{"length":6839}},"30":{"image":{"length":6839}},"31":{"image":{"length":6839
{"type":"list","items":[{"image":{"length":16608,"digest":"sha1-LEFKeUfywGIjASSBa0l/cg5rlm8=","content_type":"image/jpeg","@type":"blob"},"value":4,"key":"Apples"},{"image":{"length":23737,"digest":"sha1-ccilupjPJp+r7hKuTEkLH76FwvA=","content_type":"image/jpeg","@type":"blob"},"value":12,"key":"Aragula"},{"image":{"length":25328,"digest":"sha1-sPhJIK4dlkoKN/Y6jQ6cOPvbtD4=","content_type":"image/jpeg","@type":"blob"},"value":91,"key":"Asparagus"},{"image":{"length":22936,"digest":"sha1-77d0pNdKJbRJn3zn/AZARWz0XYY=","content_type":"image/jpeg","@type":"blob"},"value":101,"key":"Beets"},{"image":{"length":22991,"digest":"sha1-4BEdo3G6ZzMyqrH5oqtGZ0EYpdY=","content_type":"image/jpeg","@type":"blob"},"value":1,"key":"Blueberries"},{"image":{"length":27375,"digest":"sha1-W66Uj5zxCljP3DbxlZypLaX0/BY=","content_type":"image/jpeg","@type":"blob"},"value":10,"key":"Broccoli"},{"image":{"length":20713,"digest":"sha1-OLJ5oP5rOyUyR45BmsSWCTfypc0=","content_type":"image/jpeg","@type":"blob"},"value":4,"key":"Brussels Sprou
{"type":"list","items":[{"image":{"length":16608,"digest":"sha1-LEFKeUfywGIjASSBa0l/cg5rlm8=","content_type":"image/jpeg","@type":"blob"},"value":46,"key":"Apples"},{"image":{"length":23737,"digest":"sha1-ccilupjPJp+r7hKuTEkLH76FwvA=","content_type":"image/jpeg","@type":"blob"},"value":12,"key":"Aragula"},{"image":{"length":25328,"digest":"sha1-sPhJIK4dlkoKN/Y6jQ6cOPvbtD4=","content_type":"image/jpeg","@type":"blob"},"value":91,"key":"Asparagus"},{"image":{"length":22936,"digest":"sha1-77d0pNdKJbRJn3zn/AZARWz0XYY=","content_type":"image/jpeg","@type":"blob"},"value":101,"key":"Beets"},{"image":{"length":22991,"digest":"sha1-4BEdo3G6ZzMyqrH5oqtGZ0EYpdY=","content_type":"image/jpeg","@type":"blob"},"value":1,"key":"Blueberries"},{"image":{"length":27375,"digest":"sha1-W66Uj5zxCljP3DbxlZypLaX0/BY=","content_type":"image/jpeg","@type":"blob"},"value":10,"key":"Broccoli"},{"image":{"length":20713,"digest":"sha1-OLJ5oP5rOyUyR45BmsSWCTfypc0=","content_type":"image/jpeg","@type":"blob"},"value":4,"key":"Brussels Spro
{"level":"error","ts":1586786020.6051633,"logger":"cluster","msg":"Reconciliation failed","cluster":"default/cb-example","error":"[Get http://cb-example-0000.cb-example.default.svc:8091/settings/clientCertAuth: dial tcp: lookup cb-example-0000.cb-example.default.svc on 10.0.0.10:53: no such host]","stacktrace":"github.com/couchbase/couchbase-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).runReconcile\n\t/home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:370\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).Update\n\t/home/couchbase/jenkins/workspace/couchbase-operator-build/goproj/src/github.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:387\ngithub.com/couchbase/couchbase-opera
"syncgateway": {
"global": {
"resource_utilization": {
"admin_net_bytes_recv": 2142369678,
"admin_net_bytes_sent": 268548814,
"error_count": 0,
"go_memstats_heapalloc": 17566752,
"go_memstats_heapidle": 38338560,
"go_memstats_heapinuse": 27033600,
"replications":[
{
"replication_id":"continuous-hautejo-europe-to-china",
"source": "db-hj",
"target": "http://hautejobatch:password@china-loadbalance-ip-here:4984/db-hj",
"continuous":true
},
{
"replication_id":"continuous-hautejo-china-to-europe",
"target": "db-hj",
{
"syncGateway_dcp": {
"backfill_completed": 0,
"backfill_expected": 0
},
"syncgateway": {
"global": {
"resource_utilization": {
"admin_net_bytes_recv": 134121097,
"admin_net_bytes_sent": 21809209,