Skip to content

Instantly share code, notes, and snippets.

View sridevi-15's full-sized avatar

Sridevi sridevi-15

View GitHub Profile
2022-03-02 17:21:33.759736-0800 Todo[9612:214297] CouchbaseLite Database Verbose: {DB#2} begin transaction
2022-03-02 17:21:33.760452-0800 Todo[9612:214297] CouchbaseLite Database Info: Need to read rev-tree of doc '-JJKlMxTS9y0oz3VtP4GEP2'
2022-03-02 17:21:33.761199-0800 Todo[9612:214297] CouchbaseLite Database Verbose: Saved doc '-JJKlMxTS9y0oz3VtP4GEP2' #14-6151e8c1f8b1b60baabc2312aecdcc049919a0b0; body=218, extra=646
2022-03-02 17:21:33.761605-0800 Todo[9612:214297] CouchbaseLite Database Verbose: {DB#2} Saved '-JJKlMxTS9y0oz3VtP4GEP2' rev #14-6151e8c1f8b1b60baabc2312aecdcc049919a0b0 as seq 108
2022-03-02 17:21:33.761984-0800 Todo[9612:214297] CouchbaseLite Database Verbose: {DB#2} commit transaction
2022-03-02 17:21:33.762751-0800 Todo[9612:214297] CouchbaseLite Replicator Verbose: {ReplicatorChangesFeed#17} Database changed! [notify=1]
2022-03-02 17:21:33.763529-0800 Todo[9612:218231] CouchbaseLite Replicator Verbose: {ReplicatorChangesFeed#17} Asking DB observer for 200 new changes since sequence #107
@sridevi-15
sridevi-15 / select *, meta().plan from system:prepareds
Created September 14, 2020 17:21
select *, meta().plan from system:prepareds
[
{
"plan": {
"#operator": "Authorize",
"privileges": {
"List": [
{
"Priv": 7,
"Props": 0,
"Target": "default:data-bucket"
@sridevi-15
sridevi-15 / select *, meta().plan from system:completed_requests
Created September 14, 2020 17:20
select *, meta().plan from system:completed_requests
[
{
"completed_requests": {
"elapsedTime": "2.786858315s",
"errorCount": 0,
"node": "172.23.106.102:8091",
"phaseOperators": {
"authorize": 1
},
"phaseTimes": {
@sridevi-15
sridevi-15 / select *, meta().plan from system:active_requests
Created September 14, 2020 17:18
select *, meta().plan from system:active_requests
[
{
"active_requests": {
"clientContextID": "de0536cc-f4e2-40c5-85c1-36ca8d7f12c8",
"elapsedTime": "4.721113ms",
"executionTime": "4.679893ms",
"node": "172.23.106.102:8091",
"phaseCounts": {
"fetch": 16,
"primaryScan": 3
2020-08-21 14:04:16.003707-0700 CBLTestServer-iOS[33496:672616] CouchbaseLite/2.8.0 (Swift; iOS 13.5; iPhone) Build/114 Commit/7ed011a4+CHANGES LiteCore/2.8.0 (114)
[DEBUG] Did open IPv4 listening socket 5
[DEBUG] Did open IPv6 listening socket 6
[INFO] GCDWebServer started on port 8080 and reachable at http://192.168.86.22:8080/
[DEBUG] Did open connection on socket 7
[DEBUG] Did connect
[DEBUG] Did start background task
[DEBUG] Connection received 260 bytes on socket 7
[DEBUG] Connection on socket 7 preflighting request "POST /logging_configure" with 260 bytes body
[DEBUG] Connection on socket 7 processing request "POST /logging_configure" with 260 bytes body
@sridevi-15
sridevi-15 / gist:563a117aad8e74570e14c5febad2f12f
Created March 26, 2020 20:32
sgw sginfo logs for _session failure
2020-03-26T17:52:53.488Z ==== Couchbase Sync Gateway/2.8.0(144;f1a2584) EE ====
2020-03-26T17:52:53.488Z ==== Couchbase Sync Gateway/2.8.0(144;f1a2584) EE ====
2020-03-26T17:52:53.488Z [INF] Logging: Console disabled
2020-03-26T17:52:53.488Z [INF] Logging: Files to /home/sync_gateway/logs
2020-03-26T17:52:53.488Z [INF] Logging: Console level: none
2020-03-26T17:52:53.488Z [INF] Logging: Console keys: [HTTP]
2020-03-26T17:52:53.488Z [INF] Logging: Redaction level: none
2020-03-26T17:52:53.488Z [INF] requestedSoftFDLimit >= currentHardFdLimit (90000 >= 65535) capping at 65535
2020-03-26T17:52:53.488Z [INF] Configured process to allow 65535 open file descriptors
2020-03-26T17:52:53.488Z [INF] Logging stats with frequency: 1m0s
@sridevi-15
sridevi-15 / gist:f087c3bcbb2b032629a117425f5b5854
Created March 19, 2020 21:07
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
@sridevi-15
sridevi-15 / sgw log file 2.8.0-119 for x509
Created March 9, 2020 21:44
sgw log file 2.8.0-119 for x509
2020-03-09T14:43:02.561-07:00 [INF] GoCBCustomSGTranscoder Opening Couchbase database data-bucket on <couchbases://172.23.106.103:> as user "data-bucket"
2020-03-09T14:43:02.561-07:00 [INF] Auth: Attempting cert authentication against bucket data-bucket on couchbases://172.23.106.103?cacertpath=%2FUsers%2Fsync_gateway%2Fcerts%2Fca.pem&certpath=%2FUsers%2Fsync_gateway%2Fcerts%2Fchain.pem&http_idle_conn_timeout=90000&http_max_idle_conns=64000&http_max_idle_conns_per_host=256&keypath=%2FUsers%2Fsync_gateway%2Fcerts%2Fpkey.key&kv_pool_size=2&n1ql_timeout=75000&operation_tracing=false
2020-03-09T14:43:02.611-07:00 [INF] Error opening bucket data-bucket: failed to connect to any of the specified hosts
2020-03-09T14:43:02.611-07:00 [WRN] RetryLoop for Attempt to connect to bucket : data-bucket giving up after 14 attempts -- base.RetryLoop() at util.go:397
2020-03-09T14:43:02.611-07:00 [ERR] Error opening database db: 502 Unable to connect to Couchbase Server (connection refused). Please ensure it is running and rea
@sridevi-15
sridevi-15 / sgw logs for 2.8.0-128-2
Created March 9, 2020 21:12
sgw logs for 2.8.0-128-2
2020-03-09T14:11:45.361-07:00 ==== Couchbase Sync Gateway/2.8.0(128;c545625) EE ====
2020-03-09T14:11:45.361-07:00 [INF] Logging: Console disabled
2020-03-09T14:11:45.361-07:00 [INF] Logging: Files disabled
2020-03-09T14:11:45.361-07:00 [ERR] No log_file_path property specified in config, and --defaultLogFilePath command line flag was not set. Log files required for product support are not being generated.
runtime: pointer 0xc000272808 to unallocated span span.base()=0xc00026c000 span.limit=0xc000274000 span.state=0
runtime: found in object at *(0xc000266750+0x28)
object=0xc000266750 s.base()=0xc000266000 s.limit=0xc000267fe0 s.spanclass=8 s.elemsize=48 s.state=mSpanInUse
*(object+0) = 0xc00027e450
*(object+8) = 0xc000161c00
*(object+16) = 0x1
@sridevi-15
sridevi-15 / sgw logs with 2.8.0-128
Created March 9, 2020 18:21
sgw logs with 2.8.0-128
Last login: Thu Mar 5 22:47:15 on ttys006
HQ-Sridevi2019:mobile-testkit-fix-nonCentosx509tests sridevisaragadam$ ls
CBLClient ansible.cfg certs.zip deps mobile_testkit_tests results simulations utilities
README.adoc ansible.cfg.example clean.sh docker pytest.ini run_repo_tests.sh sri-temp vagrant
__init__.py apps conftest.py keywords requirements.txt run_scripts test-framework.log validate_code.sh
__pycache__ certs continuous_integration libraries resources setup.sh testsuites venv
HQ-Sridevi2019:mobile-testkit-fix-nonCentosx509tests sridevisaragadam$
HQ-Sridevi2019:mobile-testkit-fix-nonCentosx509tests sridevisaragadam$
HQ-Sridevi2019:mobile-testkit-fix-nonCentosx509tests sridevisaragadam$ vi ~/.bash_profile
HQ-Sridevi2019:mobile-testkit-fix-nonCentosx509tests sridevisaragadam$ sshpass