Skip to content

Instantly share code, notes, and snippets.

@sridevi-15
Created March 19, 2020 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sridevi-15/f087c3bcbb2b032629a117425f5b5854 to your computer and use it in GitHub Desktop.
Save sridevi-15/f087c3bcbb2b032629a117425f5b5854 to your computer and use it in GitHub Desktop.
409 wtihout xattrs for _deleted property
[root@localhost logs]# cat sg_info.log
2020-03-19T14:03:31.891-07:00 ==== Couchbase Sync Gateway/2.7.2(2;583d2dc) EE ====
2020-03-19T14:03:31.891-07:00 ==== Couchbase Sync Gateway/2.7.2(2;583d2dc) EE ====
2020-03-19T14:03:31.891-07:00 [INF] Logging: Console disabled
2020-03-19T14:03:31.891-07:00 [INF] Logging: Files to /home/sync_gateway/logs
2020-03-19T14:03:31.891-07:00 [INF] Logging: Console level: none
2020-03-19T14:03:31.891-07:00 [INF] Logging: Console keys: [HTTP]
2020-03-19T14:03:31.891-07:00 [INF] Logging: Redaction level: none
2020-03-19T14:03:31.891-07:00 [INF] requestedSoftFDLimit >= currentHardFdLimit (90000 >= 65535) capping at 65535
2020-03-19T14:03:31.891-07:00 [INF] Configured process to allow 65535 open file descriptors
2020-03-19T14:03:31.891-07:00 [INF] Logging stats with frequency: 1m0s
2020-03-19T14:03:31.891-07:00 [INF] Opening db /db as bucket "data-bucket", pool "default", server <couchbases://172.23.104.144:11207>
2020-03-19T14:03:31.891-07:00 [INF] GoCBCustomSGTranscoder Opening Couchbase database data-bucket on <couchbases://172.23.104.144:11207> as user "data-bucket"
2020-03-19T14:03:31.892-07:00 [INF] Auth: Attempting credential authentication couchbases://172.23.104.144:11207?http_idle_conn_timeout=90000&http_max_idle_conns=64000&http_max_idle_conns_per_host=256&kv_pool_size=2&n1ql_timeout=75000&operation_tracing=false
2020-03-19T14:03:31.901-07:00 [INF] Successfully opened bucket data-bucket
2020-03-19T14:03:31.926-07:00 [INF] Set query timeouts for bucket data-bucket to cluster:1m15s, bucket:1m15s
2020-03-19T14:03:31.926-07:00 [INF] Initializing indexes with numReplicas: 0...
2020-03-19T14:03:32.031-07:00 [INF] Query: Index sg_access_1 doesn't exist, creating...
2020-03-19T14:03:32.220-07:00 [INF] Query: Index sg_access_1 created successfully
2020-03-19T14:03:32.242-07:00 [INF] Query: Index sg_roleAccess_1 doesn't exist, creating...
2020-03-19T14:03:32.453-07:00 [INF] Query: Index sg_roleAccess_1 created successfully
2020-03-19T14:03:32.474-07:00 [INF] Query: Index sg_channels_1 doesn't exist, creating...
2020-03-19T14:03:32.719-07:00 [INF] Query: Index sg_channels_1 created successfully
2020-03-19T14:03:32.744-07:00 [INF] Query: Index sg_allDocs_1 doesn't exist, creating...
2020-03-19T14:03:32.965-07:00 [INF] Query: Index sg_allDocs_1 created successfully
2020-03-19T14:03:32.994-07:00 [INF] Query: Index sg_syncDocs_1 doesn't exist, creating...
2020-03-19T14:03:33.274-07:00 [INF] Query: Index sg_syncDocs_1 created successfully
2020-03-19T14:03:33.291-07:00 [INF] Query: Building deferred indexes: [sg_roleAccess_1 sg_allDocs_1 sg_channels_1 sg_access_1 sg_syncDocs_1]
2020-03-19T14:03:36.645-07:00 [INF] Verifying index availability for bucket data-bucket...
2020-03-19T14:03:36.656-07:00 [INF] Indexes ready for bucket data-bucket.
2020-03-19T14:03:36.656-07:00 [INF] delta_sync enabled=false with rev_max_age_seconds=86400 for database db
2020-03-19T14:03:36.656-07:00 [INF] Created background task: "CleanAgedItems" with interval 1m0s
2020-03-19T14:03:36.656-07:00 [INF] Cache: Initializing changes cache for database db with options {ChannelCacheOptions:{ChannelCacheMinLength:50 ChannelCacheMaxLength:500 ChannelCacheAge:1m0s MaxNumChannels:50000 CompactHighWatermarkPercent:80 CompactLowWatermarkPercent:60} CachePendingSeqMaxWait:5s CachePendingSeqMaxNum:10000 CacheSkippedSeqMaxWait:1h0m0s}
2020-03-19T14:03:36.656-07:00 [INF] Created background task: "InsertPendingEntries" with interval 2.5s
2020-03-19T14:03:36.656-07:00 [INF] Created background task: "CleanSkippedSequenceQueue" with interval 30m0s
2020-03-19T14:03:36.656-07:00 [INF] DCP: Starting mutation feed on bucket data-bucket due to either channel cache mode or doc tracking (auto-import)
2020-03-19T14:03:36.656-07:00 [INF] DCP: Using DCP feed for bucket: "data-bucket" (based on feed_type specified in config file)
2020-03-19T14:03:36.657-07:00 [INF] DCP: c:data-bucket-SG Using DCP Logging Receiver
2020-03-19T14:03:36.689-07:00 [INF] DCP: c:data-bucket-SG DCP feed starting with name SG-v-2.7-commit--uuid-19c4ed2a-6a25-11ea-aed1-0e1e1c3b334a
2020-03-19T14:03:36.705-07:00 [INF] Starting admin server on 0.0.0.0:4985
2020-03-19T14:03:36.708-07:00 [INF] Starting server on :4984 ...
2020-03-19T14:03:36.729-07:00 [INF] CBGoUtilsLogger: Using plain authentication for user <ud>data-bucket</ud>
2020-03-19T14:03:37.535-07:00 [INF] HTTP: #001: POST /db/_user/ (as ADMIN)
2020-03-19T14:03:37.541-07:00 [INF] Access: Recomputed channels for "autotest": !:1
2020-03-19T14:03:37.546-07:00 [INF] Access: Computed roles for "autotest":
2020-03-19T14:03:37.635-07:00 [INF] Auth: Saved principal w/ name:autotest, seq: #1
2020-03-19T14:03:37.635-07:00 [INF] HTTP+: #001: --> 201 Created (99.5 ms)
2020-03-19T14:03:37.635-07:00 [INF] DCP: Received #1 ("_user/autotest")
2020-03-19T14:03:37.665-07:00 [INF] HTTP: #002: POST /db/_session (as ADMIN)
2020-03-19T14:03:37.674-07:00 [INF] Access: Recomputed channels for "autotest": !:1,tombstone_deleted_property:1
2020-03-19T14:03:37.676-07:00 [INF] DCP: Received #1 ("_user/autotest")
2020-03-19T14:03:37.677-07:00 [INF] HTTP+: #002: --> 200 (11.6 ms)
2020-03-19T14:03:37.702-07:00 [INF] HTTP: #003: POST /db/_user/ (as ADMIN)
2020-03-19T14:03:37.708-07:00 [INF] Access: Recomputed channels for "autotest2": !:1
2020-03-19T14:03:37.712-07:00 [INF] Access: Computed roles for "autotest2":
2020-03-19T14:03:37.800-07:00 [INF] Auth: Saved principal w/ name:autotest2, seq: #2
2020-03-19T14:03:37.800-07:00 [INF] HTTP+: #003: --> 201 Created (98.7 ms)
2020-03-19T14:03:37.801-07:00 [INF] DCP: Received #2 ("_user/autotest2")
2020-03-19T14:03:37.838-07:00 [INF] HTTP: #004: POST /db/_session (as ADMIN)
2020-03-19T14:03:37.843-07:00 [INF] Access: Recomputed channels for "autotest2": !:1,olddoc_deleted_channel:2
2020-03-19T14:03:37.844-07:00 [INF] DCP: Received #2 ("_user/autotest2")
2020-03-19T14:03:37.846-07:00 [INF] HTTP+: #004: --> 200 (7.8 ms)
2020-03-19T14:03:37.904-07:00 [INF] HTTP: #005: POST /db/
2020-03-19T14:03:37.917-07:00 [INF] Javascript: Sync new doc created
2020-03-19T14:03:37.917-07:00 [INF] CRUD: Doc "tombstone_olddoc" / "1-6131adeb909a9f273e5cebcb20b69c5e" in channels "{tombstone_deleted_property}"
2020-03-19T14:03:37.919-07:00 [INF] HTTP+: #005: --> 200 (14.8 ms)
2020-03-19T14:03:37.922-07:00 [INF] Cache: Found mobile xattr on doc "tombstone_olddoc" without _sync property - caching, assuming upgrade in progress.
2020-03-19T14:03:37.944-07:00 [INF] HTTP: #006: GET /db/tombstone_olddoc?conflicts=true&revs=true&show_exp=true
2020-03-19T14:03:37.946-07:00 [INF] HTTP+: #006: --> 200 (2.3 ms)
2020-03-19T14:03:37.970-07:00 [INF] HTTP: #007: PUT /db/tombstone_olddoc
2020-03-19T14:03:37.976-07:00 [INF] Javascript: Sync does not contain _deleted property
2020-03-19T14:03:37.978-07:00 [INF] HTTP+: #007: --> 201 (8.0 ms)
2020-03-19T14:03:37.979-07:00 [INF] Cache: Found mobile xattr on doc "tombstone_olddoc" without _sync property - caching, assuming upgrade in progress.
2020-03-19T14:03:38.000-07:00 [INF] HTTP: #008: DELETE /db/tombstone_olddoc?rev=2-ba777092abd01ab3a905db23e445464a
2020-03-19T14:03:38.003-07:00 [INF] Javascript: Sync does not contain _deleted property
2020-03-19T14:03:38.003-07:00 [INF] CRUD: Doc "tombstone_olddoc" / "3-6daf10a00de1dcc0deb8ccdb1210392d" in channels "{}"
2020-03-19T14:03:38.004-07:00 [INF] HTTP+: #008: --> 200 (3.5 ms)
2020-03-19T14:03:38.028-07:00 [INF] HTTP: #009: PUT /db/tombstone_olddoc
2020-03-19T14:03:38.051-07:00 [INF] HTTP: #009: --> 409 Document revision conflict (22.2 ms)
2020-03-19T14:03:38.353-07:00 [INF] HTTP: #010: GET /
2020-03-19T14:03:38.353-07:00 [INF] HTTP+: #010: --> 200 (0.1 ms)
2020-03-19T14:03:39.480-07:00 [INF] Cache: Received #6 (unused sequence)
2020-03-19T14:03:39.480-07:00 [INF] Cache: Received #7 (unused sequence)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment