Building

Started building at 2022/07/24 17:20:14
Using pegged server, 1636 build
Calculating base
Updating mirror
Basing run on 7.2.0-1636 fa1df4e43
Updating tree for run 24.07.2022-17.20
query is at b7678f3, changes since last good build: none
gometa is at a237ed7, changes since last good build: none
ns_server is at 46b3dc4, changes since last good build: none
couchstore is at f0c688c, changes since last good build: none
forestdb is at acba458, changes since last good build: none
kv_engine is at b03ec8a, changes since last good build: none
Switching indexing to unstable
indexing is at 6a940e6, changes since last good build: none
Switching plasma to unstable
plasma is at c2cdb39, changes since last good build: 
fatal: Invalid revision range 7bda4ff7490b65ed4dcfae850ac97c668bdcf07b..HEAD

Switching nitro to unstable
nitro is at 966c610, changes since last good build: none
Switching gometa to master
gometa is at a237ed7, changes since last good build: none
Switching testrunner to master
Submodule 'gauntlet' (https://github.com/pavithra-mahamani/gauntlet) registered for path 'gauntlet'
Submodule 'java_sdk_client' (https://github.com/couchbaselabs/java_sdk_client) registered for path 'java_sdk_client'
Submodule 'lib/capellaAPI' (https://github.com/couchbaselabs/CapellaRESTAPIs) registered for path 'lib/capellaAPI'
Cloning into '/opt/build/testrunner/gauntlet'...
Cloning into '/opt/build/testrunner/java_sdk_client'...
Cloning into '/opt/build/testrunner/lib/capellaAPI'...
fatal: Could not chdir to '../../../gauntlet': No such file or directory
Unable to fetch in submodule path 'gauntlet'
testrunner is at 6471222, changes since last good build: none
Pulling in uncommitted change 177634 at refs/changes/34/177634/9
Total 8 (delta 5), reused 8 (delta 5)
[unstable 7d28ac22] MB-52308 Part 4 (7.2.0 1636) Elixir Pause-Resume feature for GSI
 Author: cherkauer-couchbase 
 Date: Fri Jul 15 16:17:02 2022 -0700
 4 files changed, 789 insertions(+), 136 deletions(-)
Pulling in uncommitted change 177770 at refs/changes/70/177770/4
Total 5 (delta 4), reused 5 (delta 4)
[unstable a23b21ea] Add more logging when inserting nil value into back store
 Author: Varun Velamuri 
 Date: Wed Jul 20 14:51:23 2022 +0530
 1 file changed, 14 insertions(+)
Pulling in uncommitted change 177779 at refs/changes/79/177779/3
Total 11 (delta 8), reused 10 (delta 8)
[unstable 7dbe599c] WIP: MB-47409: Log nil values in NodeTable
 Author: akhilmd 
 Date: Wed Jul 20 16:40:09 2022 +0530
 1 file changed, 57 insertions(+), 3 deletions(-)
Pulling in uncommitted change 177882 at refs/changes/82/177882/1
Total 5 (delta 4), reused 5 (delta 4)
[unstable ae9dc833] MB-53057 Use all disk snapshots on DCP rollback
 Author: Deepkaran 
 Date: Thu Jul 21 15:15:12 2022 -0700
 1 file changed, 32 insertions(+), 38 deletions(-)
Pulling in uncommitted change 177256 at refs/changes/56/177256/2
Total 3 (delta 2), reused 3 (delta 2)
[unstable 6c49b5c] MB-51993: Fix Timeout in TestAutoTuneFlushBufferGetUsedMemory
 Author: saptarshi.sen 
 Date: Thu Jul 7 18:41:49 2022 -0700
 1 file changed, 22 insertions(+), 1 deletion(-)
Pulling in uncommitted change 177511 at refs/changes/11/177511/2
Total 3 (delta 1), reused 2 (delta 1)
[unstable 897de0d] MB-52020: Add fs utils for data compare
 Author: saptarshi.sen 
 Date: Tue Jul 12 23:34:26 2022 -0700
 1 file changed, 39 insertions(+)
Pulling in uncommitted change 177512 at refs/changes/12/177512/4
Total 7 (delta 1), reused 5 (delta 1)
[unstable 4432cd0] MB-52020: Add copier interface & LFS Copier
 Author: saptarshi.sen 
 Date: Wed Jul 13 10:27:35 2022 -0700
 2 files changed, 412 insertions(+)
 create mode 100644 copier.go
 create mode 100644 copier_test.go
Pulling in uncommitted change 177513 at refs/changes/13/177513/4
Total 11 (delta 3), reused 8 (delta 3)
[unstable 4b7d63b] MB-52020: Make readLogSB load complete superblock for copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 11:13:24 2022 -0700
 2 files changed, 20 insertions(+), 12 deletions(-)
Pulling in uncommitted change 177514 at refs/changes/14/177514/4
Total 15 (delta 4), reused 10 (delta 4)
[unstable 844dfd9] MB-52020: Make LSS loadMetadata return bytes for copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:08:05 2022 -0700
 2 files changed, 9 insertions(+), 8 deletions(-)
Pulling in uncommitted change 177515 at refs/changes/15/177515/4
Total 18 (delta 7), reused 13 (delta 7)
[unstable e26eeb1] MB-52020: Make Shard loadMetadata return bytes for copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:24:35 2022 -0700
 1 file changed, 9 insertions(+), 8 deletions(-)
Pulling in uncommitted change 177516 at refs/changes/16/177516/7
Total 26 (delta 11), reused 18 (delta 11)
[unstable 1435241] MB-52020: Add LSS Copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:49:15 2022 -0700
 6 files changed, 771 insertions(+), 4 deletions(-)
Pulling in uncommitted change 177517 at refs/changes/17/177517/7
Total 32 (delta 14), reused 22 (delta 14)
[unstable 5a05bda] Mb-52020: Add Shard Copy & Restore on LFS
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:56:46 2022 -0700
 4 files changed, 1209 insertions(+), 6 deletions(-)
Pulling in uncommitted change 177518 at refs/changes/18/177518/8
Total 36 (delta 19), reused 28 (delta 19)
[unstable 8035815] MB-52020: Add Tenant Copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 13:06:22 2022 -0700
 2 files changed, 75 insertions(+)
Pulling in uncommitted change 177642 at refs/changes/42/177642/1
Total 7 (delta 4), reused 6 (delta 4)
[unstable 303ab95] MB-51993: Fix negative global flush buffer memory usage
 Author: saptarshi.sen 
 Date: Fri Jul 15 20:58:04 2022 -0700
 2 files changed, 92 insertions(+), 4 deletions(-)
Pulling in uncommitted change 177643 at refs/changes/43/177643/1
Total 10 (delta 5), reused 8 (delta 5)
[unstable aef3f3a] MB-51993: Handle invalid autotuner flush buffer config
 Author: saptarshi.sen 
 Date: Fri Jul 15 21:03:34 2022 -0700
 1 file changed, 27 insertions(+), 17 deletions(-)
Pulling in uncommitted change 177644 at refs/changes/44/177644/1
Total 14 (delta 10), reused 14 (delta 10)
[unstable ef19ca8] MB-51993: Add autotuner test channel to reduce CI runtime
 Author: saptarshi.sen 
 Date: Fri Jul 15 21:06:52 2022 -0700
 2 files changed, 319 insertions(+), 294 deletions(-)
Building community edition
Building cmakefiles and deps [CE]
Building main product [CE]

... A new version of repo (2.21) is available.
... You should upgrade soon:
    cp /opt/build/.repo/repo/repo /home/buildbot/bin/repo


... A new version of repo (2.21) is available.
... You should upgrade soon:
    cp /opt/build/.repo/repo/repo /home/buildbot/bin/repo

Build CE finished
BUILD_ENTERPRISE empty. Building enterprise edition
Building Enterprise Edition
Building cmakefiles and deps [EE]
Building main product [EE]

... A new version of repo (2.21) is available.
... You should upgrade soon:
    cp /opt/build/.repo/repo/repo /home/buildbot/bin/repo


... A new version of repo (2.21) is available.
... You should upgrade soon:
    cp /opt/build/.repo/repo/repo /home/buildbot/bin/repo

Build EE finished
Disabled integration tests

Testing

Started testing at 2022/07/24 18:07:15
Testing mode: sanity,unit,functional,integration
Using storage type: memdb
Setting ulimit to 200000

Simple Test

Jul 24 18:07:38 b" 'stop_on_failure': 'True'}"
Jul 24 18:07:38 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops,nodes_in=3,replicas=1,items=50000,get-logs-cluster-run=True,doc_ops=create;update;delete'
Jul 24 18:07:38 b"{'nodes_in': '3', 'replicas': '1', 'items': '50000', 'get-logs-cluster-run': 'True', 'doc_ops': 'create;update;delete', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 1, 'total_testcases': 8, 'last_case_fail': 'False', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Jul-24_18-07-36/test_1'}"
Jul 24 18:07:38 b'-->result: '
Jul 24 18:07:38 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops,nodes_in=3,bucket_type=ephemeral,replicas=1,items=50000,get-logs-cluster-run=True,doc_ops=create;update;delete'
Jul 24 18:07:38 b"{'nodes_in': '3', 'bucket_type': 'ephemeral', 'replicas': '1', 'items': '50000', 'get-logs-cluster-run': 'True', 'doc_ops': 'create;update;delete', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 2, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Jul-24_18-07-36/test_2'}"
Jul 24 18:07:38 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t memcapable.WarmUpMemcachedTest.do_warmup_100k,get-logs-cluster-run=True'
Jul 24 18:07:38 b"{'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 3, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Jul-24_18-07-36/test_3'}"
Jul 24 18:07:38 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t view.createdeleteview.CreateDeleteViewTests.test_view_ops,ddoc_ops=create,test_with_view=True,num_ddocs=1,num_views_per_ddoc=10,items=1000,skip_cleanup=False,get-logs-cluster-run=True'
Jul 24 18:07:38 b"{'ddoc_ops': 'create', 'test_with_view': 'True', 'num_ddocs': '1', 'num_views_per_ddoc': '10', 'items': '1000', 'skip_cleanup': 'False', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 4, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Jul-24_18-07-36/test_4'}"
Jul 24 18:07:38 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t view.viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_in,num_nodes_to_add=1,skip_rebalance=true,docs-per-day=1,timeout=1200,get-logs-cluster-run=True'
Jul 24 18:07:38 b"{'num_nodes_to_add': '1', 'skip_rebalance': 'true', 'docs-per-day': '1', 'timeout': '1200', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 5, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Jul-24_18-07-36/test_5'}"
Jul 24 18:07:38 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t view.viewquerytests.ViewQueryTests.test_simple_dataset_stale_queries_data_modification,num-docs=1000,skip_rebalance=true,timeout=1200,get-logs-cluster-run=True'ERROR
Jul 24 18:07:38 b"{'num-docs': '1000', 'skip_rebalance': 'true', 'timeout': '1200', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 6, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Jul-24_18-07-36/test_6'}"
Jul 24 18:07:38 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t xdcr.uniXDCR.unidirectional.load_with_ops,replicas=1,items=10000,value_size=128,ctopology=chain,rdirection=unidirection,doc-ops=update-delete,get-logs-cluster-run=True'
Jul 24 18:07:38 b"{'replicas': '1', 'items': '10000', 'value_size': '128', 'ctopology': 'chain', 'rdirection': 'unidirection', 'doc-ops': 'update-delete', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 7, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Jul-24_18-07-36/test_7'}"
Jul 24 18:07:38 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite xdcr.uniXDCR.unidirectional , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t xdcr.uniXDCR.unidirectional.load_with_failover,replicas=1,items=10000,ctopology=chain,rdirection=unidirection,doc-ops=update-delete,failover=source,get-logs-cluster-run=True'
Jul 24 18:07:38 b"{'replicas': '1', 'items': '10000', 'ctopology': 'chain', 'rdirection': 'unidirection', 'doc-ops': 'update-delete', 'failover': 'source', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 8, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Jul-24_18-07-36/test_8'}"
Jul 24 18:07:38 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'summary so far suite xdcr.uniXDCR.unidirectional , pass 0 , fail 2'
Jul 24 18:07:38 b'failures so far...'
Jul 24 18:07:38 b'xdcr.uniXDCR.unidirectional.load_with_failover'
Jul 24 18:07:38 b'Run after suite setup for xdcr.uniXDCR.unidirectional.load_with_failover'
Jul 24 18:07:38 b"('rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops', ' fail ')"
Jul 24 18:07:38 b"('rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops', ' fail ')"
Jul 24 18:07:38 b"('memcapable.WarmUpMemcachedTest.do_warmup_100k', ' fail ')"
Jul 24 18:07:38 b"('view.createdeleteview.CreateDeleteViewTests.test_view_ops', ' fail ')"
Jul 24 18:07:38 b"('view.viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_in', ' fail ')"
Jul 24 18:07:38 b"('view.viewquerytests.ViewQueryTests.test_simple_dataset_stale_queries_data_modification', ' fail ')"
Jul 24 18:07:38 b"('xdcr.uniXDCR.unidirectional.load_with_ops', ' fail ')"
Jul 24 18:07:38 b"('xdcr.uniXDCR.unidirectional.load_with_failover', ' fail ')"
Jul 24 18:07:38 Makefile:28: recipe for target 'simple-test' failed

Unit tests

=== RUN   TestMerger
--- PASS: TestMerger (0.03s)
=== RUN   TestInsert
--- PASS: TestInsert (0.00s)
=== RUN   TestInsertPerf
16000000 items took 24.581701753s -> 650890.6568296204 items/s conflicts 19
--- PASS: TestInsertPerf (24.58s)
=== RUN   TestGetPerf
16000000 items took 11.256600842s -> 1.4213882347414945e+06 items/s
--- PASS: TestGetPerf (11.85s)
=== RUN   TestGetRangeSplitItems
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3351,
"memory_used":            37360992,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749144,
"level1": 187776,
"level2": 47222,
"level3": 11903,
"level4": 2974,
"level5": 735,
"level6": 182,
"level7": 48,
"level8": 12,
"level9": 2,
"level10": 2,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Split range keys [35911 108875 357987 462344 598654 671258 781160]
No of items in each range [35911 72964 249112 104357 136310 72604 109902 218840]
--- PASS: TestGetRangeSplitItems (0.62s)
=== RUN   TestBuilder
{
"node_count":             50000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3333,
"memory_used":            1866650912,
"node_allocs":            50000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 37500395,
"level1": 9374070,
"level2": 2344403,
"level3": 586130,
"level4": 146617,
"level5": 36338,
"level6": 9033,
"level7": 2299,
"level8": 539,
"level9": 124,
"level10": 38,
"level11": 9,
"level12": 5,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Took 7.07920275s to build 50000000 items, 7.0629425e+06 items/sec
Took 394.197367ms to iterate 50000000 items
--- PASS: TestBuilder (7.47s)
=== RUN   TestNodeDCAS
--- PASS: TestNodeDCAS (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/memdb/skiplist	44.780s
=== RUN   TestInsert
Set IO Concurrency: 716
--- PASS: TestInsert (0.01s)
=== RUN   TestInsertPerf
20000000 items took 47.932675222s -> 417251.90399597096 items/s snapshots_created 210 live_snapshots 1
--- PASS: TestInsertPerf (59.93s)
=== RUN   TestInsertDuplicates
--- PASS: TestInsertDuplicates (0.36s)
=== RUN   TestGetPerf
16000000 items took 10.537787047s -> 1.518345353596326e+06 items/s
--- PASS: TestGetPerf (11.75s)
=== RUN   TestLoadStoreDisk
Inserting 1000000 items took 1.365843276s
{
"node_count":             999998,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       8,
"next_pointers_per_node": 1.3347,
"memory_used":            57354512,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749489,
"level1": 187331,
"level2": 47444,
"level3": 11812,
"level4": 2918,
"level5": 768,
"level6": 181,
"level7": 39,
"level8": 13,
"level9": 3,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
snap count = 1000000
2022-07-24T18:09:49.497+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[168 11290 64817 131010 74070 14335 38544 52189 92125 32561 38310 87879 41711 22657 43805 254529]] total count [1000000] snap count [1000000] size per shard [[1344 90320 518536 1048080 592560 114680 308352 417512 737000 260488 306480 703032 333688 181256 350440 2036232]] total size [8000000] memoryInUse [57354512]
Storing to disk took 317.02616ms
Loading from disk took 467.607511ms
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3326,
"memory_used":            57322272,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750244,
"level1": 187570,
"level2": 46724,
"level3": 11538,
"level4": 2945,
"level5": 735,
"level6": 170,
"level7": 60,
"level8": 11,
"level9": 3,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
--- PASS: TestLoadStoreDisk (3.59s)
=== RUN   TestConcurrentLoadCloseFragmentation
Done Inserting 2000000 items
frag = NaN%
2022-07-24T18:09:54.892+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[22708 149419 73620 32660 50069 21100 100620 79639 206834 69473 51222 315055 301910 62589 316778 146304]] total count [2000000] snap count [2000000] size per shard [[181664 1195352 588960 261280 400552 168800 804960 637112 1654672 555784 409776 2520440 2415280 500712 2534224 1170432]] total size [16000000] memoryInUse [114659568]
Done Storing to disk
frag = NaN%
Done Loading from disk
Done Closing
frag = NaN%
--- PASS: TestConcurrentLoadCloseFragmentation (5.32s)
=== RUN   TestConcurrentLoadCloseFragmentationSmall
Done Inserting 10 items
frag = NaN%
2022-07-24T18:09:56.390+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]] total count [0] snap count [0] size per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]] total size [0] memoryInUse [0]
Done Storing to disk
frag = NaN%
Done Closing
Done Loading from disk
frag = NaN%
--- PASS: TestConcurrentLoadCloseFragmentationSmall (0.09s)
=== RUN   TestConcurrentLoadCloseFragmentationEmpty
Done Inserting 0 items
frag = NaN%
2022-07-24T18:09:56.476+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]] total count [0] snap count [0] size per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]] total size [0] memoryInUse [0]
Done Storing to disk
frag = NaN%
Done Closing
Done Loading from disk
frag = NaN%
--- PASS: TestConcurrentLoadCloseFragmentationEmpty (0.31s)
=== RUN   TestConcurrentCloseSingleNode
A
--- PASS: TestConcurrentCloseSingleNode (0.00s)
=== RUN   TestStoreDiskShutdown
Inserting 1000000 items took 1.290670481s
{
"node_count":             1002327,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       10,
"next_pointers_per_node": 1.3318,
"memory_used":            57377500,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 752516,
"level1": 187687,
"level2": 46697,
"level3": 11587,
"level4": 2831,
"level5": 749,
"level6": 200,
"level7": 38,
"level8": 15,
"level9": 5,
"level10": 2,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
snap count = 1000000
Prepare returns error:  MemDB instance has been shutdown
--- PASS: TestStoreDiskShutdown (2.39s)
=== RUN   TestDelete
{
"node_count":             10,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.1000,
"memory_used":            556,
"node_allocs":            10,
"node_frees":             0,
"level_node_distribution":{
"level0": 9,
"level1": 1,
"level2": 0,
"level3": 0,
"level4": 0,
"level5": 0,
"level6": 0,
"level7": 0,
"level8": 0,
"level9": 0,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
{
"node_count":             10,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3000,
"memory_used":            588,
"node_allocs":            20,
"node_frees":             10,
"level_node_distribution":{
"level0": 7,
"level1": 3,
"level2": 0,
"level3": 0,
"level4": 0,
"level5": 0,
"level6": 0,
"level7": 0,
"level8": 0,
"level9": 0,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
--- PASS: TestDelete (1.00s)
=== RUN   TestGCPerf
final_node_count = 16000, average_live_node_count = 68415, wait_time_for_collection = 13ms
--- PASS: TestGCPerf (35.04s)
=== RUN   TestMemoryInUse
ItemsCount: 5000, MemoryInUse: 297104, NodesCount: 5000
ItemsCount: 0, MemoryInUse: 64, NodesCount: 0
--- PASS: TestMemoryInUse (1.01s)
=== RUN   TestFullScan
Inserting 1600000 items took 2.32528569s
{
"node_count":             1600000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       10,
"next_pointers_per_node": 1.3338,
"memory_used":            91745920,
"node_allocs":            1600000,
"node_frees":             0,
"level_node_distribution":{
"level0": 1199731,
"level1": 299972,
"level2": 75092,
"level3": 18940,
"level4": 4714,
"level5": 1177,
"level6": 258,
"level7": 84,
"level8": 22,
"level9": 9,
"level10": 1,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Full iteration of 1600000 items took 316.717671ms
--- PASS: TestFullScan (3.74s)
=== RUN   TestVisitor
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3335,
"memory_used":            57336400,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749957,
"level1": 187477,
"level2": 46831,
"level3": 11844,
"level4": 2916,
"level5": 737,
"level6": 180,
"level7": 43,
"level8": 12,
"level9": 2,
"level10": 1,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Took 72.889102ms to iterate 1000000 items, 1.3719472e+07 items/s
shard - 0 count = 8700, range: 0-8699
shard - 1 count = 36693, range: 8700-45392
shard - 2 count = 18446, range: 45393-63838
shard - 3 count = 16564, range: 63839-80402
shard - 4 count = 36755, range: 80403-117157
shard - 5 count = 56790, range: 117158-173947
shard - 6 count = 66189, range: 173948-240136
shard - 7 count = 35492, range: 240137-275628
shard - 8 count = 38592, range: 275629-314220
shard - 9 count = 13080, range: 314221-327300
shard - 10 count = 46344, range: 327301-373644
shard - 11 count = 26006, range: 373645-399650
shard - 12 count = 37450, range: 399651-437100
shard - 13 count = 10428, range: 437101-447528
shard - 14 count = 26062, range: 447529-473590
shard - 15 count = 50160, range: 473591-523750
shard - 16 count = 42569, range: 523751-566319
shard - 17 count = 14750, range: 566320-581069
shard - 18 count = 45194, range: 581070-626263
shard - 19 count = 53021, range: 626264-679284
shard - 20 count = 33843, range: 679285-713127
shard - 21 count = 7509, range: 713128-720636
shard - 22 count = 47733, range: 720637-768369
shard - 23 count = 74828, range: 768370-843197
shard - 24 count = 21901, range: 843198-865098
shard - 25 count = 13114, range: 865099-878212
shard - 26 count = 6220, range: 878213-884432
shard - 27 count = 38285, range: 884433-922717
shard - 28 count = 72890, range: 922718-995607
shard - 29 count = 4392, range: 995608-999999
shard - 30 count = 0, range: 0-0
shard - 31 count = 0, range: 0-0
--- PASS: TestVisitor (1.53s)
=== RUN   TestVisitorError
--- PASS: TestVisitorError (0.13s)
=== RUN   TestLoadDeltaStoreDisk
snap count = 1000000
2022-07-24T18:10:45.267+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[0 0 0 0 0 62808 114188 209571 212735 150470 187728 33434 0 0 0 0]] total count [970934] snap count [1000000] size per shard [[0 0 0 0 0 502464 913504 1676568 1701880 1203760 1501824 267472 0 0 0 0]] total size [7767472] memoryInUse [119717884]
Storing to disk took 15.777987572s
Loading from disk took 665.569151ms
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3335,
"memory_used":            57336064,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749738,
"level1": 187827,
"level2": 46818,
"level3": 11710,
"level4": 2956,
"level5": 709,
"level6": 176,
"level7": 51,
"level8": 10,
"level9": 2,
"level10": 2,
"level11": 1,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Restored 29066
RestoredFailed 379592
--- PASS: TestLoadDeltaStoreDisk (18.23s)
=== RUN   TestExecuteConcurrGCWorkers
--- PASS: TestExecuteConcurrGCWorkers (0.59s)
=== RUN   TestCloseWithActiveIterators
--- PASS: TestCloseWithActiveIterators (33.98s)
=== RUN   TestDiskCorruption
Inserting 100000 items took 95.879552ms
{
"node_count":             100011,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       4,
"next_pointers_per_node": 1.3328,
"memory_used":            5732432,
"node_allocs":            100000,
"node_frees":             0,
"level_node_distribution":{
"level0": 75113,
"level1": 18629,
"level2": 4675,
"level3": 1185,
"level4": 318,
"level5": 72,
"level6": 15,
"level7": 1,
"level8": 2,
"level9": 1,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
2022-07-24T18:11:34.778+05:30 [Info] MemDB::StoreToDisk: Unexpected amount of data being persisted dir [db.dump] count per shard [[275 7839 21456 9339 2315 2884 8133 15296 18187 9979 4297 0 0 0 0 0]] total count [100000] snap count [99999] size per shard [[2200 62712 171648 74712 18520 23072 65064 122368 145496 79832 34376 0 0 0 0 0]] total size [800000] memoryInUse [5732432]
2022-07-24T18:11:34.787+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[275 7839 21456 9339 2315 2884 8133 15296 18187 9979 4297 0 0 0 0 0]] total count [100000] snap count [99999] size per shard [[2200 62712 171648 74712 18520 23072 65064 122368 145496 79832 34376 0 0 0 0 0]] total size [800000] memoryInUse [5732432]
Storing to disk took 96.614067ms
Loading from disk took 27.456306ms
--- PASS: TestDiskCorruption (0.51s)
=== RUN   TestSnapshotStats
--- PASS: TestSnapshotStats (0.00s)
=== RUN   TestInsertDeleteConcurrent
total items in snapshot: 8755239  items deleted: 1244761
{
"node_count":             8755239,
"soft_deletes":           0,
"read_conflicts":         6604,
"insert_conflicts":       28,
"next_pointers_per_node": 1.3331,
"memory_used":            501939724,
"node_allocs":            10000000,
"node_frees":             10000002,
"level_node_distribution":{
"level0": 6568525,
"level1": 1639581,
"level2": 409871,
"level3": 103028,
"level4": 25696,
"level5": 6429,
"level6": 1566,
"level7": 408,
"level8": 107,
"level9": 20,
"level10": 6,
"level11": 2,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
allocs: 20000002 frees: 20000002
--- PASS: TestInsertDeleteConcurrent (16.07s)
=== RUN   TestNodeList
--- PASS: TestNodeList (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/memdb	195.843s
=== RUN   TestInteger
--- PASS: TestInteger (0.00s)
=== RUN   TestSmallDecimal
--- PASS: TestSmallDecimal (0.00s)
=== RUN   TestLargeDecimal
--- PASS: TestLargeDecimal (0.00s)
=== RUN   TestFloat
--- PASS: TestFloat (0.00s)
=== RUN   TestSuffixCoding
--- PASS: TestSuffixCoding (0.00s)
=== RUN   TestCodecLength
--- PASS: TestCodecLength (0.00s)
=== RUN   TestSpecialString
--- PASS: TestSpecialString (0.00s)
=== RUN   TestCodecNoLength
--- PASS: TestCodecNoLength (0.00s)
=== RUN   TestCodecJSON
--- PASS: TestCodecJSON (0.00s)
=== RUN   TestReference
--- PASS: TestReference (0.00s)
=== RUN   TestN1QLEncode
--- PASS: TestN1QLEncode (0.00s)
=== RUN   TestArrayExplodeJoin
--- PASS: TestArrayExplodeJoin (0.00s)
=== RUN   TestN1QLDecode
--- PASS: TestN1QLDecode (0.00s)
=== RUN   TestN1QLDecode2
--- PASS: TestN1QLDecode2 (0.00s)
=== RUN   TestArrayExplodeJoin2
--- PASS: TestArrayExplodeJoin2 (0.00s)
=== RUN   TestMB28956
--- PASS: TestMB28956 (0.00s)
=== RUN   TestFixEncodedInt
--- PASS: TestFixEncodedInt (0.00s)
=== RUN   TestN1QLDecodeLargeInt64
--- PASS: TestN1QLDecodeLargeInt64 (0.00s)
=== RUN   TestMixedModeFixEncodedInt
TESTING [4111686018427387900, -8223372036854775808, 822337203685477618] 
PASS 
TESTING [0] 
PASS 
TESTING [0.0] 
PASS 
TESTING [0.0000] 
PASS 
TESTING [0.0000000] 
PASS 
TESTING [-0] 
PASS 
TESTING [-0.0] 
PASS 
TESTING [-0.0000] 
PASS 
TESTING [-0.0000000] 
PASS 
TESTING [1] 
PASS 
TESTING [20] 
PASS 
TESTING [3456] 
PASS 
TESTING [7645000] 
PASS 
TESTING [9223372036854775807] 
PASS 
TESTING [9223372036854775806] 
PASS 
TESTING [9223372036854775808] 
PASS 
TESTING [92233720368547758071234000] 
PASS 
TESTING [92233720368547758071234987437653] 
PASS 
TESTING [12300000000000000000000000000000056] 
PASS 
TESTING [12300000000000000000000000000000000] 
PASS 
TESTING [123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056] 
PASS 
TESTING [123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000] 
PASS 
TESTING [12300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056] 
PASS 
TESTING [210690] 
PASS 
TESTING [90000] 
PASS 
TESTING [123000000] 
PASS 
TESTING [3.60e2] 
PASS 
TESTING [36e2] 
PASS 
TESTING [1.9999999999e10] 
PASS 
TESTING [1.99999e10] 
PASS 
TESTING [1.99999e5] 
PASS 
TESTING [0.00000000000012e15] 
PASS 
TESTING [7.64507352e8] 
PASS 
TESTING [9.2233720368547758071234987437653e31] 
PASS 
TESTING [2650e-1] 
PASS 
TESTING [26500e-1] 
PASS 
TESTING [-1] 
PASS 
TESTING [-20] 
PASS 
TESTING [-3456] 
PASS 
TESTING [-7645000] 
PASS 
TESTING [-9223372036854775808] 
PASS 
TESTING [-9223372036854775807] 
PASS 
TESTING [-9223372036854775806] 
PASS 
TESTING [-9223372036854775809] 
PASS 
TESTING [-92233720368547758071234000] 
PASS 
TESTING [-92233720368547758071234987437653] 
PASS 
TESTING [-12300000000000000000000000000000056] 
PASS 
TESTING [-12300000000000000000000000000000000] 
PASS 
TESTING [-123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056] 
PASS 
TESTING [-123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000] 
PASS 
TESTING [-210690] 
PASS 
TESTING [-90000] 
PASS 
TESTING [-123000000] 
PASS 
TESTING [-3.60e2] 
PASS 
TESTING [-36e2] 
PASS 
TESTING [-1.9999999999e10] 
PASS 
TESTING [-1.99999e10] 
PASS 
TESTING [-1.99999e5] 
PASS 
TESTING [-0.00000000000012e15] 
PASS 
TESTING [-2650e-1] 
PASS 
TESTING [-26500e-1] 
PASS 
TESTING [0.03] 
PASS 
TESTING [198.60] 
PASS 
TESTING [2000045.178] 
PASS 
TESTING [1.7976931348623157e+308] 
PASS 
TESTING [0.000000000000000000890] 
PASS 
TESTING [257953786.9864236576] 
PASS 
TESTING [257953786.9864236576e8] 
PASS 
TESTING [36.912e3] 
PASS 
TESTING [2761.67e0] 
PASS 
TESTING [2761.67e00] 
PASS 
TESTING [2761.67e000] 
PASS 
TESTING [7676546.67e-3] 
PASS 
TESTING [-0.03] 
PASS 
TESTING [-198.60] 
PASS 
TESTING [-2000045.178] 
PASS 
TESTING [-1.7976931348623157e+308] 
PASS 
TESTING [-0.000000000000000000890] 
PASS 
TESTING [-257953786.9864236576] 
PASS 
TESTING [-257953786.9864236576e8] 
PASS 
TESTING [-36.912e3] 
PASS 
TESTING [-2761.67e0] 
PASS 
TESTING [-2761.67e00] 
PASS 
TESTING [-2761.67e000] 
PASS 
TESTING [-7676546.67e-3] 
PASS 
--- PASS: TestMixedModeFixEncodedInt (0.01s)
=== RUN   TestCodecDesc
--- PASS: TestCodecDesc (0.00s)
=== RUN   TestCodecDescPropLen
--- PASS: TestCodecDescPropLen (0.00s)
=== RUN   TestCodecDescSplChar
--- PASS: TestCodecDescSplChar (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/collatejson	0.037s
Initializing write barrier = 8000
=== RUN   TestForestDBIterator
2022-07-24T18:11:56.072+05:30 [INFO][FDB] Forestdb blockcache size 134217728 initialized in 5131 us

2022-07-24T18:11:56.073+05:30 [INFO][FDB] Forestdb opened database file test
2022-07-24T18:11:56.076+05:30 [INFO][FDB] Forestdb closed database file test
--- PASS: TestForestDBIterator (0.01s)
=== RUN   TestForestDBIteratorSeek
2022-07-24T18:11:56.077+05:30 [INFO][FDB] Forestdb opened database file test
2022-07-24T18:11:56.079+05:30 [INFO][FDB] Forestdb closed database file test
--- PASS: TestForestDBIteratorSeek (0.00s)
=== RUN   TestPrimaryIndexEntry
--- PASS: TestPrimaryIndexEntry (0.00s)
=== RUN   TestSecondaryIndexEntry
--- PASS: TestSecondaryIndexEntry (0.00s)
=== RUN   TestPrimaryIndexEntryMatch
--- PASS: TestPrimaryIndexEntryMatch (0.00s)
=== RUN   TestSecondaryIndexEntryMatch
--- PASS: TestSecondaryIndexEntryMatch (0.00s)
=== RUN   TestLongDocIdEntry
--- PASS: TestLongDocIdEntry (0.00s)
=== RUN   TestMemDBInsertionPerf
Maximum number of file descriptors = 200000
Set IO Concurrency: 7200
Initial build: 10000000 items took 39.431853562s -> 253602.0779311495 items/s
Incr build: 10000000 items took 3m0.483948524s -> 55406.58923843436 items/s
Main Index: {
"node_count":             18000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       2,
"next_pointers_per_node": 1.3333,
"memory_used":            1695887724,
"node_allocs":            18000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 13500190,
"level1": 3375549,
"level2": 843074,
"level3": 210794,
"level4": 52734,
"level5": 13348,
"level6": 3245,
"level7": 783,
"level8": 220,
"level9": 42,
"level10": 17,
"level11": 3,
"level12": 1,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Back Index 0 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 1 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 2 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 3 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 4 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 5 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 6 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 7 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 8 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 9 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 10 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 11 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 12 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 13 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 14 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 15 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
--- PASS: TestMemDBInsertionPerf (219.92s)
=== RUN   TestBasicsA
--- PASS: TestBasicsA (0.00s)
=== RUN   TestSizeA
--- PASS: TestSizeA (0.00s)
=== RUN   TestSizeWithFreelistA
--- PASS: TestSizeWithFreelistA (0.00s)
=== RUN   TestDequeueUptoSeqnoA
--- PASS: TestDequeueUptoSeqnoA (0.10s)
=== RUN   TestDequeueA
--- PASS: TestDequeueA (1.21s)
=== RUN   TestMultipleVbucketsA
--- PASS: TestMultipleVbucketsA (0.00s)
=== RUN   TestDequeueUptoFreelistA
--- PASS: TestDequeueUptoFreelistA (0.00s)
=== RUN   TestDequeueUptoFreelistMultVbA
--- PASS: TestDequeueUptoFreelistMultVbA (0.00s)
=== RUN   TestConcurrentEnqueueDequeueA
--- PASS: TestConcurrentEnqueueDequeueA (0.00s)
=== RUN   TestConcurrentEnqueueDequeueA1
--- PASS: TestConcurrentEnqueueDequeueA1 (10.01s)
=== RUN   TestEnqueueAppCh
--- PASS: TestEnqueueAppCh (2.00s)
=== RUN   TestDequeueN
--- PASS: TestDequeueN (0.00s)
=== RUN   TestConcurrentEnqueueDequeueN
--- PASS: TestConcurrentEnqueueDequeueN (0.00s)
=== RUN   TestConcurrentEnqueueDequeueN1
--- PASS: TestConcurrentEnqueueDequeueN1 (10.01s)
PASS
ok  	github.com/couchbase/indexing/secondary/indexer	243.952s
=== RUN   TestConnPoolBasicSanity
2022-07-24T18:16:03.071+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 3 overflow 6 low WM 3 relConn batch size 1 ...
2022-07-24T18:16:03.279+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-07-24T18:16:04.072+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestConnPoolBasicSanity (5.00s)
=== RUN   TestConnRelease
2022-07-24T18:16:08.074+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Waiting for connections to get released
Waiting for more connections to get released
Waiting for further more connections to get released
2022-07-24T18:16:47.844+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-07-24T18:16:48.093+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestConnRelease (43.77s)
=== RUN   TestLongevity
2022-07-24T18:16:51.846+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Releasing 1 conns.
Getting 2 conns.
Releasing 2 conns.
Getting 4 conns.
Releasing 1 conns.
Getting 3 conns.
Releasing 0 conns.
Getting 0 conns.
Releasing 1 conns.
Getting 0 conns.
Releasing 4 conns.
Getting 1 conns.
Releasing 2 conns.
Getting 4 conns.
Releasing 3 conns.
Getting 4 conns.
Releasing 1 conns.
Getting 0 conns.
Releasing 2 conns.
Getting 1 conns.
Releasing 0 conns.
Getting 1 conns.
Releasing 3 conns.
Getting 3 conns.
Releasing 2 conns.
Getting 2 conns.
Releasing 2 conns.
Getting 3 conns.
Releasing 0 conns.
Getting 0 conns.
2022-07-24T18:17:30.242+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-07-24T18:17:30.866+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestLongevity (42.40s)
=== RUN   TestSustainedHighConns
2022-07-24T18:17:34.243+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Returning 1 Connections
cp.curActConns = 0
Allocating 8 Connections
cp.curActConns = 7
Returning 2 Connections
Allocating 6 Connections
cp.curActConns = 11
Returning 4 Connections
Allocating 6 Connections
cp.curActConns = 11
Returning 2 Connections
cp.curActConns = 11
Allocating 6 Connections
Returning 0 Connections
cp.curActConns = 17
Returning 1 Connections
Allocating 13 Connections
cp.curActConns = 22
Returning 0 Connections
cp.curActConns = 29
Returning 4 Connections
Allocating 13 Connections
cp.curActConns = 34
Returning 3 Connections
cp.curActConns = 35
Allocating 22 Connections
Returning 3 Connections
cp.curActConns = 45
Returning 4 Connections
cp.curActConns = 50
Returning 4 Connections
Allocating 3 Connections
cp.curActConns = 49
Returning 2 Connections
Allocating 21 Connections
cp.curActConns = 56
Returning 4 Connections
cp.curActConns = 64
Returning 4 Connections
Allocating 0 Connections
cp.curActConns = 60
Returning 0 Connections
Allocating 13 Connections
cp.curActConns = 67
Returning 3 Connections
cp.curActConns = 70
Returning 3 Connections
Allocating 5 Connections
cp.curActConns = 72
Returning 1 Connections
Allocating 10 Connections
cp.curActConns = 78
Returning 0 Connections
cp.curActConns = 81
Returning 1 Connections
Allocating 16 Connections
cp.curActConns = 90
Returning 3 Connections
cp.curActConns = 93
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 94
Returning 3 Connections
Allocating 21 Connections
cp.curActConns = 101
Returning 3 Connections
cp.curActConns = 109
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 110
Returning 3 Connections
Allocating 22 Connections
cp.curActConns = 112
Returning 4 Connections
cp.curActConns = 124
Returning 2 Connections
cp.curActConns = 123
Allocating 13 Connections
Returning 1 Connections
cp.curActConns = 135
Returning 0 Connections
Allocating 23 Connections
cp.curActConns = 136
Returning 3 Connections
cp.curActConns = 148
Returning 2 Connections
cp.curActConns = 153
Returning 3 Connections
Allocating 16 Connections
cp.curActConns = 160
Returning 4 Connections
cp.curActConns = 162
Returning 3 Connections
Allocating 18 Connections
cp.curActConns = 171
Returning 1 Connections
cp.curActConns = 176
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 177
Returning 1 Connections
Allocating 21 Connections
cp.curActConns = 182
Returning 2 Connections
cp.curActConns = 193
Returning 0 Connections
cp.curActConns = 195
Returning 3 Connections
Allocating 2 Connections
cp.curActConns = 194
Returning 3 Connections
Allocating 5 Connections
cp.curActConns = 196
Returning 3 Connections
Allocating 0 Connections
cp.curActConns = 193
Returning 1 Connections
Allocating 15 Connections
cp.curActConns = 205
Returning 2 Connections
cp.curActConns = 205
Allocating 2 Connections
Returning 0 Connections
cp.curActConns = 207
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 207
Returning 0 Connections
Allocating 2 Connections
cp.curActConns = 209
Returning 3 Connections
Allocating 3 Connections
cp.curActConns = 209
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 210
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 208
Returning 2 Connections
Allocating 2 Connections
cp.curActConns = 208
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 211
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 212
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 215
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 214
Returning 3 Connections
Allocating 1 Connections
cp.curActConns = 212
Returning 4 Connections
Allocating 1 Connections
cp.curActConns = 209
Returning 2 Connections
Allocating 0 Connections
cp.curActConns = 207
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 207
Returning 2 Connections
Allocating 4 Connections
cp.curActConns = 209
Returning 3 Connections
Allocating 3 Connections
cp.curActConns = 209
Returning 4 Connections
Allocating 3 Connections
cp.curActConns = 208
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 206
Returning 2 Connections
Allocating 2 Connections
cp.curActConns = 206
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 209
Returning 0 Connections
Allocating 1 Connections
cp.curActConns = 210
Returning 1 Connections
Allocating 1 Connections
cp.curActConns = 210
Returning 0 Connections
Allocating 1 Connections
cp.curActConns = 211
Returning 4 Connections
Allocating 4 Connections
cp.curActConns = 211
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 214
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 213
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 214
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 213
Returning 3 Connections
Allocating 4 Connections
cp.curActConns = 214
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 215
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 216
Returning 3 Connections
Allocating 3 Connections
cp.curActConns = 216
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 215
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 215
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 213
Returning 2 Connections
Allocating 0 Connections
cp.curActConns = 211
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 214
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 216
Returning 0 Connections
cp.curActConns = 217
Allocating 4 Connections
Returning 0 Connections
cp.curActConns = 221
Returning 3 Connections
Allocating 0 Connections
cp.curActConns = 218
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 216
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 216
Returning 2 Connections
Allocating 4 Connections
cp.curActConns = 218
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 221
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 220
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 219
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 222
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 221
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 220
Returning 0 Connections
Allocating 4 Connections
cp.curActConns = 224
Returning 2 Connections
Allocating 2 Connections
cp.curActConns = 224
Retuning from startDeallocatorRoutine
Retuning from startAllocatorRoutine
2022-07-24T18:18:29.313+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-07-24T18:18:30.282+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestSustainedHighConns (59.07s)
=== RUN   TestLowWM
2022-07-24T18:18:33.314+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 20 overflow 5 low WM 10 relConn batch size 2 ...
2022-07-24T18:19:33.331+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] active conns 0, free conns 10
2022-07-24T18:20:33.348+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] active conns 0, free conns 10
2022-07-24T18:20:38.821+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-07-24T18:20:39.350+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestLowWM (129.51s)
=== RUN   TestTotalConns
2022-07-24T18:20:42.823+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 120 overflow 5 low WM 10 relConn batch size 10 ...
2022-07-24T18:20:57.001+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-07-24T18:20:57.830+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestTotalConns (18.18s)
=== RUN   TestUpdateTickRate
2022-07-24T18:21:01.002+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 40 overflow 5 low WM 2 relConn batch size 2 ...
2022-07-24T18:21:21.852+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-07-24T18:21:22.014+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestUpdateTickRate (24.85s)
PASS
ok  	github.com/couchbase/indexing/secondary/queryport/client	322.832s
Starting server: attempt 1

Functional tests

2022/07/24 18:23:32 In TestMain()
2022/07/24 18:23:32 otp node fetch error: json: cannot unmarshal string into Go value of type couchbase.Pool
2022/07/24 18:23:32 Initialising services with role: kv,n1ql on node: 127.0.0.1:9000
2022/07/24 18:23:33 Initialising web UI on node: 127.0.0.1:9000
2022/07/24 18:23:33 InitWebCreds, response is: {"newBaseUri":"http://127.0.0.1:9000/"}
2022/07/24 18:23:34 Setting data quota of 1500M and Index quota of 1500M
2022/07/24 18:23:35 Adding node: https://127.0.0.1:19001 with role: kv,index to the cluster
2022/07/24 18:23:49 AddNode: Successfully added node: 127.0.0.1:9001 (role kv,index), response: {"otpNode":"n_1@127.0.0.1"}
2022/07/24 18:23:54 Rebalance progress: 0
2022/07/24 18:23:59 Rebalance progress: 0
2022/07/24 18:24:04 Rebalance progress: 100
2022/07/24 18:24:09 Created bucket default, responseBody: 
2022/07/24 18:24:14 Cluster status: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 18:24:14 Successfully initialised cluster
2022/07/24 18:24:14 Cluster status: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 18:24:14 Changing config key queryport.client.settings.backfillLimit to value 0
2022/07/24 18:24:14 Changing config key queryport.client.log_level to value Warn
2022/07/24 18:24:14 Changing config key indexer.api.enableTestServer to value true
2022/07/24 18:24:14 Changing config key indexer.settings.persisted_snapshot_init_build.moi.interval to value 60000
2022/07/24 18:24:14 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 60000
2022/07/24 18:24:14 Changing config key indexer.settings.log_level to value info
2022/07/24 18:24:14 Changing config key indexer.settings.storage_mode.disable_upgrade to value true
2022/07/24 18:24:14 Using memory_optimized for creating indexes
2022/07/24 18:24:14 Changing config key indexer.settings.storage_mode to value memory_optimized
2022/07/24 18:24:19 Data file exists. Skipping download
2022/07/24 18:24:19 Data file exists. Skipping download
2022/07/24 18:24:21 In DropAllSecondaryIndexes()
2022/07/24 18:24:21 Emptying the default bucket
2022/07/24 18:24:24 Flush Enabled on bucket default, responseBody: 
2022/07/24 18:25:01 Flushed the bucket default, Response body: 
2022/07/24 18:25:01 Create Index On the empty default Bucket()
2022/07/24 18:25:05 Created the secondary index index_eyeColor. Waiting for it become active
2022/07/24 18:25:05 Index is 3609162039459929555 now active
2022/07/24 18:25:05 Populating the default bucket
=== RUN   TestScanAfterBucketPopulate
2022/07/24 18:25:14 In TestScanAfterBucketPopulate()
2022/07/24 18:25:14 Create an index on empty bucket, populate the bucket and Run a scan on the index
2022/07/24 18:25:14 Using n1ql client
2022-07-24T18:25:14.025+05:30 [Info] creating GsiClient for 127.0.0.1:9000
2022/07/24 18:25:14 Expected and Actual scan responses are the same
--- PASS: TestScanAfterBucketPopulate (0.11s)
=== RUN   TestRestartNilSnapshot
2022/07/24 18:25:14 In TestRestartNilSnapshot()
2022/07/24 18:25:18 Created the secondary index idx_age. Waiting for it become active
2022/07/24 18:25:18 Index is 6261006998871761401 now active
2022/07/24 18:25:18 Restarting indexer process ...
2022/07/24 18:25:18 []
2022-07-24T18:25:18.280+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T18:25:18.280+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T18:25:18.283+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T18:25:18.283+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 18:28:38 Using n1ql client
2022-07-24T18:28:38.269+05:30 [Error] transport error between 127.0.0.1:56638->127.0.0.1:9107: write tcp 127.0.0.1:56638->127.0.0.1:9107: write: broken pipe
2022-07-24T18:28:38.269+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 6754440236605566930 request transport failed `write tcp 127.0.0.1:56638->127.0.0.1:9107: write: broken pipe`
2022-07-24T18:28:38.269+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T18:28:38.269+05:30 [Error] metadataClient:PickRandom: Replicas - [3157806015555117365], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 18:28:38 Expected and Actual scan responses are the same
--- PASS: TestRestartNilSnapshot (204.19s)
=== RUN   TestThreeIndexCreates
2022/07/24 18:28:38 In TestThreeIndexCreates()
2022/07/24 18:28:42 Created the secondary index index_balance. Waiting for it become active
2022/07/24 18:28:42 Index is 12991054805878676326 now active
2022/07/24 18:28:42 Create docs mutations
2022/07/24 18:28:42 Using n1ql client
2022/07/24 18:28:42 Expected and Actual scan responses are the same
2022/07/24 18:28:46 Created the secondary index index_email. Waiting for it become active
2022/07/24 18:28:46 Index is 8108094975670825476 now active
2022/07/24 18:28:46 Create docs mutations
2022/07/24 18:28:47 Using n1ql client
2022/07/24 18:28:47 Expected and Actual scan responses are the same
2022/07/24 18:28:51 Created the secondary index index_pin. Waiting for it become active
2022/07/24 18:28:51 Index is 674441941653169884 now active
2022/07/24 18:28:51 Delete docs mutations
2022/07/24 18:28:51 Using n1ql client
2022/07/24 18:28:51 Expected and Actual scan responses are the same
--- PASS: TestThreeIndexCreates (13.27s)
=== RUN   TestMultipleIndexCreatesDropsWithMutations
2022/07/24 18:28:51 In TestThreeIndexCreates()
2022/07/24 18:28:55 Created the secondary index index_state. Waiting for it become active
2022/07/24 18:28:55 Index is 1132125507448699573 now active
2022/07/24 18:28:55 Create docs mutations
2022/07/24 18:28:56 Using n1ql client
2022/07/24 18:28:56 Expected and Actual scan responses are the same
2022/07/24 18:29:00 Created the secondary index index_registered. Waiting for it become active
2022/07/24 18:29:00 Index is 12075207682941887591 now active
2022/07/24 18:29:00 Create docs mutations
2022/07/24 18:29:00 Using n1ql client
2022/07/24 18:29:00 Expected and Actual scan responses are the same
2022/07/24 18:29:04 Created the secondary index index_gender. Waiting for it become active
2022/07/24 18:29:04 Index is 2078238528189045480 now active
2022/07/24 18:29:04 Create docs mutations
2022/07/24 18:29:05 Using n1ql client
2022/07/24 18:29:05 Expected and Actual scan responses are the same
2022/07/24 18:29:05 Dropping the secondary index index_registered
2022/07/24 18:29:05 Index dropped
2022/07/24 18:29:05 Create docs mutations
2022/07/24 18:29:05 Delete docs mutations
2022/07/24 18:29:05 Using n1ql client
2022/07/24 18:29:05 Expected and Actual scan responses are the same
2022/07/24 18:29:09 Created the secondary index index_longitude. Waiting for it become active
2022/07/24 18:29:09 Index is 7624106959940079395 now active
2022/07/24 18:29:09 Create docs mutations
2022/07/24 18:29:09 Using n1ql client
2022/07/24 18:29:09 Expected and Actual scan responses are the same
--- PASS: TestMultipleIndexCreatesDropsWithMutations (18.40s)
=== RUN   TestCreateDropScan
2022/07/24 18:29:09 In TestCreateDropScan()
2022/07/24 18:29:14 Created the secondary index index_cd. Waiting for it become active
2022/07/24 18:29:14 Index is 11771156469619619742 now active
2022/07/24 18:29:14 Using n1ql client
2022/07/24 18:29:14 Expected and Actual scan responses are the same
2022/07/24 18:29:14 Dropping the secondary index index_cd
2022/07/24 18:29:14 Index dropped
2022/07/24 18:29:14 Using n1ql client
2022/07/24 18:29:14 Scan failed as expected with error: Index Not Found - cause: GSI index index_cd not found.
--- PASS: TestCreateDropScan (4.31s)
=== RUN   TestCreateDropCreate
2022/07/24 18:29:14 In TestCreateDropCreate()
2022/07/24 18:29:18 Created the secondary index index_cdc. Waiting for it become active
2022/07/24 18:29:18 Index is 14248805631729096016 now active
2022/07/24 18:29:18 Using n1ql client
2022/07/24 18:29:18 Expected and Actual scan responses are the same
2022/07/24 18:29:18 Dropping the secondary index index_cdc
2022/07/24 18:29:18 Index dropped
2022/07/24 18:29:18 Using n1ql client
2022/07/24 18:29:18 Scan 2 failed as expected with error: Index Not Found - cause: GSI index index_cdc not found.
2022/07/24 18:29:22 Created the secondary index index_cdc. Waiting for it become active
2022/07/24 18:29:22 Index is 16189567916126659299 now active
2022/07/24 18:29:22 Using n1ql client
2022/07/24 18:29:22 Expected and Actual scan responses are the same
2022/07/24 18:29:22 (Inclusion 1) Lengths of expected and actual scan results are 5060 and 5060. Num of docs in bucket = 10402
2022/07/24 18:29:22 Using n1ql client
2022/07/24 18:29:22 Expected and Actual scan responses are the same
2022/07/24 18:29:22 (Inclusion 3) Lengths of expected and actual scan results are 5060 and 5060. Num of docs in bucket = 10402
--- PASS: TestCreateDropCreate (8.65s)
=== RUN   TestCreate2Drop1Scan2
2022/07/24 18:29:22 In TestCreate2Drop1Scan2()
2022/07/24 18:29:26 Created the secondary index index_i1. Waiting for it become active
2022/07/24 18:29:26 Index is 3212904520389023862 now active
2022/07/24 18:29:31 Created the secondary index index_i2. Waiting for it become active
2022/07/24 18:29:31 Index is 6895836963505571481 now active
2022/07/24 18:29:31 Using n1ql client
2022/07/24 18:29:31 Expected and Actual scan responses are the same
2022/07/24 18:29:31 Using n1ql client
2022/07/24 18:29:31 Expected and Actual scan responses are the same
2022/07/24 18:29:31 Dropping the secondary index index_i1
2022/07/24 18:29:31 Index dropped
2022/07/24 18:29:31 Using n1ql client
2022/07/24 18:29:31 Expected and Actual scan responses are the same
--- PASS: TestCreate2Drop1Scan2 (8.51s)
=== RUN   TestIndexNameCaseSensitivity
2022/07/24 18:29:31 In TestIndexNameCaseSensitivity()
2022/07/24 18:29:35 Created the secondary index index_age. Waiting for it become active
2022/07/24 18:29:35 Index is 1160703626238156200 now active
2022/07/24 18:29:35 Using n1ql client
2022/07/24 18:29:35 Expected and Actual scan responses are the same
2022/07/24 18:29:35 Using n1ql client
2022/07/24 18:29:35 Scan failed as expected with error: Index Not Found - cause: GSI index index_Age not found.
--- PASS: TestIndexNameCaseSensitivity (4.14s)
=== RUN   TestCreateDuplicateIndex
2022/07/24 18:29:35 In TestCreateDuplicateIndex()
2022/07/24 18:29:39 Created the secondary index index_di1. Waiting for it become active
2022/07/24 18:29:39 Index is 16917577274187437188 now active
2022/07/24 18:29:39 Index found:  index_di1
2022/07/24 18:29:39 Create failed as expected with error: Index index_di1 already exists.
--- PASS: TestCreateDuplicateIndex (4.04s)
=== RUN   TestDropNonExistingIndex
2022/07/24 18:29:39 In TestDropNonExistingIndex()
2022/07/24 18:29:39 Dropping the secondary index 123456
2022/07/24 18:29:39 Index drop failed as expected with error: Index does not exist.
--- PASS: TestDropNonExistingIndex (0.03s)
=== RUN   TestCreateIndexNonExistentBucket
2022/07/24 18:29:39 In TestCreateIndexNonExistentBucket()
2022-07-24T18:29:40.175+05:30 [Error] Encountered error during create index.  Error: [Bucket Not Found] Bucket BlahBucket does not exist or temporarily unavailable for creating new index. Please retry the operation at a later time.
2022-07-24T18:29:50.177+05:30 [Error] Fail to create index: [Bucket Not Found] Bucket BlahBucket does not exist or temporarily unavailable for creating new index. Please retry the operation at a later time.
2022/07/24 18:29:50 Index create failed as expected with error: [Bucket Not Found] Bucket BlahBucket does not exist or temporarily unavailable for creating new index. Please retry the operation at a later time.
--- PASS: TestCreateIndexNonExistentBucket (10.51s)
=== RUN   TestScanWithNoTimeout
2022/07/24 18:29:50 Create an index on empty bucket, populate the bucket and Run a scan on the index
2022/07/24 18:29:50 Changing config key indexer.settings.scan_timeout to value 0
2022/07/24 18:29:50 Using n1ql client
2022/07/24 18:29:50 Expected and Actual scan responses are the same
--- PASS: TestScanWithNoTimeout (0.26s)
=== RUN   TestIndexingOnBinaryBucketMeta
2022/07/24 18:29:50 In TestIndexingOnBinaryBucketMeta()
2022/07/24 18:29:50 	 1. Populate a bucekt with binary docs and create indexs on the `id`, `cas` and `expiration` fields of Metadata
2022/07/24 18:29:50 	 2. Validate the test by comparing the items_count of indexes and the number of docs in the bucket for each of the fields
2022/07/24 18:29:53 Modified parameters of bucket default, responseBody: 
2022/07/24 18:29:53 Created bucket binaryBucket, responseBody: 
2022/07/24 18:30:11 Created the secondary index index_binary_meta_id. Waiting for it become active
2022/07/24 18:30:11 Index is 13377596081570355289 now active
2022/07/24 18:30:17 items_count stat is 10 for index index_binary_meta_id
2022/07/24 18:30:17 Dropping the secondary index index_binary_meta_id
2022/07/24 18:30:17 Index dropped
2022/07/24 18:30:20 Created the secondary index index_binary_meta_cas. Waiting for it become active
2022/07/24 18:30:20 Index is 17175535919563412592 now active
2022/07/24 18:30:25 items_count stat is 10 for index index_binary_meta_cas
2022/07/24 18:30:25 Dropping the secondary index index_binary_meta_cas
2022/07/24 18:30:25 Index dropped
2022/07/24 18:30:28 Created the secondary index index_binary_meta_expiration. Waiting for it become active
2022/07/24 18:30:28 Index is 13168482662369872348 now active
2022/07/24 18:30:33 items_count stat is 10 for index index_binary_meta_expiration
2022/07/24 18:30:33 Dropping the secondary index index_binary_meta_expiration
2022/07/24 18:30:33 Index dropped
2022/07/24 18:30:35 Deleted bucket binaryBucket, responseBody: 
2022/07/24 18:30:38 Modified parameters of bucket default, responseBody: 
--- PASS: TestIndexingOnBinaryBucketMeta (63.08s)
=== RUN   TestRetainDeleteXATTRBinaryDocs
2022/07/24 18:30:53 In TestRetainDeleteXATTRBinaryDocs()
2022/07/24 18:30:53 	 1. Populate a bucket with binary docs having system XATTRS
2022/07/24 18:30:53 	 2. Create index on the system XATTRS with "retain_deleted_xattr" attribute set to true
2022/07/24 18:30:53 	 3. Delete the documents in the bucket
2022/07/24 18:30:53 	 4. Query for the meta() information in the source bucket. The total number of results should be equivalent to the number of documents in the bucket before deletion of documents
2022/07/24 18:30:56 Modified parameters of bucket default, responseBody: 
2022/07/24 18:30:56 Created bucket binaryBucket, responseBody: 
2022/07/24 18:31:15 Created the secondary index index_system_xattr. Waiting for it become active
2022/07/24 18:31:15 Index is 12858835699385360136 now active
2022/07/24 18:31:20 Deleted all the documents in the bucket: binaryBucket successfully
2022/07/24 18:31:22 Deleted bucket binaryBucket, responseBody: 
2022/07/24 18:31:25 Modified parameters of bucket default, responseBody: 
--- PASS: TestRetainDeleteXATTRBinaryDocs (47.35s)
=== RUN   TestSimpleIndex_FloatDataType
2022/07/24 18:31:40 In TestSimpleIndex_FloatDataType()
2022/07/24 18:31:40 Index found:  index_age
2022/07/24 18:31:40 Using n1ql client
2022/07/24 18:31:40 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_FloatDataType (0.02s)
=== RUN   TestSimpleIndex_StringDataType
2022/07/24 18:31:40 In TestSimpleIndex_StringDataType()
2022/07/24 18:31:45 Created the secondary index index_company. Waiting for it become active
2022/07/24 18:31:45 Index is 2371216558123744610 now active
2022/07/24 18:31:45 Using n1ql client
2022/07/24 18:31:45 Expected and Actual scan responses are the same
2022/07/24 18:31:45 Using n1ql client
2022/07/24 18:31:45 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_StringDataType (4.30s)
=== RUN   TestSimpleIndex_FieldValueCaseSensitivity
2022/07/24 18:31:45 In TestSimpleIndex_StringCaseSensitivity()
2022/07/24 18:31:45 Index found:  index_company
2022/07/24 18:31:45 Using n1ql client
2022/07/24 18:31:45 Expected and Actual scan responses are the same
2022/07/24 18:31:45 Using n1ql client
2022/07/24 18:31:45 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_FieldValueCaseSensitivity (0.06s)
=== RUN   TestSimpleIndex_BoolDataType
2022/07/24 18:31:45 In TestSimpleIndex_BoolDataType()
2022/07/24 18:31:49 Created the secondary index index_isActive. Waiting for it become active
2022/07/24 18:31:49 Index is 4717369810562133542 now active
2022/07/24 18:31:49 Using n1ql client
2022/07/24 18:31:49 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_BoolDataType (4.36s)
=== RUN   TestBasicLookup
2022/07/24 18:31:49 In TestBasicLookup()
2022/07/24 18:31:49 Index found:  index_company
2022/07/24 18:31:49 Using n1ql client
2022/07/24 18:31:49 Expected and Actual scan responses are the same
--- PASS: TestBasicLookup (0.01s)
=== RUN   TestIndexOnNonExistentField
2022/07/24 18:31:49 In TestIndexOnNonExistentField()
2022/07/24 18:31:53 Created the secondary index index_height. Waiting for it become active
2022/07/24 18:31:53 Index is 9272533958716287579 now active
2022/07/24 18:31:53 Using n1ql client
2022/07/24 18:31:53 Expected and Actual scan responses are the same
--- PASS: TestIndexOnNonExistentField (4.21s)
=== RUN   TestIndexPartiallyMissingField
2022/07/24 18:31:53 In TestIndexPartiallyMissingField()
2022/07/24 18:31:58 Created the secondary index index_nationality. Waiting for it become active
2022/07/24 18:31:58 Index is 1021494898801459028 now active
2022/07/24 18:31:58 Using n1ql client
2022/07/24 18:31:58 Expected and Actual scan responses are the same
--- PASS: TestIndexPartiallyMissingField (4.28s)
=== RUN   TestScanNonMatchingDatatype
2022/07/24 18:31:58 In TestScanNonMatchingDatatype()
2022/07/24 18:31:58 Index found:  index_age
2022/07/24 18:31:58 Using n1ql client
2022/07/24 18:31:58 Expected and Actual scan responses are the same
--- PASS: TestScanNonMatchingDatatype (0.03s)
=== RUN   TestInclusionNeither
2022/07/24 18:31:58 In TestInclusionNeither()
2022/07/24 18:31:58 Index found:  index_age
2022/07/24 18:31:58 Using n1ql client
2022/07/24 18:31:58 Expected and Actual scan responses are the same
--- PASS: TestInclusionNeither (0.03s)
=== RUN   TestInclusionLow
2022/07/24 18:31:58 In TestInclusionLow()
2022/07/24 18:31:58 Index found:  index_age
2022/07/24 18:31:58 Using n1ql client
2022/07/24 18:31:58 Expected and Actual scan responses are the same
--- PASS: TestInclusionLow (0.02s)
=== RUN   TestInclusionHigh
2022/07/24 18:31:58 In TestInclusionHigh()
2022/07/24 18:31:58 Index found:  index_age
2022/07/24 18:31:58 Using n1ql client
2022/07/24 18:31:58 Expected and Actual scan responses are the same
--- PASS: TestInclusionHigh (0.02s)
=== RUN   TestInclusionBoth
2022/07/24 18:31:58 In TestInclusionBoth()
2022/07/24 18:31:58 Index found:  index_age
2022/07/24 18:31:58 Using n1ql client
2022/07/24 18:31:58 Expected and Actual scan responses are the same
--- PASS: TestInclusionBoth (0.02s)
=== RUN   TestNestedIndex_String
2022/07/24 18:31:58 In TestNestedIndex_String()
2022/07/24 18:32:02 Created the secondary index index_streetname. Waiting for it become active
2022/07/24 18:32:02 Index is 12547808451874663897 now active
2022/07/24 18:32:02 Using n1ql client
2022/07/24 18:32:02 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_String (4.23s)
=== RUN   TestNestedIndex_Float
2022/07/24 18:32:02 In TestNestedIndex_Float()
2022/07/24 18:32:06 Created the secondary index index_floor. Waiting for it become active
2022/07/24 18:32:06 Index is 5422330874036060381 now active
2022/07/24 18:32:06 Using n1ql client
2022/07/24 18:32:06 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_Float (4.33s)
=== RUN   TestNestedIndex_Bool
2022/07/24 18:32:06 In TestNestedIndex_Bool()
2022/07/24 18:32:11 Created the secondary index index_isresidential. Waiting for it become active
2022/07/24 18:32:11 Index is 2886317136858901874 now active
2022/07/24 18:32:11 Using n1ql client
2022/07/24 18:32:11 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_Bool (4.33s)
=== RUN   TestLookupJsonObject
2022/07/24 18:32:11 In TestLookupJsonObject()
2022/07/24 18:32:17 Created the secondary index index_streetaddress. Waiting for it become active
2022/07/24 18:32:17 Index is 1449336394012471691 now active
2022/07/24 18:32:17 Using n1ql client
2022/07/24 18:32:17 Count of docScanResults is 1
2022/07/24 18:32:17 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/07/24 18:32:17 Count of scanResults is 1
2022/07/24 18:32:17 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/07/24 18:32:17 Expected and Actual scan responses are the same
--- PASS: TestLookupJsonObject (6.24s)
=== RUN   TestLookupObjDifferentOrdering
2022/07/24 18:32:17 In TestLookupObjDifferentOrdering()
2022/07/24 18:32:17 Index found:  index_streetaddress
2022/07/24 18:32:17 Using n1ql client
2022/07/24 18:32:17 Count of docScanResults is 1
2022/07/24 18:32:17 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/07/24 18:32:17 Count of scanResults is 1
2022/07/24 18:32:17 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/07/24 18:32:17 Expected and Actual scan responses are the same
--- PASS: TestLookupObjDifferentOrdering (0.03s)
=== RUN   TestRangeJsonObject
2022/07/24 18:32:17 In TestRangeJsonObject()
2022/07/24 18:32:17 Index found:  index_streetaddress
2022/07/24 18:32:17 Using n1ql client
2022/07/24 18:32:17 Count of scanResults is 2
2022/07/24 18:32:17 Key: string Userbb48952f-f8d1-4e04-a0e1-96b9019706fb  Value: value.Values [{"buildingname":"Rosewood Gardens","doornumber":"514","floor":2,"streetname":"Karweg Place"}] false
2022/07/24 18:32:17 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/07/24 18:32:17 Count of docScanResults is 2
2022/07/24 18:32:17 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/07/24 18:32:17 Key: Userbb48952f-f8d1-4e04-a0e1-96b9019706fb  Value: [map[buildingname:Rosewood Gardens doornumber:514 floor:2 streetname:Karweg Place]]
2022/07/24 18:32:17 Expected and Actual scan responses are the same
--- PASS: TestRangeJsonObject (0.01s)
=== RUN   TestLookupFloatDiffForms
2022/07/24 18:32:17 In TestLookupFloatDiffForms()
2022/07/24 18:32:21 Created the secondary index index_latitude. Waiting for it become active
2022/07/24 18:32:21 Index is 18253294178109145465 now active
2022/07/24 18:32:21 Scan 1
2022/07/24 18:32:21 Using n1ql client
2022/07/24 18:32:21 Expected and Actual scan responses are the same
2022/07/24 18:32:21 Scan 2
2022/07/24 18:32:21 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 3
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 4
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 5
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 6
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
--- PASS: TestLookupFloatDiffForms (4.59s)
=== RUN   TestRangeFloatInclVariations
2022/07/24 18:32:22 In TestRangeFloatInclVariations()
2022/07/24 18:32:22 Index found:  index_latitude
2022/07/24 18:32:22 Scan 1
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 2
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 3
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 4
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 5
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
2022/07/24 18:32:22 Scan 6
2022/07/24 18:32:22 Using n1ql client
2022/07/24 18:32:22 Expected and Actual scan responses are the same
--- PASS: TestRangeFloatInclVariations (0.03s)
=== RUN   TestScanAll
2022/07/24 18:32:22 In TestScanAll()
2022/07/24 18:32:26 Created the secondary index index_name. Waiting for it become active
2022/07/24 18:32:26 Index is 1834964643051414535 now active
2022/07/24 18:32:26 Length of docScanResults = 10502
2022/07/24 18:32:26 Using n1ql client
2022/07/24 18:32:26 Length of scanResults = 10502
2022/07/24 18:32:26 Expected and Actual scan responses are the same
--- PASS: TestScanAll (4.34s)
=== RUN   TestScanAllNestedField
2022/07/24 18:32:26 In TestScanAllNestedField()
2022/07/24 18:32:26 Index found:  index_streetname
2022/07/24 18:32:26 Length of docScanResults = 2
2022/07/24 18:32:26 Using n1ql client
2022/07/24 18:32:26 Length of scanResults = 2
2022/07/24 18:32:26 Expected and Actual scan responses are the same
--- PASS: TestScanAllNestedField (0.01s)
=== RUN   TestBasicPrimaryIndex
2022/07/24 18:32:26 In TestBasicPrimaryIndex()
2022/07/24 18:32:31 Created the secondary index index_p1. Waiting for it become active
2022/07/24 18:32:31 Index is 17721552995970460756 now active
2022-07-24T18:32:31.266+05:30 [Error] transport error between 127.0.0.1:55968->127.0.0.1:9107: write tcp 127.0.0.1:55968->127.0.0.1:9107: write: broken pipe
2022-07-24T18:32:31.266+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:55968->127.0.0.1:9107: write: broken pipe`
2022-07-24T18:32:31.266+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T18:32:31.266+05:30 [Error] metadataClient:PickRandom: Replicas - [6881191454775278530], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 18:32:31 Expected and Actual scan responses are the same
2022/07/24 18:32:31 CountRange() expected and actual is:  1833 and 1833
2022/07/24 18:32:31 lookupkey for CountLookup() = User9f84505e-8cfb-430d-b8cc-5d01f5519a63
2022/07/24 18:32:31 CountLookup() = 1
--- PASS: TestBasicPrimaryIndex (4.97s)
=== RUN   TestBasicNullDataType
2022/07/24 18:32:31 In TestBasicNullDataType()
2022/07/24 18:32:31 Index found:  index_email
2022/07/24 18:32:31 Using n1ql client
2022/07/24 18:32:31 Expected and Actual scan responses are the same
--- PASS: TestBasicNullDataType (0.01s)
=== RUN   TestBasicArrayDataType_ScanAll
2022/07/24 18:32:31 In TestBasicArrayDataType_ScanAll()
2022/07/24 18:32:35 Created the secondary index index_tags. Waiting for it become active
2022/07/24 18:32:35 Index is 16111838840253326987 now active
2022/07/24 18:32:35 Using n1ql client
2022/07/24 18:32:36 Expected and Actual scan responses are the same
--- PASS: TestBasicArrayDataType_ScanAll (4.79s)
=== RUN   TestBasicArrayDataType_Lookup
2022/07/24 18:32:36 In TestBasicArrayDataType_Lookup()
2022/07/24 18:32:38 Index found:  index_tags
2022/07/24 18:32:38 Count of scanResults is 1
2022/07/24 18:32:38 Key: string Usere46cea01-38f6-4e7b-92e5-69d64668ae75  Value: value.Values [["reprehenderit","tempor","officia","exercitation","labore","sunt","tempor"]] false
--- PASS: TestBasicArrayDataType_Lookup (2.00s)
=== RUN   TestArrayDataType_LookupMissingArrayValue
2022/07/24 18:32:38 In TestArrayDataType_LookupMissingArrayValue()
2022/07/24 18:32:38 Index found:  index_tags
2022/07/24 18:32:38 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupMissingArrayValue (0.00s)
=== RUN   TestArrayDataType_LookupWrongOrder
2022/07/24 18:32:38 In TestArrayDataType_LookupWrongOrder()
2022/07/24 18:32:38 Index found:  index_tags
2022/07/24 18:32:38 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupWrongOrder (0.00s)
=== RUN   TestArrayDataType_LookupSubset
2022/07/24 18:32:38 In TestArrayDataType_LookupSubset()
2022/07/24 18:32:38 Index found:  index_tags
2022/07/24 18:32:38 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupSubset (0.00s)
=== RUN   TestScanLimitParameter
2022/07/24 18:32:38 In TestScanLimitParameter()
2022/07/24 18:32:38 Index found:  index_age
2022/07/24 18:32:38 Using n1ql client
2022/07/24 18:32:38 Using n1ql client
--- PASS: TestScanLimitParameter (0.01s)
=== RUN   TestCountRange
2022/07/24 18:32:38 In TestRangeCount()
2022/07/24 18:32:38 Index found:  index_age
2022/07/24 18:32:38 Count of expected and actual Range is:  2413 and 2413
2022/07/24 18:32:38 Count of expected and actual Range is: 10002 and 10002
2022/07/24 18:32:38 Count of expected and actual Range are: 0 and 0
2022/07/24 18:32:38 Count of expected and actual Range are: 474 and 474
2022/07/24 18:32:38 Testing CountRange() for key <= val
2022/07/24 18:32:38 Count of expected and actual CountRange for key <= 30 are: 5220 and 5220
2022/07/24 18:32:38 Testing CountRange() for key >= val
2022/07/24 18:32:38 Count of expected and actual CountRange for key >= 25 are: 7692 and 7692
2022/07/24 18:32:38 Testing CountRange() for null < key <= val
2022/07/24 18:32:38 Count of expected and actual CountRange for key > null && key <= 30 are: 5220 and 5220
2022/07/24 18:32:38 Testing CountRange() for val <= key < null 
2022/07/24 18:32:38 Count of expected and actual CountRange for key >= 25 && key < null are: 0 and 0
2022/07/24 18:32:38 Count of expected and actual Range are: 0 and 0
--- PASS: TestCountRange (0.05s)
=== RUN   TestCountLookup
2022/07/24 18:32:38 In TestCountLookup()
2022/07/24 18:32:38 Index found:  index_age
2022/07/24 18:32:38 Count of expected and actual Range are: 505 and 505
2022/07/24 18:32:38 Count of expected and actual Range are: 0 and 0
--- PASS: TestCountLookup (0.01s)
=== RUN   TestRangeStatistics
2022/07/24 18:32:38 In TestRangeCount()
2022/07/24 18:32:38 Index found:  index_age
--- PASS: TestRangeStatistics (0.00s)
=== RUN   TestIndexCreateWithWhere
2022/07/24 18:32:38 In TestIndexCreateWithWhere()
2022/07/24 18:32:42 Created the secondary index index_ageabove30. Waiting for it become active
2022/07/24 18:32:42 Index is 2955180554439885682 now active
2022/07/24 18:32:42 Using n1ql client
2022/07/24 18:32:42 Expected and Actual scan responses are the same
2022/07/24 18:32:42 Lengths of expected and actual scanReuslts are:  4308 and 4308
2022/07/24 18:32:47 Created the secondary index index_ageteens. Waiting for it become active
2022/07/24 18:32:47 Index is 3068494241704138861 now active
2022/07/24 18:32:47 Using n1ql client
2022/07/24 18:32:47 Expected and Actual scan responses are the same
2022/07/24 18:32:47 Lengths of expected and actual scanReuslts are:  0 and 0
2022/07/24 18:32:51 Created the secondary index index_age35to45. Waiting for it become active
2022/07/24 18:32:51 Index is 6638518512772520710 now active
2022/07/24 18:32:51 Using n1ql client
2022/07/24 18:32:51 Expected and Actual scan responses are the same
2022/07/24 18:32:51 Lengths of expected and actual scanReuslts are:  2887 and 2887
--- PASS: TestIndexCreateWithWhere (13.38s)
=== RUN   TestDeferredIndexCreate
2022/07/24 18:32:51 In TestDeferredIndexCreate()
2022/07/24 18:32:51 Created the index index_deferred in deferred mode. Index state is INDEX_STATE_READY
2022/07/24 18:32:53 Build the deferred index index_deferred. Waiting for the index to become active
2022/07/24 18:32:53 Waiting for index 17312005960673725696 to go active ...
2022/07/24 18:32:54 Waiting for index 17312005960673725696 to go active ...
2022/07/24 18:32:55 Waiting for index 17312005960673725696 to go active ...
2022/07/24 18:32:56 Index is 17312005960673725696 now active
2022/07/24 18:32:56 Using n1ql client
2022/07/24 18:32:56 Expected and Actual scan responses are the same
--- PASS: TestDeferredIndexCreate (5.12s)
=== RUN   TestCompositeIndex_NumAndString
2022/07/24 18:32:56 In TestCompositeIndex()
2022/07/24 18:33:01 Created the secondary index index_composite1. Waiting for it become active
2022/07/24 18:33:01 Index is 4997055414825839520 now active
2022/07/24 18:33:01 Using n1ql client
2022/07/24 18:33:01 Using n1ql client
2022/07/24 18:33:01 Using n1ql client
2022/07/24 18:33:01 Expected and Actual scan responses are the same
--- PASS: TestCompositeIndex_NumAndString (4.53s)
=== RUN   TestCompositeIndex_TwoNumberFields
2022/07/24 18:33:01 In TestCompositeIndex()
2022/07/24 18:33:05 Created the secondary index index_composite2. Waiting for it become active
2022/07/24 18:33:05 Index is 13996846670176326499 now active
2022/07/24 18:33:05 Using n1ql client
--- PASS: TestCompositeIndex_TwoNumberFields (4.53s)
=== RUN   TestNumbers_Int64_Float64
2022/07/24 18:33:05 In TestNumbers_Int64_Float64()
2022/07/24 18:33:10 Created the secondary index idx_numbertest. Waiting for it become active
2022/07/24 18:33:10 Index is 8492833638441378599 now active
2022/07/24 18:33:10 
 ==== Int64 test #0
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Int64 test #1
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Int64 test #2
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Int64 test #3
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Int64 test #4
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Int64 test #5
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Int64 test #6
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Int64 test #7
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Int64 test #8
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Float64 test #0
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Float64 test #1
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Float64 test #2
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
2022/07/24 18:33:10 
 ==== Float64 test #3
2022/07/24 18:33:10 Using n1ql client
2022/07/24 18:33:10 Expected and Actual scan responses are the same
--- PASS: TestNumbers_Int64_Float64 (5.16s)
=== RUN   TestRestartIndexer
2022/07/24 18:33:10 In TestRestartIndexer()
2022/07/24 18:33:10 []
2022-07-24T18:33:11.018+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T18:33:11.018+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T18:33:11.018+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T18:33:11.018+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 18:33:30 Using n1ql client
2022-07-24T18:33:31.005+05:30 [Error] transport error between 127.0.0.1:58392->127.0.0.1:9107: write tcp 127.0.0.1:58392->127.0.0.1:9107: write: broken pipe
2022-07-24T18:33:31.005+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 7419644184360645988 request transport failed `write tcp 127.0.0.1:58392->127.0.0.1:9107: write: broken pipe`
2022/07/24 18:33:31 Len of expected and actual scan results are :  10002 and 10002
2022/07/24 18:33:31 Expected and Actual scan responses are the same
--- PASS: TestRestartIndexer (20.08s)
=== RUN   TestCreateDocsMutation
2022/07/24 18:33:31 In TestCreateDocsMutation()
2022/07/24 18:33:31 Index found:  index_age
2022/07/24 18:33:31 Using n1ql client
2022/07/24 18:33:31 Len of expected and actual scan results are :  10002 and 10002
2022/07/24 18:33:31 Expected and Actual scan responses are the same
2022/07/24 18:33:31 Using n1ql client
2022/07/24 18:33:31 Index Scan after mutations took 47.239353ms
2022/07/24 18:33:31 Len of expected and actual scan results are :  10102 and 10102
2022/07/24 18:33:31 Expected and Actual scan responses are the same
--- PASS: TestCreateDocsMutation (0.30s)
=== RUN   TestRestartProjector
2022/07/24 18:33:31 In TestRestartProjector()
2022/07/24 18:33:31 []
2022/07/24 18:33:51 Using n1ql client
2022/07/24 18:33:51 Len of expected and actual scan results are :  10102 and 10102
2022/07/24 18:33:51 Expected and Actual scan responses are the same
--- PASS: TestRestartProjector (20.07s)
=== RUN   TestDeleteDocsMutation
2022/07/24 18:33:51 In TestDeleteDocsMutation()
2022/07/24 18:33:51 Index found:  index_age
2022/07/24 18:33:51 Using n1ql client
2022/07/24 18:33:51 Len of expected and actual scan results are :  10102 and 10102
2022/07/24 18:33:51 Expected and Actual scan responses are the same
2022/07/24 18:33:51 Using n1ql client
2022/07/24 18:33:51 Index Scan after mutations took 91.6886ms
2022/07/24 18:33:51 Len of expected and actual scan results are :  9902 and 9902
2022/07/24 18:33:51 Expected and Actual scan responses are the same
--- PASS: TestDeleteDocsMutation (0.41s)
=== RUN   TestUpdateDocsMutation
2022/07/24 18:33:51 In TestUpdateDocsMutation()
2022/07/24 18:33:51 Index found:  index_age
2022/07/24 18:33:51 Using n1ql client
2022/07/24 18:33:51 Len of expected and actual scan results are :  9434 and 9434
2022/07/24 18:33:51 Expected and Actual scan responses are the same
2022/07/24 18:33:51 Num of keysFromMutDocs: 100
2022/07/24 18:33:51 Updating number of documents: 100
2022/07/24 18:33:52 Using n1ql client
2022/07/24 18:33:52 Index Scan after mutations took 33.979295ms
2022/07/24 18:33:52 Len of expected and actual scan results are :  9435 and 9435
2022/07/24 18:33:52 Expected and Actual scan responses are the same
--- PASS: TestUpdateDocsMutation (0.30s)
=== RUN   TestLargeMutations
2022/07/24 18:33:52 In TestLargeMutations()
2022/07/24 18:33:52 In DropAllSecondaryIndexes()
2022/07/24 18:33:52 Index found:  index_cdc
2022/07/24 18:33:52 Dropped index index_cdc
2022/07/24 18:33:52 Index found:  index_pin
2022/07/24 18:33:52 Dropped index index_pin
2022/07/24 18:33:52 Index found:  index_i2
2022/07/24 18:33:52 Dropped index index_i2
2022/07/24 18:33:52 Index found:  index_isresidential
2022/07/24 18:33:52 Dropped index index_isresidential
2022/07/24 18:33:52 Index found:  index_balance
2022/07/24 18:33:52 Dropped index index_balance
2022/07/24 18:33:52 Index found:  index_age
2022/07/24 18:33:52 Dropped index index_age
2022/07/24 18:33:52 Index found:  index_age35to45
2022/07/24 18:33:52 Dropped index index_age35to45
2022/07/24 18:33:52 Index found:  index_nationality
2022/07/24 18:33:52 Dropped index index_nationality
2022/07/24 18:33:52 Index found:  index_ageteens
2022/07/24 18:33:52 Dropped index index_ageteens
2022/07/24 18:33:52 Index found:  index_height
2022/07/24 18:33:52 Dropped index index_height
2022/07/24 18:33:52 Index found:  index_longitude
2022/07/24 18:33:53 Dropped index index_longitude
2022/07/24 18:33:53 Index found:  index_eyeColor
2022/07/24 18:33:53 Dropped index index_eyeColor
2022/07/24 18:33:53 Index found:  index_floor
2022/07/24 18:33:53 Dropped index index_floor
2022/07/24 18:33:53 Index found:  index_latitude
2022/07/24 18:33:53 Dropped index index_latitude
2022/07/24 18:33:53 Index found:  index_state
2022/07/24 18:33:53 Dropped index index_state
2022/07/24 18:33:53 Index found:  index_di1
2022/07/24 18:33:53 Dropped index index_di1
2022/07/24 18:33:53 Index found:  index_p1
2022/07/24 18:33:53 Dropped index index_p1
2022/07/24 18:33:53 Index found:  index_tags
2022/07/24 18:33:53 Dropped index index_tags
2022/07/24 18:33:53 Index found:  index_ageabove30
2022/07/24 18:33:53 Dropped index index_ageabove30
2022/07/24 18:33:53 Index found:  index_name
2022/07/24 18:33:53 Dropped index index_name
2022/07/24 18:33:53 Index found:  idx_age
2022/07/24 18:33:53 Dropped index idx_age
2022/07/24 18:33:53 Index found:  index_composite2
2022/07/24 18:33:53 Dropped index index_composite2
2022/07/24 18:33:53 Index found:  index_streetname
2022/07/24 18:33:53 Dropped index index_streetname
2022/07/24 18:33:53 Index found:  index_company
2022/07/24 18:33:53 Dropped index index_company
2022/07/24 18:33:53 Index found:  index_streetaddress
2022/07/24 18:33:53 Dropped index index_streetaddress
2022/07/24 18:33:53 Index found:  index_isActive
2022/07/24 18:33:54 Dropped index index_isActive
2022/07/24 18:33:54 Index found:  index_deferred
2022/07/24 18:33:54 Dropped index index_deferred
2022/07/24 18:33:54 Index found:  index_email
2022/07/24 18:33:54 Dropped index index_email
2022/07/24 18:33:54 Index found:  index_gender
2022/07/24 18:33:54 Dropped index index_gender
2022/07/24 18:33:54 Index found:  idx_numbertest
2022/07/24 18:33:54 Dropped index idx_numbertest
2022/07/24 18:33:54 Index found:  index_composite1
2022/07/24 18:33:54 Dropped index index_composite1
2022/07/24 18:34:13 Created the secondary index indexmut_1. Waiting for it become active
2022/07/24 18:34:13 Index is 4700802309344050535 now active
2022/07/24 18:34:13 Using n1ql client
2022/07/24 18:34:13 Expected and Actual scan responses are the same
2022/07/24 18:34:13 Len of expected and actual scan results are :  29902 and 29902
2022/07/24 18:34:13 ITERATION 0
2022/07/24 18:34:31 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:34:31 Index is 13060555215073564240 now active
2022/07/24 18:34:31 Using n1ql client
2022/07/24 18:34:32 Expected and Actual scan responses are the same
2022/07/24 18:34:32 Len of expected and actual scan results are :  39902 and 39902
2022/07/24 18:34:32 Using n1ql client
2022/07/24 18:34:32 Expected and Actual scan responses are the same
2022/07/24 18:34:32 Len of expected and actual scan results are :  39902 and 39902
2022/07/24 18:34:32 Dropping the secondary index indexmut_2
2022/07/24 18:34:32 Index dropped
2022/07/24 18:34:32 ITERATION 1
2022/07/24 18:34:48 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:34:48 Index is 5468450377680662681 now active
2022/07/24 18:34:48 Using n1ql client
2022/07/24 18:34:49 Expected and Actual scan responses are the same
2022/07/24 18:34:49 Len of expected and actual scan results are :  49902 and 49902
2022/07/24 18:34:49 Using n1ql client
2022/07/24 18:34:49 Expected and Actual scan responses are the same
2022/07/24 18:34:49 Len of expected and actual scan results are :  49902 and 49902
2022/07/24 18:34:49 Dropping the secondary index indexmut_2
2022/07/24 18:34:49 Index dropped
2022/07/24 18:34:49 ITERATION 2
2022/07/24 18:35:06 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:35:06 Index is 983134680326486303 now active
2022/07/24 18:35:06 Using n1ql client
2022/07/24 18:35:06 Expected and Actual scan responses are the same
2022/07/24 18:35:06 Len of expected and actual scan results are :  59902 and 59902
2022/07/24 18:35:06 Using n1ql client
2022/07/24 18:35:07 Expected and Actual scan responses are the same
2022/07/24 18:35:07 Len of expected and actual scan results are :  59902 and 59902
2022/07/24 18:35:07 Dropping the secondary index indexmut_2
2022/07/24 18:35:07 Index dropped
2022/07/24 18:35:07 ITERATION 3
2022/07/24 18:35:26 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:35:26 Index is 11920729921819239257 now active
2022/07/24 18:35:26 Using n1ql client
2022/07/24 18:35:26 Expected and Actual scan responses are the same
2022/07/24 18:35:26 Len of expected and actual scan results are :  69902 and 69902
2022/07/24 18:35:27 Using n1ql client
2022/07/24 18:35:27 Expected and Actual scan responses are the same
2022/07/24 18:35:27 Len of expected and actual scan results are :  69902 and 69902
2022/07/24 18:35:27 Dropping the secondary index indexmut_2
2022/07/24 18:35:27 Index dropped
2022/07/24 18:35:27 ITERATION 4
2022/07/24 18:35:45 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:35:45 Index is 2454752633043727142 now active
2022/07/24 18:35:46 Using n1ql client
2022/07/24 18:35:46 Expected and Actual scan responses are the same
2022/07/24 18:35:46 Len of expected and actual scan results are :  79902 and 79902
2022/07/24 18:35:46 Using n1ql client
2022/07/24 18:35:47 Expected and Actual scan responses are the same
2022/07/24 18:35:47 Len of expected and actual scan results are :  79902 and 79902
2022/07/24 18:35:47 Dropping the secondary index indexmut_2
2022/07/24 18:35:47 Index dropped
2022/07/24 18:35:47 ITERATION 5
2022/07/24 18:36:05 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:36:05 Index is 6038854680923291278 now active
2022/07/24 18:36:05 Using n1ql client
2022/07/24 18:36:06 Expected and Actual scan responses are the same
2022/07/24 18:36:06 Len of expected and actual scan results are :  89902 and 89902
2022/07/24 18:36:06 Using n1ql client
2022/07/24 18:36:06 Expected and Actual scan responses are the same
2022/07/24 18:36:06 Len of expected and actual scan results are :  89902 and 89902
2022/07/24 18:36:06 Dropping the secondary index indexmut_2
2022/07/24 18:36:06 Index dropped
2022/07/24 18:36:06 ITERATION 6
2022/07/24 18:36:26 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:36:26 Index is 1826814967760984791 now active
2022/07/24 18:36:26 Using n1ql client
2022/07/24 18:36:28 Expected and Actual scan responses are the same
2022/07/24 18:36:28 Len of expected and actual scan results are :  99902 and 99902
2022/07/24 18:36:28 Using n1ql client
2022/07/24 18:36:28 Expected and Actual scan responses are the same
2022/07/24 18:36:28 Len of expected and actual scan results are :  99902 and 99902
2022/07/24 18:36:28 Dropping the secondary index indexmut_2
2022/07/24 18:36:28 Index dropped
2022/07/24 18:36:28 ITERATION 7
2022/07/24 18:36:47 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:36:47 Index is 5347080983213631382 now active
2022/07/24 18:36:47 Using n1ql client
2022/07/24 18:36:48 Expected and Actual scan responses are the same
2022/07/24 18:36:48 Len of expected and actual scan results are :  109902 and 109902
2022/07/24 18:36:48 Using n1ql client
2022/07/24 18:36:49 Expected and Actual scan responses are the same
2022/07/24 18:36:49 Len of expected and actual scan results are :  109902 and 109902
2022/07/24 18:36:49 Dropping the secondary index indexmut_2
2022/07/24 18:36:49 Index dropped
2022/07/24 18:36:49 ITERATION 8
2022/07/24 18:37:08 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:37:08 Index is 4248639316146486551 now active
2022/07/24 18:37:08 Using n1ql client
2022/07/24 18:37:09 Expected and Actual scan responses are the same
2022/07/24 18:37:09 Len of expected and actual scan results are :  119902 and 119902
2022/07/24 18:37:09 Using n1ql client
2022/07/24 18:37:11 Expected and Actual scan responses are the same
2022/07/24 18:37:11 Len of expected and actual scan results are :  119902 and 119902
2022/07/24 18:37:11 Dropping the secondary index indexmut_2
2022/07/24 18:37:11 Index dropped
2022/07/24 18:37:11 ITERATION 9
2022/07/24 18:37:33 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:37:33 Index is 13545962507270760423 now active
2022/07/24 18:37:33 Using n1ql client
2022/07/24 18:37:35 Expected and Actual scan responses are the same
2022/07/24 18:37:35 Len of expected and actual scan results are :  129902 and 129902
2022/07/24 18:37:35 Using n1ql client
2022/07/24 18:37:36 Expected and Actual scan responses are the same
2022/07/24 18:37:36 Len of expected and actual scan results are :  129902 and 129902
2022/07/24 18:37:36 Dropping the secondary index indexmut_2
2022/07/24 18:37:36 Index dropped
2022/07/24 18:37:36 ITERATION 10
2022/07/24 18:37:56 Created the secondary index indexmut_2. Waiting for it become active
2022/07/24 18:37:56 Index is 13661387842019351025 now active
2022/07/24 18:37:56 Using n1ql client
2022/07/24 18:37:57 Expected and Actual scan responses are the same
2022/07/24 18:37:57 Len of expected and actual scan results are :  139902 and 139902
2022/07/24 18:37:57 Using n1ql client
2022/07/24 18:37:58 Expected and Actual scan responses are the same
2022/07/24 18:37:58 Len of expected and actual scan results are :  139902 and 139902
2022/07/24 18:37:58 Dropping the secondary index indexmut_2
2022/07/24 18:37:58 Index dropped
--- PASS: TestLargeMutations (246.45s)
=== RUN   TestPlanner
2022/07/24 18:37:58 In TestPlanner()
2022/07/24 18:37:58 -------------------------------------------
2022/07/24 18:37:58 initial placement - 20-50M, 10 index, 3 replica, 2x
2022-07-24T18:37:58.586+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:37:58.590+05:30 [Info] switched currmeta from 450 -> 451 force true 
2022-07-24T18:37:58.602+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-07-24T18:37:58.606+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T18:37:58.606+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T18:37:58.607+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-07-24T18:37:58.608+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T18:37:58.608+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T18:37:58.612+05:30 [Info] switched currmeta from 451 -> 451 force true 
2022-07-24T18:37:58.686+05:30 [Info] Score: 0.03541759790103089
2022-07-24T18:37:58.686+05:30 [Info] Memory Quota: 62899213314 (58.5795G)
2022-07-24T18:37:58.686+05:30 [Info] CPU Quota: 12
2022-07-24T18:37:58.686+05:30 [Info] Indexer Memory Mean 39734536450 (37.0057G)
2022-07-24T18:37:58.686+05:30 [Info] Indexer Memory Deviation 2814603669 (2.6213G) (7.08%)
2022-07-24T18:37:58.686+05:30 [Info] Indexer Memory Utilization 0.6317
2022-07-24T18:37:58.686+05:30 [Info] Indexer CPU Mean 11.7254
2022-07-24T18:37:58.686+05:30 [Info] Indexer CPU Deviation 2.94 (25.07%)
2022-07-24T18:37:58.686+05:30 [Info] Indexer CPU Utilization 0.9771
2022-07-24T18:37:58.686+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:37:58.686+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:37:58.686+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:37:58.686+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:37:58.686+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:37:58.686+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:37:58.686+05:30 [Info] Indexer Data Size Mean 39734536450 (37.0057G)
2022-07-24T18:37:58.686+05:30 [Info] Indexer Data Size Deviation 2814603669 (2.6213G) (7.08%)
2022-07-24T18:37:58.686+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:37:58.686+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:37:58.686+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:37:58.686+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:37:58 -------------------------------------------
2022/07/24 18:37:58 initial placement - 20-50M, 30 index, 3 replica, 2x
2022-07-24T18:37:58.687+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:37:59.558+05:30 [Info] Score: 0.024115535823805333
2022-07-24T18:37:59.558+05:30 [Info] Memory Quota: 63587913856 (59.2209G)
2022-07-24T18:37:59.558+05:30 [Info] CPU Quota: 12
2022-07-24T18:37:59.558+05:30 [Info] Indexer Memory Mean 41796532515 (38.9261G)
2022-07-24T18:37:59.558+05:30 [Info] Indexer Memory Deviation 2015891554 (1.87745G) (4.82%)
2022-07-24T18:37:59.558+05:30 [Info] Indexer Memory Utilization 0.6573
2022-07-24T18:37:59.558+05:30 [Info] Indexer CPU Mean 11.0132
2022-07-24T18:37:59.558+05:30 [Info] Indexer CPU Deviation 2.76 (25.06%)
2022-07-24T18:37:59.558+05:30 [Info] Indexer CPU Utilization 0.9178
2022-07-24T18:37:59.558+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:37:59.558+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:37:59.558+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:37:59.558+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:37:59.558+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:37:59.558+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:37:59.558+05:30 [Info] Indexer Data Size Mean 41796532515 (38.9261G)
2022-07-24T18:37:59.558+05:30 [Info] Indexer Data Size Deviation 2015891554 (1.87745G) (4.82%)
2022-07-24T18:37:59.558+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:37:59.558+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:37:59.558+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:37:59.558+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:37:59 -------------------------------------------
2022/07/24 18:37:59 initial placement - 20-50M, 30 index, 3 replica, 4x
2022-07-24T18:37:59.558+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:37:59.824+05:30 [Info] Score: 0.01948780565586561
2022-07-24T18:37:59.824+05:30 [Info] Memory Quota: 114707982852 (106.83G)
2022-07-24T18:37:59.824+05:30 [Info] CPU Quota: 24
2022-07-24T18:37:59.824+05:30 [Info] Indexer Memory Mean 73117269303 (68.0958G)
2022-07-24T18:37:59.824+05:30 [Info] Indexer Memory Deviation 2849790268 (2.65407G) (3.90%)
2022-07-24T18:37:59.824+05:30 [Info] Indexer Memory Utilization 0.6374
2022-07-24T18:37:59.824+05:30 [Info] Indexer CPU Mean 20.3707
2022-07-24T18:37:59.824+05:30 [Info] Indexer CPU Deviation 4.09 (20.06%)
2022-07-24T18:37:59.824+05:30 [Info] Indexer CPU Utilization 0.8488
2022-07-24T18:37:59.824+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:37:59.824+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:37:59.824+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:37:59.824+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:37:59.824+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:37:59.824+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:37:59.824+05:30 [Info] Indexer Data Size Mean 73117269303 (68.0958G)
2022-07-24T18:37:59.824+05:30 [Info] Indexer Data Size Deviation 2849790268 (2.65407G) (3.90%)
2022-07-24T18:37:59.824+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:37:59.824+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:37:59.824+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:37:59.824+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:37:59 -------------------------------------------
2022/07/24 18:37:59 initial placement - 200-500M, 10 index, 3 replica, 2x
2022-07-24T18:37:59.824+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:37:59.873+05:30 [Info] Score: 0.03126113512855283
2022-07-24T18:37:59.873+05:30 [Info] Memory Quota: 514832625392 (479.475G)
2022-07-24T18:37:59.873+05:30 [Info] CPU Quota: 12
2022-07-24T18:37:59.873+05:30 [Info] Indexer Memory Mean 399252456785 (371.833G)
2022-07-24T18:37:59.873+05:30 [Info] Indexer Memory Deviation 24962170003 (23.2478G) (6.25%)
2022-07-24T18:37:59.873+05:30 [Info] Indexer Memory Utilization 0.7755
2022-07-24T18:37:59.873+05:30 [Info] Indexer CPU Mean 9.9842
2022-07-24T18:37:59.873+05:30 [Info] Indexer CPU Deviation 2.86 (28.66%)
2022-07-24T18:37:59.873+05:30 [Info] Indexer CPU Utilization 0.8320
2022-07-24T18:37:59.873+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:37:59.873+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:37:59.873+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:37:59.873+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:37:59.873+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:37:59.873+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:37:59.873+05:30 [Info] Indexer Data Size Mean 399252456785 (371.833G)
2022-07-24T18:37:59.873+05:30 [Info] Indexer Data Size Deviation 24962170003 (23.2478G) (6.25%)
2022-07-24T18:37:59.873+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:37:59.873+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:37:59.873+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:37:59.873+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:37:59 -------------------------------------------
2022/07/24 18:37:59 initial placement - 200-500M, 30 index, 3 replica, 2x
2022-07-24T18:37:59.873+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:00.778+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:00.778+05:30 [Info] Score: 0.02039767103007885
2022-07-24T18:38:00.778+05:30 [Info] Memory Quota: 531130261386 (494.654G)
2022-07-24T18:38:00.778+05:30 [Info] CPU Quota: 12
2022-07-24T18:38:00.778+05:30 [Info] Indexer Memory Mean 423792163382 (394.687G)
2022-07-24T18:38:00.778+05:30 [Info] Indexer Memory Deviation 17288746267 (16.1014G) (4.08%)
2022-07-24T18:38:00.778+05:30 [Info] Indexer Memory Utilization 0.7979
2022-07-24T18:38:00.778+05:30 [Info] Indexer CPU Mean 11.5313
2022-07-24T18:38:00.778+05:30 [Info] Indexer CPU Deviation 2.88 (24.97%)
2022-07-24T18:38:00.778+05:30 [Info] Indexer CPU Utilization 0.9609
2022-07-24T18:38:00.778+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:00.778+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:00.778+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:00.778+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:00.778+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:00.778+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:00.778+05:30 [Info] Indexer Data Size Mean 423792163382 (394.687G)
2022-07-24T18:38:00.778+05:30 [Info] Indexer Data Size Deviation 17288746267 (16.1014G) (4.08%)
2022-07-24T18:38:00.778+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:00.778+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:00.778+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:00.778+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:00 -------------------------------------------
2022/07/24 18:38:00 initial placement - mixed small/medium, 30 index, 3 replica, 1.5/4x
2022-07-24T18:38:00.779+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:01.146+05:30 [Info] Score: 0.01669700739083407
2022-07-24T18:38:01.146+05:30 [Info] Memory Quota: 340407413511 (317.029G)
2022-07-24T18:38:01.146+05:30 [Info] CPU Quota: 16
2022-07-24T18:38:01.146+05:30 [Info] Indexer Memory Mean 255924586272 (238.348G)
2022-07-24T18:38:01.146+05:30 [Info] Indexer Memory Deviation 8546349416 (7.95941G) (3.34%)
2022-07-24T18:38:01.146+05:30 [Info] Indexer Memory Utilization 0.7518
2022-07-24T18:38:01.146+05:30 [Info] Indexer CPU Mean 8.9717
2022-07-24T18:38:01.146+05:30 [Info] Indexer CPU Deviation 4.71 (52.49%)
2022-07-24T18:38:01.146+05:30 [Info] Indexer CPU Utilization 0.5607
2022-07-24T18:38:01.146+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:01.146+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:01.146+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:01.146+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.146+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:01.146+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.146+05:30 [Info] Indexer Data Size Mean 255924586272 (238.348G)
2022-07-24T18:38:01.146+05:30 [Info] Indexer Data Size Deviation 8546349416 (7.95941G) (3.34%)
2022-07-24T18:38:01.146+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:01.146+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:01.146+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:01.146+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:01 -------------------------------------------
2022/07/24 18:38:01 initial placement - mixed all, 30 index, 3 replica, 1.5/4x
2022-07-24T18:38:01.147+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:01.379+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2022-07-24T18:38:01.384+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T18:38:01.384+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T18:38:01.385+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T18:38:01.385+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T18:38:01.386+05:30 [Info] switched currmeta from 451 -> 451 force true 
2022-07-24T18:38:01.387+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-07-24T18:38:01.693+05:30 [Info] Score: 0.019655947268882167
2022-07-24T18:38:01.693+05:30 [Info] Memory Quota: 379501624789 (353.438G)
2022-07-24T18:38:01.693+05:30 [Info] CPU Quota: 20
2022-07-24T18:38:01.693+05:30 [Info] Indexer Memory Mean 300312783730 (279.688G)
2022-07-24T18:38:01.693+05:30 [Info] Indexer Memory Deviation 11805864482 (10.9951G) (3.93%)
2022-07-24T18:38:01.693+05:30 [Info] Indexer Memory Utilization 0.7913
2022-07-24T18:38:01.693+05:30 [Info] Indexer CPU Mean 8.6459
2022-07-24T18:38:01.693+05:30 [Info] Indexer CPU Deviation 3.91 (45.20%)
2022-07-24T18:38:01.693+05:30 [Info] Indexer CPU Utilization 0.4323
2022-07-24T18:38:01.693+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:01.693+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:01.693+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:01.693+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.693+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:01.693+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.693+05:30 [Info] Indexer Data Size Mean 300312783730 (279.688G)
2022-07-24T18:38:01.693+05:30 [Info] Indexer Data Size Deviation 11805864482 (10.9951G) (3.93%)
2022-07-24T18:38:01.693+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:01.693+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:01.693+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:01.693+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:01 -------------------------------------------
2022/07/24 18:38:01 initial placement - 6 2M index, 1 replica, 2x
2022-07-24T18:38:01.704+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:01.718+05:30 [Info] Score: 0
2022-07-24T18:38:01.718+05:30 [Info] Memory Quota: 4848128000 (4.51517G)
2022-07-24T18:38:01.718+05:30 [Info] CPU Quota: 2
2022-07-24T18:38:01.718+05:30 [Info] Indexer Memory Mean 2080000000 (1.93715G)
2022-07-24T18:38:01.718+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:01.718+05:30 [Info] Indexer Memory Utilization 0.4290
2022-07-24T18:38:01.718+05:30 [Info] Indexer CPU Mean 1.2000
2022-07-24T18:38:01.718+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:01.718+05:30 [Info] Indexer CPU Utilization 0.6000
2022-07-24T18:38:01.718+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:01.718+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:01.718+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:01.718+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.718+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:01.718+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.718+05:30 [Info] Indexer Data Size Mean 2080000000 (1.93715G)
2022-07-24T18:38:01.718+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:01.718+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:01.718+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:01.718+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:01.718+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:01 -------------------------------------------
2022/07/24 18:38:01 initial placement - 5 20M primary index, 2 replica, 2x
2022-07-24T18:38:01.727+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:01.765+05:30 [Info] Score: 0
2022-07-24T18:38:01.765+05:30 [Info] Memory Quota: 14310128000 (13.3273G)
2022-07-24T18:38:01.765+05:30 [Info] CPU Quota: 2
2022-07-24T18:38:01.765+05:30 [Info] Indexer Memory Mean 10960000000 (10.2073G)
2022-07-24T18:38:01.765+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:01.765+05:30 [Info] Indexer Memory Utilization 0.7659
2022-07-24T18:38:01.765+05:30 [Info] Indexer CPU Mean 1.2000
2022-07-24T18:38:01.765+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:01.765+05:30 [Info] Indexer CPU Utilization 0.6000
2022-07-24T18:38:01.766+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:01.766+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:01.766+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:01.766+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.766+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:01.766+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.766+05:30 [Info] Indexer Data Size Mean 10960000000 (10.2073G)
2022-07-24T18:38:01.766+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:01.766+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:01.766+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:01.766+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:01.766+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:01 -------------------------------------------
2022/07/24 18:38:01 initial placement - 5 20M array index, 2 replica, 2x
2022-07-24T18:38:01.775+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:01.817+05:30 [Info] Score: 0
2022-07-24T18:38:01.817+05:30 [Info] Memory Quota: 237416768000 (221.112G)
2022-07-24T18:38:01.817+05:30 [Info] CPU Quota: 2
2022-07-24T18:38:01.817+05:30 [Info] Indexer Memory Mean 191440000000 (178.292G)
2022-07-24T18:38:01.817+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:01.817+05:30 [Info] Indexer Memory Utilization 0.8063
2022-07-24T18:38:01.817+05:30 [Info] Indexer CPU Mean 1.2000
2022-07-24T18:38:01.817+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:01.817+05:30 [Info] Indexer CPU Utilization 0.6000
2022-07-24T18:38:01.817+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:01.817+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:01.817+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:01.817+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.817+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:01.817+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.817+05:30 [Info] Indexer Data Size Mean 191440000000 (178.292G)
2022-07-24T18:38:01.817+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:01.817+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:01.817+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:01.817+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:01.817+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:01 -------------------------------------------
2022/07/24 18:38:01 initial placement - 3 replica constraint, 2 index, 2x
2022-07-24T18:38:01.820+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:01.856+05:30 [Info] Score: 0
2022-07-24T18:38:01.856+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-07-24T18:38:01.856+05:30 [Info] CPU Quota: 2
2022-07-24T18:38:01.856+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-07-24T18:38:01.856+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:01.856+05:30 [Info] Indexer Memory Utilization 0.0049
2022-07-24T18:38:01.856+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:01.856+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:01.856+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:01.856+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:01.856+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:01.857+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:01.857+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.857+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:01.857+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.857+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-07-24T18:38:01.857+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:01.857+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:01.857+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:01.857+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:01.857+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:01 -------------------------------------------
2022/07/24 18:38:01 incr placement - 20-50M, 5 2M index, 1 replica, 1x
2022-07-24T18:38:01.865+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.03173403503350738
2022-07-24T18:38:01.990+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:01.990+05:30 [Info] Score: 0.007189938568471697
2022-07-24T18:38:01.990+05:30 [Info] Memory Quota: 125233041042 (116.632G)
2022-07-24T18:38:01.990+05:30 [Info] CPU Quota: 27
2022-07-24T18:38:01.990+05:30 [Info] Indexer Memory Mean 71117238485 (66.2331G)
2022-07-24T18:38:01.990+05:30 [Info] Indexer Memory Deviation 1022657151 (975.282M) (1.44%)
2022-07-24T18:38:01.990+05:30 [Info] Indexer Memory Utilization 0.5679
2022-07-24T18:38:01.990+05:30 [Info] Indexer CPU Mean 20.1734
2022-07-24T18:38:01.990+05:30 [Info] Indexer CPU Deviation 1.87 (9.29%)
2022-07-24T18:38:01.990+05:30 [Info] Indexer CPU Utilization 0.7472
2022-07-24T18:38:01.990+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:01.990+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:01.990+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:01.990+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.990+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:01.990+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:01.990+05:30 [Info] Indexer Data Size Mean 71117238485 (66.2331G)
2022-07-24T18:38:01.990+05:30 [Info] Indexer Data Size Deviation 1022657151 (975.282M) (1.44%)
2022-07-24T18:38:01.990+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:01.990+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:01.990+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:01.990+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:01 -------------------------------------------
2022/07/24 18:38:01 incr placement - mixed small/medium, 6 2M index, 1 replica, 1x
2022-07-24T18:38:02.001+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0025913956336802587
2022-07-24T18:38:02.229+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:02.229+05:30 [Info] Score: 0.00043718596495524715
2022-07-24T18:38:02.229+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-07-24T18:38:02.229+05:30 [Info] CPU Quota: 20
2022-07-24T18:38:02.229+05:30 [Info] Indexer Memory Mean 393025602195 (366.034G)
2022-07-24T18:38:02.229+05:30 [Info] Indexer Memory Deviation 343650554 (327.731M) (0.09%)
2022-07-24T18:38:02.229+05:30 [Info] Indexer Memory Utilization 0.7321
2022-07-24T18:38:02.229+05:30 [Info] Indexer CPU Mean 14.2305
2022-07-24T18:38:02.229+05:30 [Info] Indexer CPU Deviation 0.95 (6.65%)
2022-07-24T18:38:02.229+05:30 [Info] Indexer CPU Utilization 0.7115
2022-07-24T18:38:02.229+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:02.229+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:02.229+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:02.229+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.229+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:02.229+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.229+05:30 [Info] Indexer Data Size Mean 393025602195 (366.034G)
2022-07-24T18:38:02.229+05:30 [Info] Indexer Data Size Deviation 343650554 (327.731M) (0.09%)
2022-07-24T18:38:02.229+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:02.229+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:02.229+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:02.229+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:02 -------------------------------------------
2022/07/24 18:38:02 incr placement - 3 server group, 3 replica, 1x
2022-07-24T18:38:02.232+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1.414213562373095
2022-07-24T18:38:02.257+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:02.257+05:30 [Info] Score: 0
2022-07-24T18:38:02.257+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-07-24T18:38:02.257+05:30 [Info] CPU Quota: 16
2022-07-24T18:38:02.257+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-07-24T18:38:02.257+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:02.257+05:30 [Info] Indexer Memory Utilization 0.0049
2022-07-24T18:38:02.257+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:02.257+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:02.257+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:02.257+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:02.257+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:02.257+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:02.257+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.257+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:02.257+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.257+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-07-24T18:38:02.257+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:02.257+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:02.257+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:02.257+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:02.257+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:02 -------------------------------------------
2022/07/24 18:38:02 incr placement - 2 server group, 3 replica, 1x
2022-07-24T18:38:02.260+05:30 [Warn] Index has more replica than server group. Index=index1 0 (replica 2) Bucket=bucket2 Scope= Collection=
2022-07-24T18:38:02.260+05:30 [Warn] Index has more replica than server group. Index=index1 0 Bucket=bucket2 Scope= Collection=
2022-07-24T18:38:02.260+05:30 [Warn] Index has more replica than server group. Index=index1 0 (replica 1) Bucket=bucket2 Scope= Collection=
2022-07-24T18:38:02.260+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1.414213562373095
2022-07-24T18:38:02.285+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:02.285+05:30 [Info] Score: 0
2022-07-24T18:38:02.285+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-07-24T18:38:02.285+05:30 [Info] CPU Quota: 16
2022-07-24T18:38:02.285+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-07-24T18:38:02.285+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:02.285+05:30 [Info] Indexer Memory Utilization 0.0049
2022-07-24T18:38:02.285+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:02.285+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:02.285+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:02.285+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:02.285+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:02.285+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:02.285+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.285+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:02.285+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.285+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-07-24T18:38:02.285+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:02.285+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:02.285+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:02.285+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:02.285+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:02 -------------------------------------------
2022/07/24 18:38:02 rebalance - 20-50M, 90 index, 20% shuffle, 1x, utilization 90%+
2022-07-24T18:38:02.287+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.17385392406739492
2022-07-24T18:38:02.287+05:30 [Info] Planner::initial temperature: initial resource variation 0.17385392406739492 temp 0.017385392406739492
2022-07-24T18:38:02.469+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:02.469+05:30 [Info] Score: 0.2217669900749479
2022-07-24T18:38:02.469+05:30 [Info] Memory Quota: 139586437120 (130G)
2022-07-24T18:38:02.469+05:30 [Info] CPU Quota: 30
2022-07-24T18:38:02.469+05:30 [Info] Indexer Memory Mean 88876568718 (82.7728G)
2022-07-24T18:38:02.469+05:30 [Info] Indexer Memory Deviation 2660040030 (2.47736G) (2.99%)
2022-07-24T18:38:02.469+05:30 [Info] Indexer Memory Utilization 0.6367
2022-07-24T18:38:02.469+05:30 [Info] Indexer CPU Mean 24.0538
2022-07-24T18:38:02.469+05:30 [Info] Indexer CPU Deviation 4.41 (18.32%)
2022-07-24T18:38:02.469+05:30 [Info] Indexer CPU Utilization 0.8018
2022-07-24T18:38:02.469+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:02.469+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:02.469+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:02.469+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.469+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:02.469+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.469+05:30 [Info] Indexer Data Size Mean 88876568718 (82.7728G)
2022-07-24T18:38:02.469+05:30 [Info] Indexer Data Size Deviation 2660040030 (2.47736G) (2.99%)
2022-07-24T18:38:02.469+05:30 [Info] Total Index Data (from non-deleted node) 993.273G
2022-07-24T18:38:02.469+05:30 [Info] Index Data Moved (exclude new node) 449.685G (45.27%)
2022-07-24T18:38:02.469+05:30 [Info] No. Index (from non-deleted node) 90
2022-07-24T18:38:02.469+05:30 [Info] No. Index Moved (exclude new node) 36 (40.00%)
2022/07/24 18:38:02 -------------------------------------------
2022/07/24 18:38:02 rebalance - mixed small/medium, 90 index, 20% shuffle, 1x
2022-07-24T18:38:02.471+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.27974115657885573
2022-07-24T18:38:02.471+05:30 [Info] Planner::initial temperature: initial resource variation 0.27974115657885573 temp 0.027974115657885573
2022-07-24T18:38:02.655+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:02.655+05:30 [Info] Score: 0.16109498675101605
2022-07-24T18:38:02.655+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-07-24T18:38:02.655+05:30 [Info] CPU Quota: 20
2022-07-24T18:38:02.655+05:30 [Info] Indexer Memory Mean 392505602195 (365.549G)
2022-07-24T18:38:02.655+05:30 [Info] Indexer Memory Deviation 12769521844 (11.8925G) (3.25%)
2022-07-24T18:38:02.655+05:30 [Info] Indexer Memory Utilization 0.7311
2022-07-24T18:38:02.655+05:30 [Info] Indexer CPU Mean 13.9305
2022-07-24T18:38:02.655+05:30 [Info] Indexer CPU Deviation 5.22 (37.49%)
2022-07-24T18:38:02.655+05:30 [Info] Indexer CPU Utilization 0.6965
2022-07-24T18:38:02.655+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:02.655+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:02.655+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:02.655+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.655+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:02.655+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.655+05:30 [Info] Indexer Data Size Mean 392505602195 (365.549G)
2022-07-24T18:38:02.655+05:30 [Info] Indexer Data Size Deviation 12769521844 (11.8925G) (3.25%)
2022-07-24T18:38:02.655+05:30 [Info] Total Index Data (from non-deleted node) 4.28378T
2022-07-24T18:38:02.655+05:30 [Info] Index Data Moved (exclude new node) 1.56555T (36.55%)
2022-07-24T18:38:02.655+05:30 [Info] No. Index (from non-deleted node) 90
2022-07-24T18:38:02.656+05:30 [Info] No. Index Moved (exclude new node) 21 (23.33%)
2022/07/24 18:38:02 -------------------------------------------
2022/07/24 18:38:02 rebalance - travel sample, 10% shuffle, 1x
2022-07-24T18:38:02.656+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.1037410804925071
2022-07-24T18:38:02.656+05:30 [Info] Planner::initial temperature: initial resource variation 0.1037410804925071 temp 0.010374108049250711
2022-07-24T18:38:02.681+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:02.681+05:30 [Info] Score: 0.025935270123126776
2022-07-24T18:38:02.681+05:30 [Info] Memory Quota: 536870912 (512M)
2022-07-24T18:38:02.681+05:30 [Info] CPU Quota: 8
2022-07-24T18:38:02.681+05:30 [Info] Indexer Memory Mean 17503138 (16.6923M)
2022-07-24T18:38:02.682+05:30 [Info] Indexer Memory Deviation 1815794 (1.73168M) (10.37%)
2022-07-24T18:38:02.682+05:30 [Info] Indexer Memory Utilization 0.0326
2022-07-24T18:38:02.682+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:02.682+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:02.682+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:02.682+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:02.682+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:02.682+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:02.682+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.682+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:02.682+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.682+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-07-24T18:38:02.682+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:02.682+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:02.682+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:02.682+05:30 [Info] No. Index (from non-deleted node) 10
2022-07-24T18:38:02.682+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:02 -------------------------------------------
2022/07/24 18:38:02 rebalance - 20-50M, 90 index, swap 2, 1x
2022-07-24T18:38:02.684+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4095843409677649
2022-07-24T18:38:02.684+05:30 [Info] Planner::initial temperature: initial resource variation 0.4095843409677649 temp 0.04095843409677649
2022-07-24T18:38:02.906+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:02.906+05:30 [Info] Score: 0.01757195822461932
2022-07-24T18:38:02.906+05:30 [Info] Memory Quota: 139586437120 (130G)
2022-07-24T18:38:02.906+05:30 [Info] CPU Quota: 30
2022-07-24T18:38:02.906+05:30 [Info] Indexer Memory Mean 88876568718 (82.7728G)
2022-07-24T18:38:02.906+05:30 [Info] Indexer Memory Deviation 3123470705 (2.90896G) (3.51%)
2022-07-24T18:38:02.906+05:30 [Info] Indexer Memory Utilization 0.6367
2022-07-24T18:38:02.906+05:30 [Info] Indexer CPU Mean 24.0538
2022-07-24T18:38:02.906+05:30 [Info] Indexer CPU Deviation 0.83 (3.44%)
2022-07-24T18:38:02.906+05:30 [Info] Indexer CPU Utilization 0.8018
2022-07-24T18:38:02.906+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:02.906+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:02.906+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:02.906+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.906+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:02.907+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:02.907+05:30 [Info] Indexer Data Size Mean 88876568718 (82.7728G)
2022-07-24T18:38:02.907+05:30 [Info] Indexer Data Size Deviation 3123470705 (2.90896G) (3.51%)
2022-07-24T18:38:02.907+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:02.907+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:02.907+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:02.907+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:02 -------------------------------------------
2022/07/24 18:38:02 rebalance - mixed small/medium, 90 index, swap 2, 1x
2022-07-24T18:38:02.908+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4082556623939647
2022-07-24T18:38:02.909+05:30 [Info] Planner::initial temperature: initial resource variation 0.4082556623939647 temp 0.040825566239396475
2022-07-24T18:38:03.107+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:03.107+05:30 [Info] Score: 0.0019142727428637825
2022-07-24T18:38:03.107+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-07-24T18:38:03.107+05:30 [Info] CPU Quota: 20
2022-07-24T18:38:03.107+05:30 [Info] Indexer Memory Mean 392505602195 (365.549G)
2022-07-24T18:38:03.107+05:30 [Info] Indexer Memory Deviation 1502725551 (1.39952G) (0.38%)
2022-07-24T18:38:03.107+05:30 [Info] Indexer Memory Utilization 0.7311
2022-07-24T18:38:03.107+05:30 [Info] Indexer CPU Mean 13.9305
2022-07-24T18:38:03.107+05:30 [Info] Indexer CPU Deviation 0.95 (6.83%)
2022-07-24T18:38:03.107+05:30 [Info] Indexer CPU Utilization 0.6965
2022-07-24T18:38:03.107+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:03.107+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:03.107+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:03.107+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.107+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:03.107+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.107+05:30 [Info] Indexer Data Size Mean 392505602195 (365.549G)
2022-07-24T18:38:03.107+05:30 [Info] Indexer Data Size Deviation 1502725551 (1.39952G) (0.38%)
2022-07-24T18:38:03.107+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:03.107+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:03.107+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:03.107+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:03 -------------------------------------------
2022/07/24 18:38:03 rebalance - travel sample, swap 2, 1x
2022-07-24T18:38:03.107+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1.0086622738872069
2022-07-24T18:38:03.107+05:30 [Info] Planner::initial temperature: initial resource variation 1.0086622738872069 temp 0.1008662273887207
2022-07-24T18:38:03.231+05:30 [Info] Score: 0.00031929273712825843
2022-07-24T18:38:03.231+05:30 [Info] Memory Quota: 536870912 (512M)
2022-07-24T18:38:03.231+05:30 [Info] CPU Quota: 8
2022-07-24T18:38:03.231+05:30 [Info] Indexer Memory Mean 17503138 (16.6923M)
2022-07-24T18:38:03.231+05:30 [Info] Indexer Memory Deviation 22354 (21.8301K) (0.13%)
2022-07-24T18:38:03.231+05:30 [Info] Indexer Memory Utilization 0.0326
2022-07-24T18:38:03.231+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:03.231+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:03.231+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:03.231+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:03.231+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:03.231+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:03.231+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.231+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:03.231+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.231+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-07-24T18:38:03.231+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.231+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:03.231+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:03.231+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:03.231+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:03 -------------------------------------------
2022/07/24 18:38:03 rebalance - 8 identical index, add 4, 1x
2022-07-24T18:38:03.231+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1
2022-07-24T18:38:03.231+05:30 [Info] Planner::initial temperature: initial resource variation 1 temp 0.1
2022-07-24T18:38:03.255+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:03.255+05:30 [Info] Score: 0.125
2022-07-24T18:38:03.255+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-07-24T18:38:03.255+05:30 [Info] CPU Quota: 2
2022-07-24T18:38:03.255+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-07-24T18:38:03.255+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.255+05:30 [Info] Indexer Memory Utilization 0.0049
2022-07-24T18:38:03.255+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:03.255+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:03.255+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:03.255+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:03.255+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:03.255+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:03.255+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.255+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:03.255+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.255+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-07-24T18:38:03.255+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.255+05:30 [Info] Total Index Data (from non-deleted node) 19.8364M
2022-07-24T18:38:03.255+05:30 [Info] Index Data Moved (exclude new node) 4.95911M (25.00%)
2022-07-24T18:38:03.255+05:30 [Info] No. Index (from non-deleted node) 8
2022-07-24T18:38:03.255+05:30 [Info] No. Index Moved (exclude new node) 2 (25.00%)
2022/07/24 18:38:03 -------------------------------------------
2022/07/24 18:38:03 rebalance - 8 identical index, delete 2, 2x
2022-07-24T18:38:03.255+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:03.255+05:30 [Info] Planner::initial temperature: initial resource variation 0 temp 1e-05
2022-07-24T18:38:03.300+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:03.300+05:30 [Info] Score: 0
2022-07-24T18:38:03.300+05:30 [Info] Memory Quota: 1060588000 (1011.46M)
2022-07-24T18:38:03.300+05:30 [Info] CPU Quota: 4
2022-07-24T18:38:03.300+05:30 [Info] Indexer Memory Mean 10400000 (9.91821M)
2022-07-24T18:38:03.300+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.300+05:30 [Info] Indexer Memory Utilization 0.0098
2022-07-24T18:38:03.300+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:03.300+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:03.300+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:03.300+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:03.300+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:03.300+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:03.300+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.300+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:03.300+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.300+05:30 [Info] Indexer Data Size Mean 10400000 (9.91821M)
2022-07-24T18:38:03.300+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.300+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:03.300+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:03.300+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:03.300+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:03 -------------------------------------------
2022/07/24 18:38:03 rebalance - drop replcia - 3 replica, 3 zone, delete 1, 2x
2022-07-24T18:38:03.301+05:30 [Warn] There is more replica than available nodes.  Will not move index replica (default,,,country) from ejected node 127.0.0.1:9001
2022-07-24T18:38:03.301+05:30 [Info] Planner::planSingleRun Initial variance of the solution: NaN
2022-07-24T18:38:03.301+05:30 [Info] Planner::initial temperature: initial resource variation NaN temp NaN
2022-07-24T18:38:03.301+05:30 [Info] Score: 0
2022-07-24T18:38:03.301+05:30 [Info] Memory Quota: 536870912 (512M)
2022-07-24T18:38:03.301+05:30 [Info] CPU Quota: 16
2022-07-24T18:38:03.301+05:30 [Info] Indexer Memory Mean 0 (0)
2022-07-24T18:38:03.301+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.301+05:30 [Info] Indexer Memory Utilization 0.0000
2022-07-24T18:38:03.301+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:03.301+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:03.301+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:03.301+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:03.301+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:03.301+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:03.301+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.301+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:03.301+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.301+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-07-24T18:38:03.301+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.301+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:03.301+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:03.301+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:03.301+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:03 -------------------------------------------
2022/07/24 18:38:03 rebalance - rebuid replica - 3 replica, 3 zone, add 1, delete 1, 1x
2022-07-24T18:38:03.302+05:30 [Info] Planner::planSingleRun Initial variance of the solution: NaN
2022-07-24T18:38:03.302+05:30 [Info] Planner::initial temperature: initial resource variation NaN temp NaN
2022-07-24T18:38:03.302+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-07-24T18:38:03.302+05:30 [Info] Score: 0
2022-07-24T18:38:03.302+05:30 [Info] Memory Quota: 268435456 (256M)
2022-07-24T18:38:03.302+05:30 [Info] CPU Quota: 8
2022-07-24T18:38:03.302+05:30 [Info] Indexer Memory Mean 0 (0)
2022-07-24T18:38:03.302+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.302+05:30 [Info] Indexer Memory Utilization 0.0000
2022-07-24T18:38:03.302+05:30 [Info] Indexer CPU Mean 0.0000
2022-07-24T18:38:03.302+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-07-24T18:38:03.302+05:30 [Info] Indexer CPU Utilization 0.0000
2022-07-24T18:38:03.302+05:30 [Info] Indexer IO Mean 0.0000
2022-07-24T18:38:03.302+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-07-24T18:38:03.302+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-07-24T18:38:03.302+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.302+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-07-24T18:38:03.302+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-07-24T18:38:03.302+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-07-24T18:38:03.302+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-07-24T18:38:03.302+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-07-24T18:38:03.302+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-07-24T18:38:03.302+05:30 [Info] No. Index (from non-deleted node) 0
2022-07-24T18:38:03.302+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/07/24 18:38:03 -------------------------------------------
2022/07/24 18:38:03 Minimum memory test 1: min memory = 0
2022-07-24T18:38:03.303+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-07-24T18:38:03.303+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022-07-24T18:38:03.307+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/07/24 18:38:03 -------------------------------------------
2022/07/24 18:38:03 Minimum memory test 2: min memory > quota
2022-07-24T18:38:03.307+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-07-24T18:38:03.307+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=5us
2022-07-24T18:38:03.307+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=4us
2022-07-24T18:38:03.307+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-07-24T18:38:03.307+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022/07/24 18:38:04 -------------------------------------------
2022/07/24 18:38:04 Minimum memory test 3: min memory < quota
2022-07-24T18:38:04.242+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-07-24T18:38:04.242+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Minimum memory test 4: replica repair with min memory > quota
2022-07-24T18:38:05.184+05:30 [Info] Rebuilding lost replica for (default,,,country,0)
2022-07-24T18:38:05.184+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=8us
2022-07-24T18:38:05.184+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=8us
2022-07-24T18:38:05.184+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=7us
2022-07-24T18:38:05.184+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-07-24T18:38:05.184+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-07-24T18:38:05.184+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-07-24T18:38:05.184+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:05.184+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=329us
2022-07-24T18:38:05.184+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-07-24T18:38:05.184+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-07-24T18:38:05.185+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-07-24T18:38:05.185+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:05.185+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=259us
2022-07-24T18:38:05.185+05:30 [Info] Cannot rebuild lost replica due to resource constraint in cluster.  Will not rebuild lost replica.
2022-07-24T18:38:05.185+05:30 [Warn] 
MemoryQuota: 200
CpuQuota: 8
--- Violations for index  (mem 130, cpu 0) at node 127.0.0.1:9003 
	Cannot move to 127.0.0.1:9001: ReplicaViolation (free mem 1.67772e+07T, free cpu 8)
	Cannot move to 127.0.0.1:9002: ReplicaViolation (free mem 1.67772e+07T, free cpu 8)
2022-07-24T18:38:05.185+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:05.185+05:30 [Info] Planner::planSingleRun Skip running planner as current solution resource variation: 0 is less than threshold: 0. No nodes have been added or deleted and there are no violations observed
2022-07-24T18:38:05.185+05:30 [Info] Planner::initial temperature: initial resource variation 0 temp 1e-05
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Minimum memory test 5: replica repair with min memory < quota
2022-07-24T18:38:05.185+05:30 [Info] Rebuilding lost replica for (default,,,country,0)
2022-07-24T18:38:05.185+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-07-24T18:38:05.185+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-07-24T18:38:05.189+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Minimum memory test 6: rebalance with min memory > quota
2022-07-24T18:38:05.189+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-07-24T18:38:05.189+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=7us
2022-07-24T18:38:05.189+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=7us
2022-07-24T18:38:05.189+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=11us
2022-07-24T18:38:05.189+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=6us
2022-07-24T18:38:05.189+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=5us
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Minimum memory test 7: rebalance-out with min memory > quota
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=7us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=7us
2022-07-24T18:38:05.190+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=6us
2022-07-24T18:38:05.190+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-07-24T18:38:05.190+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-07-24T18:38:05.190+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022-07-24T18:38:05.191+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Minimum memory test 8: plan with min memory > quota
2022-07-24T18:38:05.193+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.041666666666666664
2022-07-24T18:38:05.194+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-07-24T18:38:05.194+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:05.194+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=896us
2022-07-24T18:38:05.194+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=4us
2022-07-24T18:38:05.194+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=4us
2022-07-24T18:38:05.194+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=3us
2022-07-24T18:38:05.194+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=3us
2022-07-24T18:38:05.194+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=3us
2022-07-24T18:38:05.194+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-07-24T18:38:05.194+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.041666666666666664
2022-07-24T18:38:05.194+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-07-24T18:38:05.194+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Minimum memory test 9: single node rebalance with min memory > quota
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=4us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=4us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=3us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=3us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=3us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=3us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=3us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=4us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=3us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=3us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=3us
2022-07-24T18:38:05.195+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=3us
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Minimum memory test 10: plan with partitioned index on empty cluster
2022-07-24T18:38:05.197+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-07-24T18:38:05.215+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 iterationTest :: Remove one node - failure
2022-07-24T18:38:05.216+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.02014493961960318
2022-07-24T18:38:05.299+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:05.299+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.300+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.300+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.300+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.300+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.154155485722712).
2022-07-24T18:38:05.300+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=371us
2022-07-24T18:38:05.300+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.300+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.300+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.300+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.300+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1393002490986914).
2022-07-24T18:38:05.300+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=363us
2022-07-24T18:38:05.300+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.300+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.300+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.300+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.301+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1393002490986914).
2022-07-24T18:38:05.301+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=413us
2022-07-24T18:38:05.301+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.301+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.301+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.301+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.301+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.21648445924294407).
2022-07-24T18:38:05.301+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=369us
2022-07-24T18:38:05.301+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.301+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.301+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.301+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.301+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.12919744129979116).
2022-07-24T18:38:05.301+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=321us
2022-07-24T18:38:05.301+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.302+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.302+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.302+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.302+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1298107057340366).
2022-07-24T18:38:05.302+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=344us
2022-07-24T18:38:05.302+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-07-24T18:38:05.302+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.302+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.302+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.302+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.302+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.14347069128845247).
2022-07-24T18:38:05.302+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=380us
2022-07-24T18:38:05.302+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.302+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.302+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.302+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.303+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.13706828833148707).
2022-07-24T18:38:05.303+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=328us
2022-07-24T18:38:05.303+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.303+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.303+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.303+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.303+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.18802420738556402).
2022-07-24T18:38:05.303+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=325us
2022-07-24T18:38:05.303+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.303+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.303+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.303+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.303+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.16985495616224025).
2022-07-24T18:38:05.303+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=316us
2022-07-24T18:38:05.303+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.303+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.304+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.304+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.304+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1504632758714835).
2022-07-24T18:38:05.304+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=351us
2022-07-24T18:38:05.304+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0091624859885931
2022-07-24T18:38:05.304+05:30 [Info] Planner::initial temperature: initial resource variation 0.0091624859885931 temp 0.03408375140114069
2022-07-24T18:38:05.304+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.304+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-07-24T18:38:05.304+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1400022745460874).
2022-07-24T18:38:05.304+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=342us
2022-07-24T18:38:05.304+05:30 [Error] 
MemoryQuota: 5302940000000
CpuQuota: 6
--- Violations for index <5217212931389322703, bucket1, , > (mem 22.9026G, cpu 4.04316) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63687T, free cpu -36.53008)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64073T, free cpu -30.579279999999997)
--- Violations for index <5134724404670666392, bucket1, , > (mem 29.1713G, cpu 5.673) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63687T, free cpu -36.53008)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64073T, free cpu -30.579279999999997)
--- Violations for index <13821727052638005012, bucket1, , > (mem 19.0697G, cpu 4.76584) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63687T, free cpu -36.53008)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64073T, free cpu -30.579279999999997)
--- Violations for index <10963009497666386749, bucket1, , > (mem 13.8856G, cpu 2.5323599999999997) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63687T, free cpu -36.53008)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64073T, free cpu -30.579279999999997)
--- Violations for index <7126865520368907587, bucket1, , > (mem 14.6486G, cpu 3.58708) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63687T, free cpu -36.53008)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64073T, free cpu -30.579279999999997)
--- Violations for index <2713343774843058965, bucket1, , > (mem 12.2788G, cpu 2.27944) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63687T, free cpu -36.53008)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64073T, free cpu -30.579279999999997)
--- Violations for index <10432885515858840324, bucket1, , > (mem 13.3761G, cpu 1.47288) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63687T, free cpu -36.53008)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64073T, free cpu -30.579279999999997)
--- Violations for index <13490841049344251376, bucket1, , > (mem 15.0323G, cpu 4.4294400000000005) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63687T, free cpu -36.53008)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64073T, free cpu -30.579279999999997)
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 iterationTest :: Remove one node - success
2022-07-24T18:38:05.304+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.23102695367392267
2022-07-24T18:38:05.393+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:05.393+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.01054322590571329
2022-07-24T18:38:05.394+05:30 [Info] Planner::initial temperature: initial resource variation 0.01054322590571329 temp 0.02394567740942867
2022-07-24T18:38:05.394+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-07-24T18:38:05.394+05:30 [Info] Planner::Finished planner run after 10 iterations.
2022-07-24T18:38:05.394+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.04351235620170448).
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 iterationTest :: Index rebuild - success
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i22,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i0,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i5,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i10,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i13,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i15,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i18,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i28,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i2,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i4,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i8,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i11,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i24,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i26,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i27,1)
2022-07-24T18:38:05.397+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i1,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i3,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i6,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i12,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i14,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i20,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i23,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i7,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i9,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i16,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i17,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i19,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i21,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i25,1)
2022-07-24T18:38:05.398+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i29,1)
2022-07-24T18:38:05.399+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.5792715732327589
2022-07-24T18:38:05.399+05:30 [Info] Planner::planSingleRun Skip running planner as current solution resource variation: 0.5792715732327589 is less than threshold: 0.8. No nodes have been added or deleted and there are no violations observed
2022-07-24T18:38:05.399+05:30 [Info] Planner::initial temperature: initial resource variation 0.5792715732327589 temp 0.022072842676724116
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 iterationTest :: Index rebuild - initial placement - success
2022-07-24T18:38:05.400+05:30 [Info] Rebuilding lost replica for (default,,,idx1,1)
2022-07-24T18:38:05.400+05:30 [Info] Rebuilding lost replica for (default,,,idx2,1)
2022-07-24T18:38:05.400+05:30 [Info] Rebuilding lost replica for (default,,,idx3,1)
2022-07-24T18:38:05.400+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.6236095644623236
2022-07-24T18:38:05.400+05:30 [Info] Planner::initial temperature: initial resource variation 0.6236095644623236 temp 0.03663904355376764
2022-07-24T18:38:05.400+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (0, 0) exceeded.
2022-07-24T18:38:05.400+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:05.400+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.6236095644623236).
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 iterationTest :: Index rebuild - initial placement - numReplica > numSG - success
2022-07-24T18:38:05.401+05:30 [Info] Rebuilding lost replica for (default,,,idx1,1)
2022-07-24T18:38:05.401+05:30 [Info] Rebuilding lost replica for (default,,,idx1,2)
2022-07-24T18:38:05.401+05:30 [Info] Rebuilding lost replica for (default,,,idx2,1)
2022-07-24T18:38:05.401+05:30 [Info] Rebuilding lost replica for (default,,,idx2,2)
2022-07-24T18:38:05.401+05:30 [Info] Rebuilding lost replica for (default,,,idx3,2)
2022-07-24T18:38:05.401+05:30 [Info] Rebuilding lost replica for (default,,,idx3,1)
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx2 0 Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 1) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx1 0 Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx3 0 Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 1) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 2) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 2) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 2) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 1) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 1) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx1 0 Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx3 0 Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 1) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 2) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 2) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 2) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx2 0 Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 1) Bucket=default Scope= Collection=
2022-07-24T18:38:05.401+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.36851386559504445
2022-07-24T18:38:05.401+05:30 [Info] Planner::initial temperature: initial resource variation 0.36851386559504445 temp 0.06214861344049556
2022-07-24T18:38:05.401+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (0, 0) exceeded.
2022-07-24T18:38:05.401+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-07-24T18:38:05.401+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.36851386559504445).
--- PASS: TestPlanner (6.82s)
=== RUN   TestGreedyPlanner
2022/07/24 18:38:05 In TestGreedyPlanner()
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Single Index Instance - 3 empty nodes - 1 SG
2022-07-24T18:38:05.404+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Single Index Instance - 2 empty nodes, 1 non-empty node - 1 SG
2022-07-24T18:38:05.406+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Single Index Instance - 1 empty node, 2 non-empty nodes - 1 SG
2022-07-24T18:38:05.409+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Single Index Instance - 3 non-empty nodes - 1 SG
2022-07-24T18:38:05.411+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 1 Replica - 3 empty nodes - 1 SG
2022-07-24T18:38:05.413+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 1 Replica - 2 empty nodes, 1 non-empty node - 1 SG
2022-07-24T18:38:05.415+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 1 Replica - 1 empty node, 2 non-empty nodes - 1 SG
2022-07-24T18:38:05.417+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 1 Replica - 3 non-empty nodes - 1 SG
2022-07-24T18:38:05.419+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 2 Replica - 3 empty nodes - 1 SG
2022-07-24T18:38:05.422+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 2 Replica - 3 non-empty nodes - 1 SG
2022-07-24T18:38:05.424+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 1 Replica - 2 empty nodes, 1 non-empty node - 2 SG
2022-07-24T18:38:05.426+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 1 Replica - 1 empty node, 2 non-empty nodes - 2 SG
2022-07-24T18:38:05.428+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Index With 1 Replica - 3 non-empty nodes - 2 SG
2022-07-24T18:38:05.431+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Equivalent Index Without any replica - 3 non-empty nodes - 1 SG
2022-07-24T18:38:05.434+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Equivalent Index With 1 Replica - 3 non-empty nodes - 1 SG - Skip least loaded node
2022-07-24T18:38:05.436+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place Equivalent Index With 1 Replica - 3 non-empty nodes - 1 SG - Use least loaded node
2022-07-24T18:38:05.438+05:30 [Info] Using greedy index placement for index 987654
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place 60 index instaces on 3 empty nodes - 1 SG
2022-07-24T18:38:05.441+05:30 [Info] Using greedy index placement for index 1000987654
2022-07-24T18:38:05.442+05:30 [Info] Using greedy index placement for index 1001987654
2022-07-24T18:38:05.444+05:30 [Info] Using greedy index placement for index 1002987654
2022-07-24T18:38:05.446+05:30 [Info] Using greedy index placement for index 1003987654
2022-07-24T18:38:05.448+05:30 [Info] Using greedy index placement for index 1004987654
2022-07-24T18:38:05.450+05:30 [Info] Using greedy index placement for index 1005987654
2022-07-24T18:38:05.452+05:30 [Info] Using greedy index placement for index 1006987654
2022-07-24T18:38:05.454+05:30 [Info] Using greedy index placement for index 1007987654
2022-07-24T18:38:05.455+05:30 [Info] Using greedy index placement for index 1008987654
2022-07-24T18:38:05.457+05:30 [Info] Using greedy index placement for index 1009987654
2022-07-24T18:38:05.459+05:30 [Info] Using greedy index placement for index 1010987654
2022-07-24T18:38:05.461+05:30 [Info] Using greedy index placement for index 1011987654
2022-07-24T18:38:05.463+05:30 [Info] Using greedy index placement for index 1012987654
2022-07-24T18:38:05.465+05:30 [Info] Using greedy index placement for index 1013987654
2022-07-24T18:38:05.467+05:30 [Info] Using greedy index placement for index 1014987654
2022-07-24T18:38:05.469+05:30 [Info] Using greedy index placement for index 1015987654
2022-07-24T18:38:05.471+05:30 [Info] Using greedy index placement for index 1016987654
2022-07-24T18:38:05.473+05:30 [Info] Using greedy index placement for index 1017987654
2022-07-24T18:38:05.475+05:30 [Info] Using greedy index placement for index 1018987654
2022-07-24T18:38:05.477+05:30 [Info] Using greedy index placement for index 1019987654
2022-07-24T18:38:05.479+05:30 [Info] Using greedy index placement for index 1020987654
2022-07-24T18:38:05.480+05:30 [Info] Using greedy index placement for index 1021987654
2022-07-24T18:38:05.482+05:30 [Info] Using greedy index placement for index 1022987654
2022-07-24T18:38:05.484+05:30 [Info] Using greedy index placement for index 1023987654
2022-07-24T18:38:05.486+05:30 [Info] Using greedy index placement for index 1024987654
2022-07-24T18:38:05.488+05:30 [Info] Using greedy index placement for index 1025987654
2022-07-24T18:38:05.490+05:30 [Info] Using greedy index placement for index 1026987654
2022-07-24T18:38:05.492+05:30 [Info] Using greedy index placement for index 1027987654
2022-07-24T18:38:05.494+05:30 [Info] Using greedy index placement for index 1028987654
2022-07-24T18:38:05.496+05:30 [Info] Using greedy index placement for index 1029987654
2022-07-24T18:38:05.498+05:30 [Info] Using greedy index placement for index 1030987654
2022-07-24T18:38:05.500+05:30 [Info] Using greedy index placement for index 1031987654
2022-07-24T18:38:05.501+05:30 [Info] Using greedy index placement for index 1032987654
2022-07-24T18:38:05.504+05:30 [Info] Using greedy index placement for index 1033987654
2022-07-24T18:38:05.506+05:30 [Info] Using greedy index placement for index 1034987654
2022-07-24T18:38:05.508+05:30 [Info] Using greedy index placement for index 1035987654
2022-07-24T18:38:05.511+05:30 [Info] Using greedy index placement for index 1036987654
2022-07-24T18:38:05.513+05:30 [Info] Using greedy index placement for index 1037987654
2022-07-24T18:38:05.516+05:30 [Info] Using greedy index placement for index 1038987654
2022-07-24T18:38:05.518+05:30 [Info] Using greedy index placement for index 1039987654
2022-07-24T18:38:05.520+05:30 [Info] Using greedy index placement for index 1040987654
2022-07-24T18:38:05.523+05:30 [Info] Using greedy index placement for index 1041987654
2022-07-24T18:38:05.525+05:30 [Info] Using greedy index placement for index 1042987654
2022-07-24T18:38:05.527+05:30 [Info] Using greedy index placement for index 1043987654
2022-07-24T18:38:05.529+05:30 [Info] Using greedy index placement for index 1044987654
2022-07-24T18:38:05.532+05:30 [Info] Using greedy index placement for index 1045987654
2022-07-24T18:38:05.534+05:30 [Info] Using greedy index placement for index 1046987654
2022-07-24T18:38:05.536+05:30 [Info] Using greedy index placement for index 1047987654
2022-07-24T18:38:05.538+05:30 [Info] Using greedy index placement for index 1048987654
2022-07-24T18:38:05.540+05:30 [Info] Using greedy index placement for index 1049987654
2022-07-24T18:38:05.542+05:30 [Info] Using greedy index placement for index 1050987654
2022-07-24T18:38:05.543+05:30 [Info] Using greedy index placement for index 1051987654
2022-07-24T18:38:05.545+05:30 [Info] Using greedy index placement for index 1052987654
2022-07-24T18:38:05.547+05:30 [Info] Using greedy index placement for index 1053987654
2022-07-24T18:38:05.549+05:30 [Info] Using greedy index placement for index 1054987654
2022-07-24T18:38:05.551+05:30 [Info] Using greedy index placement for index 1055987654
2022-07-24T18:38:05.553+05:30 [Info] Using greedy index placement for index 1056987654
2022-07-24T18:38:05.555+05:30 [Info] Using greedy index placement for index 1057987654
2022-07-24T18:38:05.557+05:30 [Info] Using greedy index placement for index 1058987654
2022-07-24T18:38:05.559+05:30 [Info] Using greedy index placement for index 1059987654
2022-07-24T18:38:05.559+05:30 [Info] Actual variance of deferred index count across nodes is 0
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place 60 index instaces on 1 empty and 1 10 percent filled node - 1 SG
2022-07-24T18:38:05.561+05:30 [Info] Using greedy index placement for index 1000987654
2022-07-24T18:38:05.563+05:30 [Info] Using greedy index placement for index 1001987654
2022-07-24T18:38:05.564+05:30 [Info] Using greedy index placement for index 1002987654
2022-07-24T18:38:05.566+05:30 [Info] Using greedy index placement for index 1003987654
2022-07-24T18:38:05.568+05:30 [Info] Using greedy index placement for index 1004987654
2022-07-24T18:38:05.569+05:30 [Info] Using greedy index placement for index 1005987654
2022-07-24T18:38:05.571+05:30 [Info] Using greedy index placement for index 1006987654
2022-07-24T18:38:05.573+05:30 [Info] Using greedy index placement for index 1007987654
2022-07-24T18:38:05.574+05:30 [Info] Using greedy index placement for index 1008987654
2022-07-24T18:38:05.576+05:30 [Info] Using greedy index placement for index 1009987654
2022-07-24T18:38:05.578+05:30 [Info] Using greedy index placement for index 1010987654
2022-07-24T18:38:05.579+05:30 [Info] Using greedy index placement for index 1011987654
2022-07-24T18:38:05.581+05:30 [Info] Using greedy index placement for index 1012987654
2022-07-24T18:38:05.582+05:30 [Info] Using greedy index placement for index 1013987654
2022-07-24T18:38:05.584+05:30 [Info] Using greedy index placement for index 1014987654
2022-07-24T18:38:05.586+05:30 [Info] Using greedy index placement for index 1015987654
2022-07-24T18:38:05.587+05:30 [Info] Using greedy index placement for index 1016987654
2022-07-24T18:38:05.589+05:30 [Info] Using greedy index placement for index 1017987654
2022-07-24T18:38:05.590+05:30 [Info] Using greedy index placement for index 1018987654
2022-07-24T18:38:05.592+05:30 [Info] Using greedy index placement for index 1019987654
2022-07-24T18:38:05.593+05:30 [Info] Using greedy index placement for index 1020987654
2022-07-24T18:38:05.595+05:30 [Info] Using greedy index placement for index 1021987654
2022-07-24T18:38:05.597+05:30 [Info] Using greedy index placement for index 1022987654
2022-07-24T18:38:05.598+05:30 [Info] Using greedy index placement for index 1023987654
2022-07-24T18:38:05.600+05:30 [Info] Using greedy index placement for index 1024987654
2022-07-24T18:38:05.602+05:30 [Info] Using greedy index placement for index 1025987654
2022-07-24T18:38:05.603+05:30 [Info] Using greedy index placement for index 1026987654
2022-07-24T18:38:05.605+05:30 [Info] Using greedy index placement for index 1027987654
2022-07-24T18:38:05.606+05:30 [Info] Using greedy index placement for index 1028987654
2022-07-24T18:38:05.608+05:30 [Info] Using greedy index placement for index 1029987654
2022-07-24T18:38:05.610+05:30 [Info] Using greedy index placement for index 1030987654
2022-07-24T18:38:05.612+05:30 [Info] Using greedy index placement for index 1031987654
2022-07-24T18:38:05.613+05:30 [Info] Using greedy index placement for index 1032987654
2022-07-24T18:38:05.615+05:30 [Info] Using greedy index placement for index 1033987654
2022-07-24T18:38:05.617+05:30 [Info] Using greedy index placement for index 1034987654
2022-07-24T18:38:05.618+05:30 [Info] Using greedy index placement for index 1035987654
2022-07-24T18:38:05.620+05:30 [Info] Using greedy index placement for index 1036987654
2022-07-24T18:38:05.621+05:30 [Info] Using greedy index placement for index 1037987654
2022-07-24T18:38:05.623+05:30 [Info] Using greedy index placement for index 1038987654
2022-07-24T18:38:05.625+05:30 [Info] Using greedy index placement for index 1039987654
2022-07-24T18:38:05.626+05:30 [Info] Using greedy index placement for index 1040987654
2022-07-24T18:38:05.628+05:30 [Info] Using greedy index placement for index 1041987654
2022-07-24T18:38:05.629+05:30 [Info] Using greedy index placement for index 1042987654
2022-07-24T18:38:05.631+05:30 [Info] Using greedy index placement for index 1043987654
2022-07-24T18:38:05.633+05:30 [Info] Using greedy index placement for index 1044987654
2022-07-24T18:38:05.634+05:30 [Info] Using greedy index placement for index 1045987654
2022-07-24T18:38:05.636+05:30 [Info] Using greedy index placement for index 1046987654
2022-07-24T18:38:05.638+05:30 [Info] Using greedy index placement for index 1047987654
2022-07-24T18:38:05.639+05:30 [Info] Using greedy index placement for index 1048987654
2022-07-24T18:38:05.641+05:30 [Info] Using greedy index placement for index 1049987654
2022-07-24T18:38:05.643+05:30 [Info] Using greedy index placement for index 1050987654
2022-07-24T18:38:05.645+05:30 [Info] Using greedy index placement for index 1051987654
2022-07-24T18:38:05.646+05:30 [Info] Using greedy index placement for index 1052987654
2022-07-24T18:38:05.648+05:30 [Info] Using greedy index placement for index 1053987654
2022-07-24T18:38:05.650+05:30 [Info] Using greedy index placement for index 1054987654
2022-07-24T18:38:05.651+05:30 [Info] Using greedy index placement for index 1055987654
2022-07-24T18:38:05.653+05:30 [Info] Using greedy index placement for index 1056987654
2022-07-24T18:38:05.654+05:30 [Info] Using greedy index placement for index 1057987654
2022-07-24T18:38:05.656+05:30 [Info] Using greedy index placement for index 1058987654
2022-07-24T18:38:05.658+05:30 [Info] Using greedy index placement for index 1059987654
2022-07-24T18:38:05.658+05:30 [Info] Actual variance of deferred index count across nodes is 8
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place 60 index instaces on 1 empty and 1 30 percent filled node - 1 SG
2022-07-24T18:38:05.660+05:30 [Info] Using greedy index placement for index 1000987654
2022-07-24T18:38:05.661+05:30 [Info] Using greedy index placement for index 1001987654
2022-07-24T18:38:05.663+05:30 [Info] Using greedy index placement for index 1002987654
2022-07-24T18:38:05.664+05:30 [Info] Using greedy index placement for index 1003987654
2022-07-24T18:38:05.666+05:30 [Info] Using greedy index placement for index 1004987654
2022-07-24T18:38:05.668+05:30 [Info] Using greedy index placement for index 1005987654
2022-07-24T18:38:05.670+05:30 [Info] Using greedy index placement for index 1006987654
2022-07-24T18:38:05.672+05:30 [Info] Using greedy index placement for index 1007987654
2022-07-24T18:38:05.674+05:30 [Info] Using greedy index placement for index 1008987654
2022-07-24T18:38:05.676+05:30 [Info] Using greedy index placement for index 1009987654
2022-07-24T18:38:05.678+05:30 [Info] Using greedy index placement for index 1010987654
2022-07-24T18:38:05.681+05:30 [Info] Using greedy index placement for index 1011987654
2022-07-24T18:38:05.683+05:30 [Info] Using greedy index placement for index 1012987654
2022-07-24T18:38:05.685+05:30 [Info] Using greedy index placement for index 1013987654
2022-07-24T18:38:05.687+05:30 [Info] Using greedy index placement for index 1014987654
2022-07-24T18:38:05.689+05:30 [Info] Using greedy index placement for index 1015987654
2022-07-24T18:38:05.691+05:30 [Info] Using greedy index placement for index 1016987654
2022-07-24T18:38:05.693+05:30 [Info] Using greedy index placement for index 1017987654
2022-07-24T18:38:05.695+05:30 [Info] Using greedy index placement for index 1018987654
2022-07-24T18:38:05.697+05:30 [Info] Using greedy index placement for index 1019987654
2022-07-24T18:38:05.699+05:30 [Info] Using greedy index placement for index 1020987654
2022-07-24T18:38:05.702+05:30 [Info] Using greedy index placement for index 1021987654
2022-07-24T18:38:05.704+05:30 [Info] Using greedy index placement for index 1022987654
2022-07-24T18:38:05.706+05:30 [Info] Using greedy index placement for index 1023987654
2022-07-24T18:38:05.708+05:30 [Info] Using greedy index placement for index 1024987654
2022-07-24T18:38:05.710+05:30 [Info] Using greedy index placement for index 1025987654
2022-07-24T18:38:05.713+05:30 [Info] Using greedy index placement for index 1026987654
2022-07-24T18:38:05.715+05:30 [Info] Using greedy index placement for index 1027987654
2022-07-24T18:38:05.717+05:30 [Info] Using greedy index placement for index 1028987654
2022-07-24T18:38:05.719+05:30 [Info] Using greedy index placement for index 1029987654
2022-07-24T18:38:05.722+05:30 [Info] Using greedy index placement for index 1030987654
2022-07-24T18:38:05.724+05:30 [Info] Using greedy index placement for index 1031987654
2022-07-24T18:38:05.726+05:30 [Info] Using greedy index placement for index 1032987654
2022-07-24T18:38:05.728+05:30 [Info] Using greedy index placement for index 1033987654
2022-07-24T18:38:05.730+05:30 [Info] Using greedy index placement for index 1034987654
2022-07-24T18:38:05.732+05:30 [Info] Using greedy index placement for index 1035987654
2022-07-24T18:38:05.735+05:30 [Info] Using greedy index placement for index 1036987654
2022-07-24T18:38:05.737+05:30 [Info] Using greedy index placement for index 1037987654
2022-07-24T18:38:05.739+05:30 [Info] Using greedy index placement for index 1038987654
2022-07-24T18:38:05.742+05:30 [Info] Using greedy index placement for index 1039987654
2022-07-24T18:38:05.744+05:30 [Info] Using greedy index placement for index 1040987654
2022-07-24T18:38:05.746+05:30 [Info] Using greedy index placement for index 1041987654
2022-07-24T18:38:05.748+05:30 [Info] Using greedy index placement for index 1042987654
2022-07-24T18:38:05.751+05:30 [Info] Using greedy index placement for index 1043987654
2022-07-24T18:38:05.753+05:30 [Info] Using greedy index placement for index 1044987654
2022-07-24T18:38:05.755+05:30 [Info] Using greedy index placement for index 1045987654
2022-07-24T18:38:05.758+05:30 [Info] Using greedy index placement for index 1046987654
2022-07-24T18:38:05.760+05:30 [Info] Using greedy index placement for index 1047987654
2022-07-24T18:38:05.762+05:30 [Info] Using greedy index placement for index 1048987654
2022-07-24T18:38:05.765+05:30 [Info] Using greedy index placement for index 1049987654
2022-07-24T18:38:05.767+05:30 [Info] Using greedy index placement for index 1050987654
2022-07-24T18:38:05.769+05:30 [Info] Using greedy index placement for index 1051987654
2022-07-24T18:38:05.772+05:30 [Info] Using greedy index placement for index 1052987654
2022-07-24T18:38:05.774+05:30 [Info] Using greedy index placement for index 1053987654
2022-07-24T18:38:05.776+05:30 [Info] Using greedy index placement for index 1054987654
2022-07-24T18:38:05.779+05:30 [Info] Using greedy index placement for index 1055987654
2022-07-24T18:38:05.781+05:30 [Info] Using greedy index placement for index 1056987654
2022-07-24T18:38:05.783+05:30 [Info] Using greedy index placement for index 1057987654
2022-07-24T18:38:05.786+05:30 [Info] Using greedy index placement for index 1058987654
2022-07-24T18:38:05.788+05:30 [Info] Using greedy index placement for index 1059987654
2022-07-24T18:38:05.788+05:30 [Info] Actual variance of deferred index count across nodes is 98
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place 5 index instaces on 1 empty and 1 60 percent filled node - 1 SG
2022-07-24T18:38:05.791+05:30 [Info] Using greedy index placement for index 1000987654
2022-07-24T18:38:05.793+05:30 [Info] Using greedy index placement for index 1001987654
2022-07-24T18:38:05.796+05:30 [Info] Using greedy index placement for index 1002987654
2022-07-24T18:38:05.798+05:30 [Info] Using greedy index placement for index 1003987654
2022-07-24T18:38:05.800+05:30 [Info] Using greedy index placement for index 1004987654
2022-07-24T18:38:05.800+05:30 [Info] Actual variance of deferred index count across nodes is 4.5
2022/07/24 18:38:05 -------------------------------------------
2022/07/24 18:38:05 Place 60 index instaces on 1 empty and 1 60 percent filled node - 1 SG
2022-07-24T18:38:05.802+05:30 [Info] Using greedy index placement for index 1000987654
2022-07-24T18:38:05.804+05:30 [Info] Using greedy index placement for index 1001987654
2022-07-24T18:38:05.807+05:30 [Info] Using greedy index placement for index 1002987654
2022-07-24T18:38:05.809+05:30 [Info] Using greedy index placement for index 1003987654
2022-07-24T18:38:05.812+05:30 [Info] Using greedy index placement for index 1004987654
2022-07-24T18:38:05.814+05:30 [Info] Using greedy index placement for index 1005987654
2022-07-24T18:38:05.816+05:30 [Info] Using greedy index placement for index 1006987654
2022-07-24T18:38:05.818+05:30 [Info] Using greedy index placement for index 1007987654
2022-07-24T18:38:05.821+05:30 [Info] Using greedy index placement for index 1008987654
2022-07-24T18:38:05.823+05:30 [Info] Using greedy index placement for index 1009987654
2022-07-24T18:38:05.825+05:30 [Info] Using greedy index placement for index 1010987654
2022-07-24T18:38:05.827+05:30 [Info] Using greedy index placement for index 1011987654
2022-07-24T18:38:05.830+05:30 [Info] Using greedy index placement for index 1012987654
2022-07-24T18:38:05.832+05:30 [Info] Using greedy index placement for index 1013987654
2022-07-24T18:38:05.834+05:30 [Info] Using greedy index placement for index 1014987654
2022-07-24T18:38:05.836+05:30 [Info] Using greedy index placement for index 1015987654
2022-07-24T18:38:05.838+05:30 [Info] Using greedy index placement for index 1016987654
2022-07-24T18:38:05.841+05:30 [Info] Using greedy index placement for index 1017987654
2022-07-24T18:38:05.843+05:30 [Info] Using greedy index placement for index 1018987654
2022-07-24T18:38:05.845+05:30 [Info] Using greedy index placement for index 1019987654
2022-07-24T18:38:05.847+05:30 [Info] Using greedy index placement for index 1020987654
2022-07-24T18:38:05.850+05:30 [Info] Using greedy index placement for index 1021987654
2022-07-24T18:38:05.852+05:30 [Info] Using greedy index placement for index 1022987654
2022-07-24T18:38:05.854+05:30 [Info] Using greedy index placement for index 1023987654
2022-07-24T18:38:05.856+05:30 [Info] Using greedy index placement for index 1024987654
2022-07-24T18:38:05.858+05:30 [Info] Using greedy index placement for index 1025987654
2022-07-24T18:38:05.861+05:30 [Info] Using greedy index placement for index 1026987654
2022-07-24T18:38:05.863+05:30 [Info] Using greedy index placement for index 1027987654
2022-07-24T18:38:05.865+05:30 [Info] Using greedy index placement for index 1028987654
2022-07-24T18:38:05.867+05:30 [Info] Using greedy index placement for index 1029987654
2022-07-24T18:38:05.869+05:30 [Info] Using greedy index placement for index 1030987654
2022-07-24T18:38:05.871+05:30 [Info] Using greedy index placement for index 1031987654
2022-07-24T18:38:05.873+05:30 [Info] Using greedy index placement for index 1032987654
2022-07-24T18:38:05.876+05:30 [Info] Using greedy index placement for index 1033987654
2022-07-24T18:38:05.878+05:30 [Info] Using greedy index placement for index 1034987654
2022-07-24T18:38:05.880+05:30 [Info] Using greedy index placement for index 1035987654
2022-07-24T18:38:05.882+05:30 [Info] Using greedy index placement for index 1036987654
2022-07-24T18:38:05.885+05:30 [Info] Using greedy index placement for index 1037987654
2022-07-24T18:38:05.887+05:30 [Info] Using greedy index placement for index 1038987654
2022-07-24T18:38:05.889+05:30 [Info] Using greedy index placement for index 1039987654
2022-07-24T18:38:05.891+05:30 [Info] Using greedy index placement for index 1040987654
2022-07-24T18:38:05.893+05:30 [Info] Using greedy index placement for index 1041987654
2022-07-24T18:38:05.896+05:30 [Info] Using greedy index placement for index 1042987654
2022-07-24T18:38:05.898+05:30 [Info] Using greedy index placement for index 1043987654
2022-07-24T18:38:05.900+05:30 [Info] Using greedy index placement for index 1044987654
2022-07-24T18:38:05.902+05:30 [Info] Using greedy index placement for index 1045987654
2022-07-24T18:38:05.905+05:30 [Info] Using greedy index placement for index 1046987654
2022-07-24T18:38:05.907+05:30 [Info] Using greedy index placement for index 1047987654
2022-07-24T18:38:05.909+05:30 [Info] Using greedy index placement for index 1048987654
2022-07-24T18:38:05.911+05:30 [Info] Using greedy index placement for index 1049987654
2022-07-24T18:38:05.914+05:30 [Info] Using greedy index placement for index 1050987654
2022-07-24T18:38:05.916+05:30 [Info] Using greedy index placement for index 1051987654
2022-07-24T18:38:05.918+05:30 [Info] Using greedy index placement for index 1052987654
2022-07-24T18:38:05.920+05:30 [Info] Using greedy index placement for index 1053987654
2022-07-24T18:38:05.923+05:30 [Info] Using greedy index placement for index 1054987654
2022-07-24T18:38:05.925+05:30 [Info] Using greedy index placement for index 1055987654
2022-07-24T18:38:05.927+05:30 [Info] Using greedy index placement for index 1056987654
2022-07-24T18:38:05.930+05:30 [Info] Using greedy index placement for index 1057987654
2022-07-24T18:38:05.932+05:30 [Info] Using greedy index placement for index 1058987654
2022-07-24T18:38:05.935+05:30 [Info] Using greedy index placement for index 1059987654
2022-07-24T18:38:05.935+05:30 [Info] Actual variance of deferred index count across nodes is 648
--- PASS: TestGreedyPlanner (0.53s)
=== RUN   TestRestfulAPI
2022/07/24 18:38:05 In TestRestfulAPI()
2022/07/24 18:38:05 In DropAllSecondaryIndexes()
2022/07/24 18:38:05 Index found:  indexmut_1
2022/07/24 18:38:06 Dropped index indexmut_1
2022/07/24 18:38:06 Setting JSON docs in KV
2022/07/24 18:38:06 GET all indexes
2022/07/24 18:38:06 200 OK
2022/07/24 18:38:06 FOUND indexes: []
2022/07/24 18:38:06 DROP index: badindexid
2022/07/24 18:38:06 status: 400 Bad Request
2022/07/24 18:38:06 DROP index: 23544142
2022/07/24 18:38:07 status: 500 Internal Server Error
2022/07/24 18:38:07 TEST: malformed body
2022/07/24 18:38:07 400 Bad Request "invalid request body ({name:), unmarshal failed invalid character 'n' looking for beginning of object key string"

2022/07/24 18:38:07 TEST: missing field ``name``
2022/07/24 18:38:07 400 Bad Request "missing field name"
2022/07/24 18:38:07 TEST: empty field ``name``
2022/07/24 18:38:07 400 Bad Request "empty field name"
2022/07/24 18:38:07 TEST: missing field ``bucket``
2022/07/24 18:38:07 400 Bad Request "missing field bucket"
2022/07/24 18:38:07 TEST: empty field ``bucket``
2022/07/24 18:38:07 400 Bad Request "empty field bucket"
2022/07/24 18:38:07 TEST: missing field ``secExprs``
2022/07/24 18:38:07 400 Bad Request "missing field secExprs"
2022/07/24 18:38:07 TEST: empty field ``secExprs``
2022/07/24 18:38:07 400 Bad Request "empty field secExprs"
2022/07/24 18:38:07 TEST: incomplete field ``desc``
2022/07/24 18:38:07 400 Bad Request "incomplete desc information [true]"
2022/07/24 18:38:07 TEST: invalid field ``desc``
2022/07/24 18:38:07 400 Bad Request "incomplete desc information [1]"
2022/07/24 18:38:07 
2022/07/24 18:38:07 CREATE INDEX: idx1
2022/07/24 18:38:17 status : 201 Created
2022/07/24 18:38:17 {"id": "9409354784587359564"} 
2022/07/24 18:38:17 CREATE INDEX: idx2 (defer)
2022/07/24 18:38:18 status : 201 Created
2022/07/24 18:38:18 {"id": "6974368738139808814"} 
2022/07/24 18:38:18 CREATE INDEX: idx3 (defer)
2022/07/24 18:38:18 status : 201 Created
2022/07/24 18:38:18 {"id": "12335030087090255829"} 
2022/07/24 18:38:18 CREATE INDEX: idx4 (defer)
2022/07/24 18:38:18 status : 201 Created
2022/07/24 18:38:18 {"id": "2073002484872636193"} 
2022/07/24 18:38:18 CREATE INDEX: idx5
2022/07/24 18:38:30 status : 201 Created
2022/07/24 18:38:30 {"id": "17314045093765582099"} 
2022/07/24 18:38:30 BUILD single deferred index
2022/07/24 18:38:30 202 Accepted
2022/07/24 18:38:30 GET all indexes
2022/07/24 18:38:30 200 OK
2022/07/24 18:38:30 index idx1 in INDEX_STATE_ACTIVE
2022/07/24 18:38:30 GET all indexes
2022/07/24 18:38:30 200 OK
2022/07/24 18:38:30 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:31 GET all indexes
2022/07/24 18:38:31 200 OK
2022/07/24 18:38:31 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:32 GET all indexes
2022/07/24 18:38:32 200 OK
2022/07/24 18:38:32 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:33 GET all indexes
2022/07/24 18:38:33 200 OK
2022/07/24 18:38:33 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:34 GET all indexes
2022/07/24 18:38:34 200 OK
2022/07/24 18:38:34 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:35 GET all indexes
2022/07/24 18:38:35 200 OK
2022/07/24 18:38:35 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:36 GET all indexes
2022/07/24 18:38:36 200 OK
2022/07/24 18:38:36 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:37 GET all indexes
2022/07/24 18:38:37 200 OK
2022/07/24 18:38:37 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:38 GET all indexes
2022/07/24 18:38:38 200 OK
2022/07/24 18:38:38 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:39 GET all indexes
2022/07/24 18:38:39 200 OK
2022/07/24 18:38:39 index idx2 in INDEX_STATE_INITIAL
2022/07/24 18:38:40 GET all indexes
2022/07/24 18:38:40 200 OK
2022/07/24 18:38:40 index idx2 in INDEX_STATE_CATCHUP
2022/07/24 18:38:41 GET all indexes
2022/07/24 18:38:41 200 OK
2022/07/24 18:38:41 index idx2 in INDEX_STATE_ACTIVE
2022/07/24 18:38:41 BUILD many deferred index
2022/07/24 18:38:41 202 Accepted 
2022/07/24 18:38:41 GET all indexes
2022/07/24 18:38:41 200 OK
2022/07/24 18:38:41 index idx1 in INDEX_STATE_ACTIVE
2022/07/24 18:38:41 GET all indexes
2022/07/24 18:38:41 200 OK
2022/07/24 18:38:41 index idx2 in INDEX_STATE_ACTIVE
2022/07/24 18:38:42 GET all indexes
2022/07/24 18:38:42 200 OK
2022/07/24 18:38:42 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:43 GET all indexes
2022/07/24 18:38:43 200 OK
2022/07/24 18:38:43 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:44 GET all indexes
2022/07/24 18:38:44 200 OK
2022/07/24 18:38:44 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:45 GET all indexes
2022/07/24 18:38:45 200 OK
2022/07/24 18:38:45 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:46 GET all indexes
2022/07/24 18:38:46 200 OK
2022/07/24 18:38:46 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:47 GET all indexes
2022/07/24 18:38:47 200 OK
2022/07/24 18:38:47 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:48 GET all indexes
2022/07/24 18:38:48 200 OK
2022/07/24 18:38:48 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:49 GET all indexes
2022/07/24 18:38:49 200 OK
2022/07/24 18:38:49 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:50 GET all indexes
2022/07/24 18:38:50 200 OK
2022/07/24 18:38:50 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:51 GET all indexes
2022/07/24 18:38:51 200 OK
2022/07/24 18:38:51 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:52 GET all indexes
2022/07/24 18:38:52 200 OK
2022/07/24 18:38:52 index idx3 in INDEX_STATE_INITIAL
2022/07/24 18:38:53 GET all indexes
2022/07/24 18:38:53 200 OK
2022/07/24 18:38:53 index idx3 in INDEX_STATE_CATCHUP
2022/07/24 18:38:54 GET all indexes
2022/07/24 18:38:54 200 OK
2022/07/24 18:38:54 index idx3 in INDEX_STATE_ACTIVE
2022/07/24 18:38:54 GET all indexes
2022/07/24 18:38:54 200 OK
2022/07/24 18:38:54 index idx4 in INDEX_STATE_ACTIVE
2022/07/24 18:38:54 GET all indexes
2022/07/24 18:38:54 200 OK
2022/07/24 18:38:54 index idx5 in INDEX_STATE_ACTIVE
2022/07/24 18:38:54 GET all indexes
2022/07/24 18:38:54 200 OK
2022/07/24 18:38:54 CREATED indexes: [9409354784587359564 6974368738139808814 12335030087090255829 2073002484872636193 17314045093765582099]
2022/07/24 18:38:54 
2022/07/24 18:38:54 LOOKUP missing index
2022/07/24 18:38:54 status : 404 Not Found
2022/07/24 18:38:54 LOOKUP Pyongyang
2022/07/24 18:38:54 status : 200 OK
2022/07/24 18:38:54 number of entries 579
2022/07/24 18:38:54 Expected and Actual scan responses are the same
2022/07/24 18:38:54 LOOKUP with stale as false
2022/07/24 18:38:54 status : 200 OK
2022/07/24 18:38:54 number of entries 579
2022/07/24 18:38:54 Expected and Actual scan responses are the same
2022/07/24 18:38:54 LOOKUP with Rome
2022/07/24 18:38:54 status : 200 OK
2022/07/24 18:38:54 number of entries 552
2022/07/24 18:38:55 Expected and Actual scan responses are the same
2022/07/24 18:38:55 RANGE missing index
2022/07/24 18:38:55 Status : 404 Not Found
2022/07/24 18:38:55 RANGE cities - none
2022/07/24 18:38:55 Status : 200 OK
2022/07/24 18:38:59 number of entries 140902
2022/07/24 18:39:00 Expected and Actual scan responses are the same
2022/07/24 18:39:00 RANGE cities -low
2022/07/24 18:39:00 Status : 200 OK
2022/07/24 18:39:04 number of entries 140902
2022/07/24 18:39:05 Expected and Actual scan responses are the same
2022/07/24 18:39:05 RANGE cities -high
2022/07/24 18:39:05 Status : 200 OK
2022/07/24 18:39:10 number of entries 140902
2022/07/24 18:39:10 Expected and Actual scan responses are the same
2022/07/24 18:39:10 RANGE cities - both
2022/07/24 18:39:10 Status : 200 OK
2022/07/24 18:39:15 number of entries 140902
2022/07/24 18:39:16 Expected and Actual scan responses are the same
2022/07/24 18:39:16 RANGE missing cities
2022/07/24 18:39:16 Status : 200 OK
2022/07/24 18:39:16 number of entries 0
2022/07/24 18:39:16 Expected and Actual scan responses are the same
2022/07/24 18:39:16 
2022/07/24 18:39:16 SCANALL missing index
2022/07/24 18:39:16 {"limit":1000000,"stale":"ok"}
2022/07/24 18:39:16 Status : 404 Not Found
2022/07/24 18:39:16 SCANALL stale ok
2022/07/24 18:39:16 {"limit":1000000,"stale":"ok"}
2022/07/24 18:39:16 Status : 200 OK
2022/07/24 18:39:20 number of entries 140902
2022/07/24 18:39:21 Expected and Actual scan responses are the same
2022/07/24 18:39:21 SCANALL stale false
2022/07/24 18:39:21 {"limit":1000000,"stale":"false"}
2022/07/24 18:39:21 Status : 200 OK
2022/07/24 18:39:26 number of entries 140902
2022/07/24 18:39:26 Expected and Actual scan responses are the same
2022/07/24 18:39:26 
2022/07/24 18:39:26 COUNT missing index
2022/07/24 18:39:26 Status : 404 Not Found
2022/07/24 18:39:26 COUNT cities - none
2022/07/24 18:39:26 Status : 200 OK
2022/07/24 18:39:26 number of entries 140902
2022/07/24 18:39:27 COUNT cities -low
2022/07/24 18:39:27 Status : 200 OK
2022/07/24 18:39:27 number of entries 140902
2022/07/24 18:39:27 COUNT cities -high
2022/07/24 18:39:27 Status : 200 OK
2022/07/24 18:39:27 number of entries 140902
2022/07/24 18:39:27 COUNT cities - both
2022/07/24 18:39:27 Status : 200 OK
2022/07/24 18:39:27 number of entries 140902
2022/07/24 18:39:27 COUNT missing cities
2022/07/24 18:39:27 Status : 200 OK
2022/07/24 18:39:27 number of entries 0
2022/07/24 18:39:27 
2022/07/24 18:39:29 STATS: Testing URLs with valid authentication
2022/07/24 18:39:29 STATS: Testing URLs with invalid authentication
2022/07/24 18:39:29 STATS: Testing invalid URLs
2022/07/24 18:39:29 STATS: Testing unsupported methods
2022/07/24 18:39:29 
--- PASS: TestRestfulAPI (83.27s)
=== RUN   TestStatIndexInstFilter
2022/07/24 18:39:29 CREATE INDEX: statIdx1
2022/07/24 18:39:39 status : 201 Created
2022/07/24 18:39:39 {"id": "12136125548846615923"} 
2022/07/24 18:39:39 CREATE INDEX: statIdx2
2022/07/24 18:39:50 status : 201 Created
2022/07/24 18:39:50 {"id": "12471381766023201809"} 
2022/07/24 18:39:50 Instance Id for statIdx2 is 10286580274859793302, common.IndexInstId
--- PASS: TestStatIndexInstFilter (21.50s)
=== RUN   TestBucketDefaultDelete
2022-07-24T18:39:50.843+05:30 [Warn] Client:runObserveStreamingEndpoint streaming endpoint for /pools/default/bs/default returned err EOF
2022-07-24T18:39:50.843+05:30 [Warn] serviceChangeNotifier: Connection terminated for collection manifest notifier instance of http://%40query@127.0.0.1:9000, default, bucket: default, (EOF)
2022/07/24 18:39:52 Deleted bucket default, responseBody: 
2022/07/24 18:40:07 Created bucket default, responseBody: 
2022/07/24 18:40:24 Populating the default bucket
2022/07/24 18:40:31 Using n1ql client
2022-07-24T18:40:31.256+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T18:40:31.256+05:30 [Info] GSIC[default/default-_default-_default-1658668231254214660] started ...
2022/07/24 18:40:31 Scan failed as expected with error: Index Not Found - cause: GSI index index_isActive not found.
2022/07/24 18:40:31 Populating the default bucket after it was deleted
2022/07/24 18:40:40 Created the secondary index index_isActive. Waiting for it become active
2022/07/24 18:40:40 Index is 14590972102386841213 now active
2022/07/24 18:40:40 Using n1ql client
2022/07/24 18:40:40 Expected and Actual scan responses are the same
--- PASS: TestBucketDefaultDelete (49.54s)
=== RUN   TestMixedDatatypesScanAll
2022/07/24 18:40:40 In TestMixedDatatypesScanAll()
2022/07/24 18:40:40 Before test begin: Length of kv docs is 10002
2022/07/24 18:40:40 In DropAllSecondaryIndexes()
2022/07/24 18:40:40 Index found:  index_isActive
2022/07/24 18:40:40 Dropped index index_isActive
2022/07/24 18:40:40 Number of number fields is: 284
2022/07/24 18:40:40 Number of string fields is: 229
2022/07/24 18:40:40 Number of json fields is: 258
2022/07/24 18:40:40 Number of true bool fields is: 101
2022/07/24 18:40:40 Number of false bool fields is: 128
2022/07/24 18:40:40 After generate docs: Length of kv docs is 11002
2022/07/24 18:40:40 Setting mixed datatypes JSON docs in KV
2022/07/24 18:40:44 Created the secondary index index_mixeddt. Waiting for it become active
2022/07/24 18:40:44 Index is 12912474098178513907 now active
2022/07/24 18:40:44 Using n1ql client
2022/07/24 18:40:44 Expected and Actual scan responses are the same
2022/07/24 18:40:44 Lengths of expected and actual scan results are:  1000 and 1000
2022/07/24 18:40:44 End: Length of kv docs is 11002
--- PASS: TestMixedDatatypesScanAll (4.58s)
=== RUN   TestMixedDatatypesRange_Float
2022/07/24 18:40:44 In TestMixedDatatypesRange_Float()
2022/07/24 18:40:44 In DropAllSecondaryIndexes()
2022/07/24 18:40:44 Index found:  index_mixeddt
2022/07/24 18:40:44 Dropped index index_mixeddt
2022/07/24 18:40:45 Number of number fields is: 242
2022/07/24 18:40:45 Number of string fields is: 252
2022/07/24 18:40:45 Number of json fields is: 255
2022/07/24 18:40:45 Number of true bool fields is: 119
2022/07/24 18:40:45 Number of false bool fields is: 132
2022/07/24 18:40:45 Setting mixed datatypes JSON docs in KV
2022/07/24 18:40:49 Created the secondary index index_mixeddt. Waiting for it become active
2022/07/24 18:40:49 Index is 10651491237773371835 now active
2022/07/24 18:40:49 Using n1ql client
2022/07/24 18:40:49 Expected and Actual scan responses are the same
2022/07/24 18:40:49 Lengths of expected and actual scan results are:  20 and 20
2022/07/24 18:40:49 Using n1ql client
2022/07/24 18:40:49 Expected and Actual scan responses are the same
2022/07/24 18:40:49 Lengths of expected and actual scan results are:  1 and 1
2022/07/24 18:40:49 Length of kv docs is 12002
--- PASS: TestMixedDatatypesRange_Float (4.89s)
=== RUN   TestMixedDatatypesRange_String
2022/07/24 18:40:49 In TestMixedDatatypesRange_String()
2022/07/24 18:40:49 In DropAllSecondaryIndexes()
2022/07/24 18:40:49 Index found:  index_mixeddt
2022/07/24 18:40:49 Dropped index index_mixeddt
2022/07/24 18:40:49 Number of number fields is: 253
2022/07/24 18:40:49 Number of string fields is: 260
2022/07/24 18:40:49 Number of json fields is: 244
2022/07/24 18:40:49 Number of true bool fields is: 127
2022/07/24 18:40:49 Number of false bool fields is: 116
2022/07/24 18:40:49 Setting mixed datatypes JSON docs in KV
2022/07/24 18:40:54 Created the secondary index index_mixeddt. Waiting for it become active
2022/07/24 18:40:54 Index is 17411373837858622138 now active
2022/07/24 18:40:54 Using n1ql client
2022/07/24 18:40:54 Expected and Actual scan responses are the same
2022/07/24 18:40:54 Lengths of expected and actual scan results are:  207 and 207
2022/07/24 18:40:54 Length of kv docs is 13002
--- PASS: TestMixedDatatypesRange_String (5.11s)
=== RUN   TestMixedDatatypesRange_Json
2022/07/24 18:40:54 In TestMixedDatatypesRange_Json()
2022/07/24 18:40:54 In DropAllSecondaryIndexes()
2022/07/24 18:40:54 Index found:  index_mixeddt
2022/07/24 18:40:54 Dropped index index_mixeddt
2022/07/24 18:40:55 Number of number fields is: 275
2022/07/24 18:40:55 Number of string fields is: 246
2022/07/24 18:40:55 Number of json fields is: 253
2022/07/24 18:40:55 Number of true bool fields is: 111
2022/07/24 18:40:55 Number of false bool fields is: 115
2022/07/24 18:40:55 Setting mixed datatypes JSON docs in KV
2022/07/24 18:40:59 Created the secondary index index_mixeddt. Waiting for it become active
2022/07/24 18:40:59 Index is 2072747183720103585 now active
2022/07/24 18:40:59 Using n1ql client
2022/07/24 18:40:59 Expected and Actual scan responses are the same
2022/07/24 18:40:59 Lengths of expected and actual scan results are:  752 and 752
2022/07/24 18:40:59 Length of kv docs is 14002
--- PASS: TestMixedDatatypesRange_Json (5.18s)
=== RUN   TestMixedDatatypesScan_Bool
2022/07/24 18:41:00 In TestMixedDatatypesScan_Bool()
2022/07/24 18:41:00 In DropAllSecondaryIndexes()
2022/07/24 18:41:00 Index found:  index_mixeddt
2022/07/24 18:41:00 Dropped index index_mixeddt
2022/07/24 18:41:00 Number of number fields is: 245
2022/07/24 18:41:00 Number of string fields is: 258
2022/07/24 18:41:00 Number of json fields is: 226
2022/07/24 18:41:00 Number of true bool fields is: 131
2022/07/24 18:41:00 Number of false bool fields is: 140
2022/07/24 18:41:00 Setting mixed datatypes JSON docs in KV
2022/07/24 18:41:05 Created the secondary index index_mixeddt. Waiting for it become active
2022/07/24 18:41:05 Index is 5002752869762133251 now active
2022/07/24 18:41:05 Using n1ql client
2022/07/24 18:41:05 Expected and Actual scan responses are the same
2022/07/24 18:41:05 Lengths of expected and actual scan results are:  488 and 488
2022/07/24 18:41:05 Using n1ql client
2022/07/24 18:41:05 Expected and Actual scan responses are the same
2022/07/24 18:41:05 Lengths of expected and actual scan results are:  503 and 503
2022/07/24 18:41:05 Length of kv docs is 15002
--- PASS: TestMixedDatatypesScan_Bool (5.28s)
=== RUN   TestLargeSecondaryKeyLength
2022/07/24 18:41:05 In TestLargeSecondaryKeyLength()
2022/07/24 18:41:05 In DropAllSecondaryIndexes()
2022/07/24 18:41:05 Index found:  index_mixeddt
2022/07/24 18:41:05 Dropped index index_mixeddt
2022/07/24 18:41:05 Setting JSON docs in KV
2022/07/24 18:41:10 Created the secondary index index_LongSecField. Waiting for it become active
2022/07/24 18:41:10 Index is 18306246911992770986 now active
2022/07/24 18:41:10 Using n1ql client
2022/07/24 18:41:10 ScanAll: Lengths of expected and actual scan results are:  1000 and 1000
2022/07/24 18:41:10 Expected and Actual scan responses are the same
2022/07/24 18:41:10 Using n1ql client
2022/07/24 18:41:10 Range: Lengths of expected and actual scan results are:  798 and 798
2022/07/24 18:41:10 Expected and Actual scan responses are the same
2022/07/24 18:41:10 End: Length of kv docs is 16002
--- PASS: TestLargeSecondaryKeyLength (5.18s)
=== RUN   TestLargePrimaryKeyLength
2022/07/24 18:41:10 In TestLargePrimaryKeyLength()
2022/07/24 18:41:10 In DropAllSecondaryIndexes()
2022/07/24 18:41:10 Index found:  index_LongSecField
2022/07/24 18:41:10 Dropped index index_LongSecField
2022/07/24 18:41:10 Setting JSON docs in KV
2022/07/24 18:41:15 Created the secondary index index_LongPrimaryField. Waiting for it become active
2022/07/24 18:41:15 Index is 6935668712175661089 now active
2022/07/24 18:41:15 Using n1ql client
2022/07/24 18:41:16 Lengths of num of docs and scanResults are:  17002 and 17002
2022/07/24 18:41:16 End: Length of kv docs is 17002
--- PASS: TestLargePrimaryKeyLength (6.50s)
=== RUN   TestUpdateMutations_DeleteField
2022/07/24 18:41:16 In TestUpdateMutations_DeleteField()
2022/07/24 18:41:17 Setting JSON docs in KV
2022/07/24 18:41:23 Created the secondary index index_bal. Waiting for it become active
2022/07/24 18:41:23 Index is 4391146357670165101 now active
2022/07/24 18:41:23 Using n1ql client
2022/07/24 18:41:23 Expected and Actual scan responses are the same
2022/07/24 18:41:23 Using n1ql client
2022/07/24 18:41:24 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_DeleteField (7.16s)
=== RUN   TestUpdateMutations_AddField
2022/07/24 18:41:24 In TestUpdateMutations_AddField()
2022/07/24 18:41:24 Setting JSON docs in KV
2022/07/24 18:41:30 Created the secondary index index_newField. Waiting for it become active
2022/07/24 18:41:30 Index is 12889790844114571284 now active
2022/07/24 18:41:30 Using n1ql client
2022/07/24 18:41:30 Count of scan results before add field mutations:  0
2022/07/24 18:41:30 Expected and Actual scan responses are the same
2022/07/24 18:41:30 Using n1ql client
2022/07/24 18:41:30 Count of scan results after add field mutations:  300
2022/07/24 18:41:30 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_AddField (6.38s)
=== RUN   TestUpdateMutations_DataTypeChange
2022/07/24 18:41:30 In TestUpdateMutations_DataTypeChange()
2022/07/24 18:41:30 Setting JSON docs in KV
2022/07/24 18:41:38 Created the secondary index index_isUserActive. Waiting for it become active
2022/07/24 18:41:38 Index is 17833650692014553578 now active
2022/07/24 18:41:38 Using n1ql client
2022/07/24 18:41:38 Expected and Actual scan responses are the same
2022/07/24 18:41:39 Using n1ql client
2022/07/24 18:41:39 Expected and Actual scan responses are the same
2022/07/24 18:41:39 Using n1ql client
2022/07/24 18:41:39 Expected and Actual scan responses are the same
2022/07/24 18:41:39 Using n1ql client
2022/07/24 18:41:39 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_DataTypeChange (8.79s)
=== RUN   TestMultipleBuckets
2022/07/24 18:41:39 In TestMultipleBuckets()
2022/07/24 18:41:39 In DropAllSecondaryIndexes()
2022/07/24 18:41:39 Index found:  index_LongPrimaryField
2022/07/24 18:41:39 Dropped index index_LongPrimaryField
2022/07/24 18:41:39 Index found:  index_bal
2022/07/24 18:41:39 Dropped index index_bal
2022/07/24 18:41:39 Index found:  index_isUserActive
2022/07/24 18:41:39 Dropped index index_isUserActive
2022/07/24 18:41:39 Index found:  index_newField
2022/07/24 18:41:39 Dropped index index_newField
2022/07/24 18:42:17 Flushed the bucket default, Response body: 
2022/07/24 18:42:20 Modified parameters of bucket default, responseBody: 
2022/07/24 18:42:20 Created bucket testbucket2, responseBody: 
2022/07/24 18:42:20 Created bucket testbucket3, responseBody: 
2022/07/24 18:42:20 Created bucket testbucket4, responseBody: 
2022/07/24 18:42:35 Generating docs and Populating all the buckets
2022/07/24 18:42:39 Created the secondary index bucket1_age. Waiting for it become active
2022/07/24 18:42:39 Index is 13697067674522007883 now active
2022/07/24 18:42:44 Created the secondary index bucket2_city. Waiting for it become active
2022/07/24 18:42:44 Index is 17668854631637713294 now active
2022/07/24 18:42:50 Created the secondary index bucket3_gender. Waiting for it become active
2022/07/24 18:42:50 Index is 3002448008756160887 now active
2022/07/24 18:42:56 Created the secondary index bucket4_balance. Waiting for it become active
2022/07/24 18:42:56 Index is 894698604518058043 now active
2022/07/24 18:42:59 Using n1ql client
2022/07/24 18:42:59 Expected and Actual scan responses are the same
2022/07/24 18:42:59 Using n1ql client
2022-07-24T18:42:59.715+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T18:42:59.716+05:30 [Info] GSIC[default/testbucket2-_default-_default-1658668379712499996] started ...
2022/07/24 18:42:59 Expected and Actual scan responses are the same
2022/07/24 18:42:59 Using n1ql client
2022-07-24T18:42:59.725+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T18:42:59.726+05:30 [Info] GSIC[default/testbucket3-_default-_default-1658668379723196221] started ...
2022/07/24 18:42:59 Expected and Actual scan responses are the same
2022/07/24 18:42:59 Using n1ql client
2022-07-24T18:42:59.739+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T18:42:59.739+05:30 [Info] GSIC[default/testbucket4-_default-_default-1658668379736702617] started ...
2022/07/24 18:42:59 Expected and Actual scan responses are the same
2022/07/24 18:43:02 Deleted bucket testbucket2, responseBody: 
2022/07/24 18:43:04 Deleted bucket testbucket3, responseBody: 
2022/07/24 18:43:06 Deleted bucket testbucket4, responseBody: 
2022/07/24 18:43:09 Modified parameters of bucket default, responseBody: 
--- PASS: TestMultipleBuckets (105.17s)
=== RUN   TestBucketFlush
2022/07/24 18:43:24 In TestBucketFlush()
2022/07/24 18:43:24 In DropAllSecondaryIndexes()
2022/07/24 18:43:24 Index found:  bucket1_age
2022/07/24 18:43:24 Dropped index bucket1_age
2022/07/24 18:44:02 Flushed the bucket default, Response body: 
2022/07/24 18:44:06 Created the secondary index index_age. Waiting for it become active
2022/07/24 18:44:06 Index is 6295950779228405205 now active
2022/07/24 18:44:06 Using n1ql client
2022/07/24 18:44:06 Expected and Actual scan responses are the same
2022/07/24 18:44:11 Created the secondary index index_gender. Waiting for it become active
2022/07/24 18:44:11 Index is 7992658050674125847 now active
2022/07/24 18:44:11 Using n1ql client
2022/07/24 18:44:11 Expected and Actual scan responses are the same
2022/07/24 18:44:16 Created the secondary index index_city. Waiting for it become active
2022/07/24 18:44:16 Index is 3289348019289073243 now active
2022/07/24 18:44:16 Using n1ql client
2022/07/24 18:44:16 Expected and Actual scan responses are the same
2022/07/24 18:44:53 Flushed the bucket default, Response body: 
2022/07/24 18:44:53 TestBucketFlush:: Flushed the bucket
2022/07/24 18:44:53 Using n1ql client
2022/07/24 18:44:53 Using n1ql client
2022/07/24 18:44:53 Using n1ql client
--- PASS: TestBucketFlush (89.16s)
=== RUN   TestLargeDocumentSize
2022/07/24 18:44:53 In TestLargeDocumentSize()
2022/07/24 18:44:53 Data file exists. Skipping download
2022/07/24 18:44:53 Length of docs and largeDocs = 200 and 200
2022/07/24 18:44:58 Created the secondary index index_userscreenname. Waiting for it become active
2022/07/24 18:44:58 Index is 12837802456317691622 now active
2022/07/24 18:44:58 Using n1ql client
2022/07/24 18:44:59 Expected and Actual scan responses are the same
--- PASS: TestLargeDocumentSize (5.43s)
=== RUN   TestFieldsWithSpecialCharacters
2022/07/24 18:44:59 In TestFieldsWithSpecialCharacters()
2022/07/24 18:45:04 Created the secondary index index_specialchar. Waiting for it become active
2022/07/24 18:45:04 Index is 11954523849435128393 now active
2022/07/24 18:45:04 Looking up for value ¶v©©€zv
2022/07/24 18:45:04 Using n1ql client
2022/07/24 18:45:04 Expected and Actual scan responses are the same
--- PASS: TestFieldsWithSpecialCharacters (5.15s)
=== RUN   TestLargeKeyLookup
2022/07/24 18:45:04 In TestLargeKeyLookup()
2022/07/24 18:45:10 Created the secondary index index_largeKeyLookup. Waiting for it become active
2022/07/24 18:45:10 Index is 11263371490728253720 now active
2022/07/24 18:45:10 Looking up for a large key
2022/07/24 18:45:10 Using n1ql client
2022/07/24 18:45:11 Expected and Actual scan responses are the same
--- PASS: TestLargeKeyLookup (7.15s)
=== RUN   TestIndexNameValidation
2022/07/24 18:45:11 In TestIndexNameValidation()
2022/07/24 18:45:11 Setting JSON docs in KV
2022/07/24 18:45:12 Creation of index with invalid name ÌñÐÉx&(abc_% failed as expected
2022/07/24 18:45:17 Created the secondary index #primary-Index_test. Waiting for it become active
2022/07/24 18:45:17 Index is 11909902801004704354 now active
2022/07/24 18:45:17 Using n1ql client
2022/07/24 18:45:17 Expected and Actual scan responses are the same
--- PASS: TestIndexNameValidation (5.86s)
=== RUN   TestSameFieldNameAtDifferentLevels
2022/07/24 18:45:17 In TestSameFieldNameAtDifferentLevels()
2022/07/24 18:45:17 Setting JSON docs in KV
2022/07/24 18:45:22 Created the secondary index cityindex. Waiting for it become active
2022/07/24 18:45:22 Index is 2251200644425099813 now active
2022/07/24 18:45:22 Using n1ql client
2022/07/24 18:45:22 Expected and Actual scan responses are the same
--- PASS: TestSameFieldNameAtDifferentLevels (5.58s)
=== RUN   TestSameIndexNameInTwoBuckets
2022/07/24 18:45:22 In TestSameIndexNameInTwoBuckets()
2022/07/24 18:45:22 In DropAllSecondaryIndexes()
2022/07/24 18:45:22 Index found:  index_age
2022/07/24 18:45:22 Dropped index index_age
2022/07/24 18:45:22 Index found:  index_userscreenname
2022/07/24 18:45:22 Dropped index index_userscreenname
2022/07/24 18:45:22 Index found:  #primary-Index_test
2022/07/24 18:45:23 Dropped index #primary-Index_test
2022/07/24 18:45:23 Index found:  index_gender
2022/07/24 18:45:23 Dropped index index_gender
2022/07/24 18:45:23 Index found:  cityindex
2022/07/24 18:45:23 Dropped index cityindex
2022/07/24 18:45:23 Index found:  index_specialchar
2022/07/24 18:45:23 Dropped index index_specialchar
2022/07/24 18:45:23 Index found:  index_city
2022/07/24 18:45:23 Dropped index index_city
2022/07/24 18:45:23 Index found:  index_largeKeyLookup
2022/07/24 18:45:23 Dropped index index_largeKeyLookup
2022/07/24 18:46:01 Flushed the bucket default, Response body: 
2022/07/24 18:46:04 Modified parameters of bucket default, responseBody: 
2022/07/24 18:46:04 Created bucket buck2, responseBody: 
2022/07/24 18:46:19 Generating docs and Populating all the buckets
2022/07/24 18:46:23 Created the secondary index b_idx. Waiting for it become active
2022/07/24 18:46:23 Index is 267861298332352555 now active
2022/07/24 18:46:29 Created the secondary index b_idx. Waiting for it become active
2022/07/24 18:46:29 Index is 8851628130356897948 now active
2022/07/24 18:46:32 Using n1ql client
2022/07/24 18:46:32 Expected and Actual scan responses are the same
2022/07/24 18:46:32 Using n1ql client
2022-07-24T18:46:32.086+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T18:46:32.086+05:30 [Info] GSIC[default/buck2-_default-_default-1658668592083636222] started ...
2022/07/24 18:46:32 Expected and Actual scan responses are the same
2022/07/24 18:46:35 Modified parameters of bucket default, responseBody: 
2022/07/24 18:46:37 Deleted bucket buck2, responseBody: 
--- PASS: TestSameIndexNameInTwoBuckets (89.50s)
=== RUN   TestLargeKeysSplChars
2022/07/24 18:46:52 In TestLargeKeysSplChars()
2022/07/24 18:47:01 Created the secondary index idspl1. Waiting for it become active
2022/07/24 18:47:01 Index is 9081861299140018269 now active
2022/07/24 18:47:07 Created the secondary index idspl2. Waiting for it become active
2022/07/24 18:47:07 Index is 9063323178867114198 now active
2022/07/24 18:47:11 Created the secondary index idspl3. Waiting for it become active
2022/07/24 18:47:11 Index is 1875075511818610571 now active
2022/07/24 18:47:11 Using n1ql client
2022/07/24 18:47:11 Expected and Actual scan responses are the same
2022-07-24T18:47:11.871+05:30 [Error] transport error between 127.0.0.1:33832->127.0.0.1:9107: write tcp 127.0.0.1:33832->127.0.0.1:9107: write: broken pipe
2022-07-24T18:47:11.871+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:33832->127.0.0.1:9107: write: broken pipe`
2022-07-24T18:47:11.871+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T18:47:11.871+05:30 [Error] metadataClient:PickRandom: Replicas - [1179154401958230468], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 18:47:12 Expected and Actual scan responses are the same
2022/07/24 18:47:12 Using n1ql client
2022/07/24 18:47:12 Expected and Actual scan responses are the same
--- PASS: TestLargeKeysSplChars (20.00s)
=== RUN   TestVeryLargeIndexKey
2022/07/24 18:47:12 In DropAllSecondaryIndexes()
2022/07/24 18:47:12 Index found:  idspl2
2022/07/24 18:47:12 Dropped index idspl2
2022/07/24 18:47:12 Index found:  idspl1
2022/07/24 18:47:12 Dropped index idspl1
2022/07/24 18:47:12 Index found:  idspl3
2022/07/24 18:47:12 Dropped index idspl3
2022/07/24 18:47:12 Index found:  b_idx
2022/07/24 18:47:12 Dropped index b_idx
2022/07/24 18:47:50 Flushed the bucket default, Response body: 
2022/07/24 18:47:50 TestVeryLargeIndexKey:: Flushed the bucket
2022/07/24 18:47:51 clusterconfig.KVAddress = 127.0.0.1:9000
2022/07/24 18:47:55 Created the secondary index i1. Waiting for it become active
2022/07/24 18:47:55 Index is 15472519048500229900 now active
2022/07/24 18:47:55 Using n1ql client
2022/07/24 18:47:55 Expected and Actual scan responses are the same
2022/07/24 18:48:01 Created the secondary index i2. Waiting for it become active
2022/07/24 18:48:01 Index is 14993155236657663806 now active
2022/07/24 18:48:01 Using n1ql client
2022/07/24 18:48:03 Expected and Actual scan responses are the same
2022/07/24 18:48:03 In DropAllSecondaryIndexes()
2022/07/24 18:48:03 Index found:  i1
2022/07/24 18:48:03 Dropped index i1
2022/07/24 18:48:03 Index found:  i2
2022/07/24 18:48:03 Dropped index i2
2022/07/24 18:48:41 Flushed the bucket default, Response body: 
--- PASS: TestVeryLargeIndexKey (89.14s)
=== RUN   TestTempBufScanResult
2022/07/24 18:48:41 In DropAllSecondaryIndexes()
2022/07/24 18:49:19 Flushed the bucket default, Response body: 
2022/07/24 18:49:19 TestTempBufScanResult:: Flushed the bucket
2022/07/24 18:49:22 Created the secondary index index_idxKey. Waiting for it become active
2022/07/24 18:49:22 Index is 10462466145016728397 now active
2022/07/24 18:49:22 Using n1ql client
2022/07/24 18:49:23 Expected and Actual scan responses are the same
2022/07/24 18:49:23 In DropAllSecondaryIndexes()
2022/07/24 18:49:23 Index found:  index_idxKey
2022/07/24 18:49:23 Dropped index index_idxKey
2022/07/24 18:50:01 Flushed the bucket default, Response body: 
--- PASS: TestTempBufScanResult (79.82s)
=== RUN   TestBuildDeferredAnotherBuilding
2022/07/24 18:50:01 In TestBuildDeferredAnotherBuilding()
2022/07/24 18:50:01 In DropAllSecondaryIndexes()
2022/07/24 18:50:42 Setting JSON docs in KV
2022/07/24 18:52:22 Build the deferred index id_age1. Waiting for the index to become active
2022/07/24 18:52:22 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:23 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:24 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:25 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:26 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:27 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:28 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:29 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:30 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:31 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:32 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:33 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:34 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:35 Waiting for index 5583578941688417461 to go active ...
2022/07/24 18:52:36 Index is 5583578941688417461 now active
2022/07/24 18:52:36 Build command issued for the deferred indexes [16741543683363431907]
2022/07/24 18:52:38 Build index failed as expected: Build index fails. Index id_age will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022/07/24 18:52:38 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:39 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:40 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:41 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:42 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:43 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:44 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:45 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:46 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:47 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:48 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:49 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:50 Waiting for index 16741543683363431907 to go active ...
2022/07/24 18:52:51 Index is 16741543683363431907 now active
2022/07/24 18:52:51 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:52:52 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:52:53 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:52:54 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:52:55 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:52:56 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:52:57 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:52:58 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:52:59 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:00 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:01 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:02 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:03 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:04 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:05 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:06 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:07 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:08 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:09 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:10 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:11 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:12 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:13 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:14 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:15 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:16 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:17 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:18 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:19 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:20 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:21 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:22 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:23 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:24 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:25 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:26 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:27 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:28 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:29 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:30 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:31 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:32 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:33 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:34 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:35 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:36 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:37 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:38 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:39 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:40 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:41 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:42 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:43 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:44 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:45 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:46 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:47 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:48 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:49 Waiting for index 15284314430380375842 to go active ...
2022/07/24 18:53:50 Index is 15284314430380375842 now active
2022/07/24 18:53:50 Using n1ql client
2022/07/24 18:53:51 Expected and Actual scan responses are the same
2022/07/24 18:53:51 Using n1ql client
2022/07/24 18:53:51 Expected and Actual scan responses are the same
--- PASS: TestBuildDeferredAnotherBuilding (230.22s)
=== RUN   TestMultipleBucketsDeferredBuild
2022/07/24 18:53:51 In TestMultipleBucketsDeferredBuild()
2022/07/24 18:53:51 In DropAllSecondaryIndexes()
2022/07/24 18:53:51 Index found:  id_age1
2022/07/24 18:53:51 Dropped index id_age1
2022/07/24 18:53:51 Index found:  id_age
2022/07/24 18:53:51 Dropped index id_age
2022/07/24 18:53:51 Index found:  id_company
2022/07/24 18:53:51 Dropped index id_company
2022/07/24 18:54:28 Flushed the bucket default, Response body: 
2022/07/24 18:54:31 Modified parameters of bucket default, responseBody: 
2022/07/24 18:54:31 http://127.0.0.1:9000/pools/default/buckets/defertest_buck2
2022/07/24 18:54:31 &{DELETE http://127.0.0.1:9000/pools/default/buckets/defertest_buck2 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/07/24 18:54:31 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Sun, 24 Jul 2022 13:24:30 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc00d331500 31 [] false false map[] 0xc00c541400 }
2022/07/24 18:54:31 DeleteBucket failed for bucket defertest_buck2 
2022/07/24 18:54:31 Deleted bucket defertest_buck2, responseBody: Requested resource not found.
2022/07/24 18:54:31 Created bucket defertest_buck2, responseBody: 
2022/07/24 18:54:46 Setting JSON docs in KV
2022/07/24 18:55:53 Build command issued for the deferred indexes [6407786006047586362]
2022/07/24 18:55:54 Build command issued for the deferred indexes [2035543240968069246 8960962388058375950]
2022/07/24 18:55:54 Index state of 8960962388058375950 is INDEX_STATE_READY
2022/07/24 18:55:54 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:55:55 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:55:56 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:55:57 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:55:58 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:55:59 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:56:00 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:56:01 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:56:02 Waiting for index 6407786006047586362 to go active ...
2022/07/24 18:56:03 Index is 6407786006047586362 now active
2022/07/24 18:56:03 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:04 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:05 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:06 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:07 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:08 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:09 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:10 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:11 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:12 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:13 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:14 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:15 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:16 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:17 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:18 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:19 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:20 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:21 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:22 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:23 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:24 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:25 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:26 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:27 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:28 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:29 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:30 Waiting for index 2035543240968069246 to go active ...
2022/07/24 18:56:31 Index is 2035543240968069246 now active
2022/07/24 18:56:31 Using n1ql client
2022/07/24 18:56:31 Expected and Actual scan responses are the same
2022/07/24 18:56:31 Using n1ql client
2022/07/24 18:56:31 Expected and Actual scan responses are the same
2022/07/24 18:56:32 Using n1ql client
2022-07-24T18:56:32.009+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T18:56:32.009+05:30 [Info] GSIC[default/defertest_buck2-_default-_default-1658669192007302797] started ...
2022/07/24 18:56:32 Expected and Actual scan responses are the same
2022/07/24 18:56:35 Modified parameters of bucket default, responseBody: 
2022/07/24 18:56:37 Deleted bucket defertest_buck2, responseBody: 
--- PASS: TestMultipleBucketsDeferredBuild (170.99s)
=== RUN   TestCreateDropCreateDeferredIndex
2022/07/24 18:56:42 In TestCreateDropCreateDeferredIndex()
2022/07/24 18:56:42 In DropAllSecondaryIndexes()
2022/07/24 18:56:42 Index found:  buck1_id1
2022/07/24 18:56:42 Dropped index buck1_id1
2022/07/24 18:56:42 Index found:  buck1_id2
2022/07/24 18:56:42 Dropped index buck1_id2
2022/07/24 18:56:44 Setting JSON docs in KV
2022/07/24 18:56:56 Created the secondary index id_company. Waiting for it become active
2022/07/24 18:56:56 Index is 5289452274591897779 now active
2022/07/24 18:56:57 Dropping the secondary index id_age
2022/07/24 18:56:57 Index dropped
2022/07/24 18:57:00 Setting JSON docs in KV
2022/07/24 18:57:08 Using n1ql client
2022/07/24 18:57:08 Expected and Actual scan responses are the same
--- PASS: TestCreateDropCreateDeferredIndex (26.09s)
=== RUN   TestMultipleDeferredIndexes_BuildTogether
2022/07/24 18:57:08 In TestMultipleDeferredIndexes_BuildTogether()
2022/07/24 18:57:08 In DropAllSecondaryIndexes()
2022/07/24 18:57:08 Index found:  id_company
2022/07/24 18:57:08 Dropped index id_company
2022/07/24 18:57:10 Setting JSON docs in KV
2022/07/24 18:57:23 Created the secondary index id_company. Waiting for it become active
2022/07/24 18:57:23 Index is 13604054636002773202 now active
2022/07/24 18:57:24 Build command issued for the deferred indexes [id_age id_gender id_isActive]
2022/07/24 18:57:24 Waiting for the index id_age to become active
2022/07/24 18:57:24 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:25 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:26 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:27 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:28 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:29 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:30 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:31 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:32 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:33 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:34 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:35 Waiting for index 5901982507738103248 to go active ...
2022/07/24 18:57:36 Index is 5901982507738103248 now active
2022/07/24 18:57:36 Waiting for the index id_gender to become active
2022/07/24 18:57:36 Index is 14619980068279535235 now active
2022/07/24 18:57:36 Waiting for the index id_isActive to become active
2022/07/24 18:57:36 Index is 2720167922300836462 now active
2022/07/24 18:57:37 Using n1ql client
2022/07/24 18:57:37 Expected and Actual scan responses are the same
2022/07/24 18:57:39 Setting JSON docs in KV
2022/07/24 18:57:47 Using n1ql client
2022/07/24 18:57:47 Expected and Actual scan responses are the same
2022/07/24 18:57:47 Using n1ql client
2022/07/24 18:57:47 Expected and Actual scan responses are the same
--- PASS: TestMultipleDeferredIndexes_BuildTogether (39.37s)
=== RUN   TestMultipleDeferredIndexes_BuildOneByOne
2022/07/24 18:57:47 In TestMultipleDeferredIndexes_BuildOneByOne()
2022/07/24 18:57:47 In DropAllSecondaryIndexes()
2022/07/24 18:57:47 Index found:  id_company
2022/07/24 18:57:47 Dropped index id_company
2022/07/24 18:57:47 Index found:  id_age
2022/07/24 18:57:48 Dropped index id_age
2022/07/24 18:57:48 Index found:  id_gender
2022/07/24 18:57:48 Dropped index id_gender
2022/07/24 18:57:48 Index found:  id_isActive
2022/07/24 18:57:48 Dropped index id_isActive
2022/07/24 18:57:50 Setting JSON docs in KV
2022/07/24 18:58:07 Created the secondary index id_company. Waiting for it become active
2022/07/24 18:58:07 Index is 13069476658653602082 now active
2022/07/24 18:58:08 Build command issued for the deferred indexes [id_age]
2022/07/24 18:58:08 Waiting for the index id_age to become active
2022/07/24 18:58:08 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:09 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:10 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:11 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:12 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:13 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:14 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:15 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:16 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:17 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:18 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:19 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:20 Waiting for index 13156802520371746701 to go active ...
2022/07/24 18:58:21 Index is 13156802520371746701 now active
2022/07/24 18:58:21 Build command issued for the deferred indexes [id_gender]
2022/07/24 18:58:21 Waiting for the index id_gender to become active
2022/07/24 18:58:21 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:22 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:23 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:24 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:25 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:26 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:27 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:28 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:29 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:30 Waiting for index 4704621796679608847 to go active ...
2022/07/24 18:58:31 Index is 4704621796679608847 now active
2022/07/24 18:58:32 Build command issued for the deferred indexes [id_isActive]
2022/07/24 18:58:32 Waiting for the index id_isActive to become active
2022/07/24 18:58:32 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:33 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:34 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:35 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:36 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:37 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:38 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:39 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:40 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:41 Waiting for index 16971340558124766822 to go active ...
2022/07/24 18:58:42 Index is 16971340558124766822 now active
2022/07/24 18:58:42 Using n1ql client
2022/07/24 18:58:42 Expected and Actual scan responses are the same
2022/07/24 18:58:44 Setting JSON docs in KV
2022/07/24 18:58:52 Using n1ql client
2022/07/24 18:58:52 Expected and Actual scan responses are the same
2022/07/24 18:58:52 Using n1ql client
2022/07/24 18:58:53 Expected and Actual scan responses are the same
--- PASS: TestMultipleDeferredIndexes_BuildOneByOne (65.55s)
=== RUN   TestDropDeferredIndexWhileOthersBuilding
2022/07/24 18:58:53 In TestDropDeferredIndexWhileOthersBuilding()
2022/07/24 18:58:53 In DropAllSecondaryIndexes()
2022/07/24 18:58:53 Index found:  id_company
2022/07/24 18:58:53 Dropped index id_company
2022/07/24 18:58:53 Index found:  id_gender
2022/07/24 18:58:53 Dropped index id_gender
2022/07/24 18:58:53 Index found:  id_isActive
2022/07/24 18:58:53 Dropped index id_isActive
2022/07/24 18:58:53 Index found:  id_age
2022/07/24 18:58:53 Dropped index id_age
2022/07/24 18:58:56 Setting JSON docs in KV
2022/07/24 18:59:10 Created the secondary index id_company. Waiting for it become active
2022/07/24 18:59:10 Index is 10515629049543941619 now active
2022/07/24 18:59:11 Build command issued for the deferred indexes [1331825716821219352 7013393515480905725]
2022/07/24 18:59:13 Dropping the secondary index id_isActive
2022/07/24 18:59:13 Index dropped
2022/07/24 18:59:13 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:14 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:15 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:16 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:17 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:18 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:19 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:20 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:21 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:22 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:23 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:24 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:25 Waiting for index 1331825716821219352 to go active ...
2022/07/24 18:59:26 Index is 1331825716821219352 now active
2022/07/24 18:59:26 Index is 7013393515480905725 now active
2022/07/24 18:59:27 Using n1ql client
2022/07/24 18:59:28 Expected and Actual scan responses are the same
2022/07/24 18:59:28 Using n1ql client
2022/07/24 18:59:28 Expected and Actual scan responses are the same
2022/07/24 18:59:30 Setting JSON docs in KV
2022/07/24 18:59:38 Using n1ql client
2022/07/24 18:59:38 Expected and Actual scan responses are the same
--- PASS: TestDropDeferredIndexWhileOthersBuilding (45.18s)
=== RUN   TestDropBuildingDeferredIndex
2022/07/24 18:59:38 In TestDropBuildingDeferredIndex()
2022/07/24 18:59:38 In DropAllSecondaryIndexes()
2022/07/24 18:59:38 Index found:  id_age
2022/07/24 18:59:38 Dropped index id_age
2022/07/24 18:59:38 Index found:  id_gender
2022/07/24 18:59:38 Dropped index id_gender
2022/07/24 18:59:38 Index found:  id_company
2022/07/24 18:59:38 Dropped index id_company
2022/07/24 18:59:41 Setting JSON docs in KV
2022/07/24 18:59:46 Build command issued for the deferred indexes [11492452771713150286 14400120617871088704]
2022/07/24 18:59:47 Dropping the secondary index id_age
2022/07/24 18:59:47 Index dropped
2022/07/24 18:59:47 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:48 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:49 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:50 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:51 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:52 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:53 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:54 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:55 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:56 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:57 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:58 Waiting for index 11492452771713150286 to go active ...
2022/07/24 18:59:59 Index is 11492452771713150286 now active
2022/07/24 18:59:59 Build command issued for the deferred indexes [id_gender]
2022/07/24 18:59:59 Waiting for the index id_gender to become active
2022/07/24 18:59:59 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:00 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:01 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:02 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:03 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:04 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:05 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:06 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:07 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:08 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:09 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:10 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:11 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:12 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:13 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:14 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:15 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:16 Waiting for index 6802585070023344101 to go active ...
2022/07/24 19:00:17 Index is 6802585070023344101 now active
2022/07/24 19:00:18 Using n1ql client
2022/07/24 19:00:18 Expected and Actual scan responses are the same
2022/07/24 19:00:18 Using n1ql client
2022/07/24 19:00:19 Expected and Actual scan responses are the same
2022/07/24 19:00:21 Setting JSON docs in KV
2022/07/24 19:00:29 Using n1ql client
2022/07/24 19:00:30 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingDeferredIndex (51.44s)
=== RUN   TestDropMultipleBuildingDeferredIndexes
2022/07/24 19:00:30 In TestDropMultipleBuildingDeferredIndexes()
2022/07/24 19:00:30 In DropAllSecondaryIndexes()
2022/07/24 19:00:30 Index found:  id_company
2022/07/24 19:00:30 Dropped index id_company
2022/07/24 19:00:30 Index found:  id_gender
2022/07/24 19:00:30 Dropped index id_gender
2022/07/24 19:00:36 Setting JSON docs in KV
2022/07/24 19:01:06 Created the secondary index id_company. Waiting for it become active
2022/07/24 19:01:06 Index is 71134586526948051 now active
2022/07/24 19:01:08 Build command issued for the deferred indexes [12703707192143037468 14592367633562975359]
2022/07/24 19:01:09 Dropping the secondary index id_age
2022/07/24 19:01:09 Index dropped
2022/07/24 19:01:09 Dropping the secondary index id_gender
2022/07/24 19:01:24 Index dropped
2022/07/24 19:01:24 Build command issued for the deferred indexes [id_isActive]
2022/07/24 19:01:24 Waiting for the index id_isActive to become active
2022/07/24 19:01:24 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:25 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:26 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:27 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:28 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:29 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:30 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:31 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:32 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:33 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:34 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:35 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:36 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:37 Waiting for index 3380369727742650830 to go active ...
2022/07/24 19:01:38 Index is 3380369727742650830 now active
2022/07/24 19:01:49 Using n1ql client
2022/07/24 19:01:50 Expected and Actual scan responses are the same
2022/07/24 19:01:50 Number of docScanResults and scanResults = 180000 and 180000
2022/07/24 19:01:50 Using n1ql client
2022/07/24 19:01:51 Expected and Actual scan responses are the same
2022/07/24 19:01:51 Number of docScanResults and scanResults = 180000 and 180000
--- PASS: TestDropMultipleBuildingDeferredIndexes (81.34s)
=== RUN   TestDropOneIndexSecondDeferBuilding
2022/07/24 19:01:51 In TestDropOneIndexSecondDeferBuilding()
2022/07/24 19:01:51 In DropAllSecondaryIndexes()
2022/07/24 19:01:51 Index found:  id_company
2022/07/24 19:01:51 Dropped index id_company
2022/07/24 19:01:51 Index found:  id_isActive
2022/07/24 19:01:51 Dropped index id_isActive
2022/07/24 19:01:53 Setting JSON docs in KV
2022/07/24 19:01:58 Build command issued for the deferred indexes [id_company]
2022/07/24 19:01:58 Waiting for the index id_company to become active
2022/07/24 19:01:58 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:01:59 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:00 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:01 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:02 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:03 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:04 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:05 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:06 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:07 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:08 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:09 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:10 Waiting for index 17297385410279495674 to go active ...
2022/07/24 19:02:11 Index is 17297385410279495674 now active
2022/07/24 19:02:11 Build command issued for the deferred indexes [1161607744777736712]
2022/07/24 19:02:12 Dropping the secondary index id_company
2022/07/24 19:02:13 Index dropped
2022/07/24 19:02:20 Setting JSON docs in KV
2022/07/24 19:02:34 Index is 1161607744777736712 now active
2022/07/24 19:02:34 Build command issued for the deferred indexes [id_gender]
2022/07/24 19:02:34 Waiting for the index id_gender to become active
2022/07/24 19:02:34 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:35 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:36 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:37 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:38 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:39 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:40 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:41 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:42 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:43 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:44 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:45 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:46 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:47 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:48 Waiting for index 5618903315213823168 to go active ...
2022/07/24 19:02:49 Index is 5618903315213823168 now active
2022/07/24 19:02:49 Using n1ql client
2022/07/24 19:02:50 Expected and Actual scan responses are the same
2022/07/24 19:02:50 Using n1ql client
2022/07/24 19:02:51 Expected and Actual scan responses are the same
--- PASS: TestDropOneIndexSecondDeferBuilding (60.00s)
=== RUN   TestDropSecondIndexSecondDeferBuilding
2022/07/24 19:02:51 In TestDropSecondIndexSecondDeferBuilding()
2022/07/24 19:02:51 In DropAllSecondaryIndexes()
2022/07/24 19:02:51 Index found:  id_gender
2022/07/24 19:02:51 Dropped index id_gender
2022/07/24 19:02:51 Index found:  id_age
2022/07/24 19:02:51 Dropped index id_age
2022/07/24 19:02:53 Setting JSON docs in KV
2022/07/24 19:02:58 Build command issued for the deferred indexes [id_company]
2022/07/24 19:02:58 Waiting for the index id_company to become active
2022/07/24 19:02:58 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:02:59 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:00 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:01 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:02 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:03 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:04 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:05 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:06 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:07 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:08 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:09 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:10 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:11 Waiting for index 3552270383301591514 to go active ...
2022/07/24 19:03:12 Index is 3552270383301591514 now active
2022/07/24 19:03:12 Build command issued for the deferred indexes [10969348710788298899]
2022/07/24 19:03:13 Dropping the secondary index id_age
2022/07/24 19:03:13 Index dropped
2022/07/24 19:03:20 Setting JSON docs in KV
2022/07/24 19:03:30 Build command issued for the deferred indexes [id_gender]
2022/07/24 19:03:30 Waiting for the index id_gender to become active
2022/07/24 19:03:30 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:31 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:32 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:33 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:34 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:35 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:36 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:37 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:38 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:39 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:40 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:41 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:42 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:43 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:44 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:45 Waiting for index 6771415681935206495 to go active ...
2022/07/24 19:03:46 Index is 6771415681935206495 now active
2022/07/24 19:03:46 Using n1ql client
2022/07/24 19:03:46 Expected and Actual scan responses are the same
2022/07/24 19:03:46 Using n1ql client
2022/07/24 19:03:48 Expected and Actual scan responses are the same
--- PASS: TestDropSecondIndexSecondDeferBuilding (57.46s)
=== RUN   TestCreateAfterDropWhileIndexBuilding
2022/07/24 19:03:48 In TestCreateAfterDropWhileIndexBuilding()
2022/07/24 19:03:48 In DropAllSecondaryIndexes()
2022/07/24 19:03:48 Index found:  id_gender
2022/07/24 19:03:48 Dropped index id_gender
2022/07/24 19:03:48 Index found:  id_company
2022/07/24 19:03:49 Dropped index id_company
2022/07/24 19:04:11 Setting JSON docs in KV
2022/07/24 19:05:02 Build command issued for the deferred indexes [17835271558754187405]
2022/07/24 19:05:03 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:04 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:05 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:06 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:07 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:08 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:09 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:10 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:11 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:12 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:13 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:14 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:15 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:16 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:17 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:18 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:19 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:20 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:21 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:22 Waiting for index 17835271558754187405 to go active ...
2022/07/24 19:05:23 Index is 17835271558754187405 now active
2022/07/24 19:05:23 Build command issued for the deferred indexes [12982744789572057627]
2022/07/24 19:05:24 Dropping the secondary index id_company
2022/07/24 19:05:24 Index dropped
2022/07/24 19:05:24 Dropping the secondary index id_age
2022/07/24 19:05:27 Index dropped
2022/07/24 19:05:33 Build command issued for the deferred indexes [id_gender]
2022/07/24 19:05:33 Waiting for the index id_gender to become active
2022/07/24 19:05:33 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:34 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:35 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:36 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:37 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:38 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:39 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:40 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:41 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:42 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:43 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:44 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:45 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:46 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:47 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:48 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:49 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:50 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:51 Waiting for index 3652667644337513241 to go active ...
2022/07/24 19:05:52 Index is 3652667644337513241 now active
2022/07/24 19:05:53 Index is 3652667644337513241 now active
2022/07/24 19:05:53 Using n1ql client
2022/07/24 19:05:55 Expected and Actual scan responses are the same
--- PASS: TestCreateAfterDropWhileIndexBuilding (126.42s)
=== RUN   TestDropBuildingIndex1
2022/07/24 19:05:55 In TestDropBuildingIndex1()
2022/07/24 19:05:55 In DropAllSecondaryIndexes()
2022/07/24 19:05:55 Index found:  id_gender
2022/07/24 19:05:55 Dropped index id_gender
2022/07/24 19:06:00 Setting JSON docs in KV
2022/07/24 19:06:29 Created the secondary index id_company. Waiting for it become active
2022/07/24 19:06:29 Index is 7409040658585362481 now active
2022/07/24 19:06:52 Dropping the secondary index id_age
2022/07/24 19:06:52 Index dropped
2022/07/24 19:07:12 Created the secondary index id_age. Waiting for it become active
2022/07/24 19:07:12 Index is 18323512507989176693 now active
2022/07/24 19:07:14 Setting JSON docs in KV
2022/07/24 19:07:22 Using n1ql client
2022/07/24 19:07:23 Expected and Actual scan responses are the same
2022/07/24 19:07:23 Using n1ql client
2022/07/24 19:07:24 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingIndex1 (89.29s)
=== RUN   TestDropBuildingIndex2
2022/07/24 19:07:24 In TestDropBuildingIndex2()
2022/07/24 19:07:24 In DropAllSecondaryIndexes()
2022/07/24 19:07:24 Index found:  id_company
2022/07/24 19:07:24 Dropped index id_company
2022/07/24 19:07:24 Index found:  id_age
2022/07/24 19:07:24 Dropped index id_age
2022/07/24 19:07:28 Setting JSON docs in KV
2022/07/24 19:08:01 Created the secondary index id_company. Waiting for it become active
2022/07/24 19:08:01 Index is 3482970400915625305 now active
2022/07/24 19:08:27 Dropping the secondary index id_company
2022/07/24 19:08:27 Index dropped
2022/07/24 19:08:27 Index is 2409311402055479226 now active
2022/07/24 19:08:47 Created the secondary index id_company. Waiting for it become active
2022/07/24 19:08:47 Index is 12941191903378996417 now active
2022/07/24 19:08:50 Setting JSON docs in KV
2022/07/24 19:08:59 Using n1ql client
2022/07/24 19:09:00 Expected and Actual scan responses are the same
2022/07/24 19:09:00 Using n1ql client
2022/07/24 19:09:01 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingIndex2 (96.47s)
=== RUN   TestDropIndexWithDataLoad
2022/07/24 19:09:01 In TestDropIndexWithDataLoad()
2022/07/24 19:09:01 In DropAllSecondaryIndexes()
2022/07/24 19:09:01 Index found:  id_company
2022/07/24 19:09:01 Dropped index id_company
2022/07/24 19:09:01 Index found:  id_age
2022/07/24 19:09:01 Dropped index id_age
2022/07/24 19:09:04 Setting JSON docs in KV
2022/07/24 19:09:30 Created the secondary index id_company. Waiting for it become active
2022/07/24 19:09:30 Index is 3610877507833488026 now active
2022/07/24 19:09:55 Created the secondary index id_age. Waiting for it become active
2022/07/24 19:09:55 Index is 18390984845493059678 now active
2022/07/24 19:10:18 Created the secondary index id_gender. Waiting for it become active
2022/07/24 19:10:18 Index is 12174051450125850137 now active
2022/07/24 19:10:41 Created the secondary index id_isActive. Waiting for it become active
2022/07/24 19:10:41 Index is 4588446638247601139 now active
2022/07/24 19:10:48 Setting JSON docs in KV
2022/07/24 19:10:48 In LoadKVBucket
2022/07/24 19:10:48 Bucket name = default
2022/07/24 19:10:48 In DropIndexWhileKVLoad
2022/07/24 19:10:49 Dropping the secondary index id_company
2022/07/24 19:10:49 Index dropped
2022/07/24 19:11:12 Using n1ql client
2022/07/24 19:11:12 Expected and Actual scan responses are the same
2022/07/24 19:11:12 Number of docScanResults and scanResults = 96752 and 96752
2022/07/24 19:11:13 Using n1ql client
2022/07/24 19:11:18 Expected and Actual scan responses are the same
2022/07/24 19:11:18 Number of docScanResults and scanResults = 420000 and 420000
--- PASS: TestDropIndexWithDataLoad (137.60s)
=== RUN   TestDropAllIndexesWithDataLoad
2022/07/24 19:11:18 In TestDropAllIndexesWithDataLoad()
2022/07/24 19:11:18 In DropAllSecondaryIndexes()
2022/07/24 19:11:18 Index found:  id_gender
2022/07/24 19:11:18 Dropped index id_gender
2022/07/24 19:11:18 Index found:  id_age
2022/07/24 19:11:18 Dropped index id_age
2022/07/24 19:11:18 Index found:  id_isActive
2022/07/24 19:11:18 Dropped index id_isActive
2022/07/24 19:11:20 Setting JSON docs in KV
2022/07/24 19:11:49 Created the secondary index id_company. Waiting for it become active
2022/07/24 19:11:49 Index is 2005588504048915172 now active
2022/07/24 19:12:16 Created the secondary index id_age. Waiting for it become active
2022/07/24 19:12:16 Index is 9010214780293797026 now active
2022/07/24 19:12:39 Created the secondary index id_gender. Waiting for it become active
2022/07/24 19:12:39 Index is 15591109792728884178 now active
2022/07/24 19:13:03 Created the secondary index id_isActive. Waiting for it become active
2022/07/24 19:13:03 Index is 3051199714390852280 now active
2022/07/24 19:13:12 Setting JSON docs in KV
2022/07/24 19:13:12 In DropIndexWhileKVLoad
2022/07/24 19:13:12 In LoadKVBucket
2022/07/24 19:13:12 Bucket name = default
2022/07/24 19:13:12 In DropIndexWhileKVLoad
2022/07/24 19:13:12 In DropIndexWhileKVLoad
2022/07/24 19:13:12 In DropIndexWhileKVLoad
2022/07/24 19:13:13 Dropping the secondary index id_company
2022/07/24 19:13:13 Dropping the secondary index id_age
2022/07/24 19:13:13 Dropping the secondary index id_gender
2022/07/24 19:13:13 Dropping the secondary index id_isActive
2022/07/24 19:13:13 Index dropped
2022/07/24 19:13:13 Index dropped
2022/07/24 19:13:13 Index dropped
2022/07/24 19:13:14 Index dropped
2022/07/24 19:13:30 Using n1ql client
2022/07/24 19:13:30 Scan failed as expected with error: Index Not Found - cause: GSI index id_company not found.
--- PASS: TestDropAllIndexesWithDataLoad (131.80s)
=== RUN   TestCreateBucket_AnotherIndexBuilding
2022/07/24 19:13:30 In TestCreateBucket_AnotherIndexBuilding()
2022/07/24 19:13:30 In DropAllSecondaryIndexes()
2022/07/24 19:14:08 Flushed the bucket default, Response body: 
2022/07/24 19:14:11 Modified parameters of bucket default, responseBody: 
2022/07/24 19:14:11 http://127.0.0.1:9000/pools/default/buckets/multi_buck2
2022/07/24 19:14:11 &{DELETE http://127.0.0.1:9000/pools/default/buckets/multi_buck2 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/07/24 19:14:11 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Sun, 24 Jul 2022 13:44:10 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc021257dc0 31 [] false false map[] 0xc02096ce00 }
2022/07/24 19:14:11 DeleteBucket failed for bucket multi_buck2 
2022/07/24 19:14:11 Deleted bucket multi_buck2, responseBody: Requested resource not found.
2022/07/24 19:14:26 Setting JSON docs in KV
2022/07/24 19:16:16 Created bucket multi_buck2, responseBody: 
2022/07/24 19:16:39 Index is 5890247545062151260 now active
2022/07/24 19:16:39 Index is 17241410613844124179 now active
2022/07/24 19:16:39 Using n1ql client
2022-07-24T19:16:39.979+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T19:16:39.979+05:30 [Info] GSIC[default/multi_buck2-_default-_default-1658670399977001651] started ...
2022/07/24 19:16:40 Expected and Actual scan responses are the same
2022/07/24 19:16:40 Number of docScanResults and scanResults = 10000 and 10000
2022/07/24 19:16:40 Using n1ql client
2022/07/24 19:16:43 Expected and Actual scan responses are the same
2022/07/24 19:16:43 Number of docScanResults and scanResults = 200000 and 200000
2022/07/24 19:16:46 Deleted bucket multi_buck2, responseBody: 
2022/07/24 19:17:23 Flushed the bucket default, Response body: 
--- PASS: TestCreateBucket_AnotherIndexBuilding (233.26s)
=== RUN   TestDropBucket2Index_Bucket1IndexBuilding
2022/07/24 19:17:23 In TestDropBucket2Index_Bucket1IndexBuilding()
2022/07/24 19:17:23 In DropAllSecondaryIndexes()
2022/07/24 19:17:23 Index found:  buck1_idx
2022/07/24 19:17:23 Dropped index buck1_idx
2022/07/24 19:18:01 Flushed the bucket default, Response body: 
2022/07/24 19:18:04 Modified parameters of bucket default, responseBody: 
2022/07/24 19:18:04 http://127.0.0.1:9000/pools/default/buckets/multibucket_test3
2022/07/24 19:18:04 &{DELETE http://127.0.0.1:9000/pools/default/buckets/multibucket_test3 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/07/24 19:18:04 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Sun, 24 Jul 2022 13:48:03 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc00be19a40 31 [] false false map[] 0xc0213aad00 }
2022/07/24 19:18:04 DeleteBucket failed for bucket multibucket_test3 
2022/07/24 19:18:04 Deleted bucket multibucket_test3, responseBody: Requested resource not found.
2022/07/24 19:18:04 Created bucket multibucket_test3, responseBody: 
2022/07/24 19:18:19 Setting JSON docs in KV
2022/07/24 19:19:15 Created the secondary index buck2_idx. Waiting for it become active
2022/07/24 19:19:15 Index is 11245056061783515951 now active
2022/07/24 19:19:27 Dropping the secondary index buck2_idx
2022/07/24 19:19:27 Index dropped
2022/07/24 19:19:27 Index is 13253633319858584470 now active
2022/07/24 19:19:28 Using n1ql client
2022/07/24 19:19:29 Expected and Actual scan responses are the same
2022/07/24 19:19:29 Number of docScanResults and scanResults = 100000 and 100000
2022/07/24 19:19:31 Deleted bucket multibucket_test3, responseBody: 
2022/07/24 19:20:09 Flushed the bucket default, Response body: 
--- PASS: TestDropBucket2Index_Bucket1IndexBuilding (165.87s)
=== RUN   TestDeleteBucketWhileInitialIndexBuild
2022/07/24 19:20:09 In TestDeleteBucketWhileInitialIndexBuild()
2022/07/24 19:20:09 ============== DBG: Drop all indexes in all buckets
2022/07/24 19:20:09 In DropAllSecondaryIndexes()
2022/07/24 19:20:09 Index found:  buck1_idx
2022/07/24 19:20:09 Dropped index buck1_idx
2022/07/24 19:20:09 ============== DBG: Delete bucket default
2022/07/24 19:20:11 Deleted bucket default, responseBody: 
2022/07/24 19:20:11 ============== DBG: Create bucket default
2022/07/24 19:20:11 Created bucket default, responseBody: 
2022/07/24 19:20:14 Flush Enabled on bucket default, responseBody: 
2022/07/24 19:20:47 Flushed the bucket default, Response body: 
2022/07/24 19:20:47 ============== DBG: Delete bucket testbucket2
2022/07/24 19:20:47 http://127.0.0.1:9000/pools/default/buckets/testbucket2
2022/07/24 19:20:47 &{DELETE http://127.0.0.1:9000/pools/default/buckets/testbucket2 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/07/24 19:20:47 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Sun, 24 Jul 2022 13:50:46 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc0032a0480 31 [] false false map[] 0xc004219000 }
2022/07/24 19:20:47 DeleteBucket failed for bucket testbucket2 
2022/07/24 19:20:47 Deleted bucket testbucket2, responseBody: Requested resource not found.
2022/07/24 19:20:47 ============== DBG: Create bucket testbucket2
2022/07/24 19:20:47 Created bucket testbucket2, responseBody: 
2022/07/24 19:20:50 Flush Enabled on bucket testbucket2, responseBody: 
2022/07/24 19:21:23 Flushed the bucket testbucket2, Response body: 
2022/07/24 19:21:23 ============== DBG: Delete bucket testbucket3
2022/07/24 19:21:23 http://127.0.0.1:9000/pools/default/buckets/testbucket3
2022/07/24 19:21:23 &{DELETE http://127.0.0.1:9000/pools/default/buckets/testbucket3 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/07/24 19:21:23 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Sun, 24 Jul 2022 13:51:23 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc001ae01c0 31 [] false false map[] 0xc0044ea400 }
2022/07/24 19:21:23 DeleteBucket failed for bucket testbucket3 
2022/07/24 19:21:23 Deleted bucket testbucket3, responseBody: Requested resource not found.
2022/07/24 19:21:23 ============== DBG: Create bucket testbucket3
2022/07/24 19:21:24 Created bucket testbucket3, responseBody: 
2022/07/24 19:21:27 Flush Enabled on bucket testbucket3, responseBody: 
2022/07/24 19:22:00 Flushed the bucket testbucket3, Response body: 
2022/07/24 19:22:00 ============== DBG: Delete bucket testbucket4
2022/07/24 19:22:00 http://127.0.0.1:9000/pools/default/buckets/testbucket4
2022/07/24 19:22:00 &{DELETE http://127.0.0.1:9000/pools/default/buckets/testbucket4 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/07/24 19:22:00 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Sun, 24 Jul 2022 13:51:59 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc01ae6d380 31 [] false false map[] 0xc000178c00 }
2022/07/24 19:22:00 DeleteBucket failed for bucket testbucket4 
2022/07/24 19:22:00 Deleted bucket testbucket4, responseBody: Requested resource not found.
2022/07/24 19:22:00 ============== DBG: Create bucket testbucket4
2022/07/24 19:22:00 Created bucket testbucket4, responseBody: 
2022/07/24 19:22:03 Flush Enabled on bucket testbucket4, responseBody: 
2022/07/24 19:22:36 Flushed the bucket testbucket4, Response body: 
2022/07/24 19:22:51 Generating docs and Populating all the buckets
2022/07/24 19:22:52 ============== DBG: Creating docs in bucket default
2022/07/24 19:22:52 ============== DBG: Creating index bucket1_age in bucket default
2022/07/24 19:22:56 Created the secondary index bucket1_age. Waiting for it become active
2022/07/24 19:22:56 Index is 13553342848880410078 now active
2022/07/24 19:22:56 ============== DBG: Creating index bucket1_gender in bucket default
2022/07/24 19:23:02 Created the secondary index bucket1_gender. Waiting for it become active
2022/07/24 19:23:02 Index is 1259967307809720410 now active
2022/07/24 19:23:02 ============== DBG: Creating docs in bucket testbucket2
2022/07/24 19:23:03 ============== DBG: Creating index bucket2_city in bucket testbucket2
2022/07/24 19:23:07 Created the secondary index bucket2_city. Waiting for it become active
2022/07/24 19:23:07 Index is 9768640222119193898 now active
2022/07/24 19:23:07 ============== DBG: Creating index bucket2_company in bucket testbucket2
2022/07/24 19:23:12 Created the secondary index bucket2_company. Waiting for it become active
2022/07/24 19:23:12 Index is 11539453249955934728 now active
2022/07/24 19:23:13 ============== DBG: Creating docs in bucket testbucket3
2022/07/24 19:23:14 ============== DBG: Creating index bucket3_gender in bucket testbucket3
2022/07/24 19:23:19 Created the secondary index bucket3_gender. Waiting for it become active
2022/07/24 19:23:19 Index is 99897191462078959 now active
2022/07/24 19:23:19 ============== DBG: Creating index bucket3_address in bucket testbucket3
2022/07/24 19:23:24 Created the secondary index bucket3_address. Waiting for it become active
2022/07/24 19:23:24 Index is 5513873551084700568 now active
2022/07/24 19:23:24 ============== DBG: First bucket scan:: Scanning index bucket1_age in bucket default
2022/07/24 19:23:24 Using n1ql client
2022-07-24T19:23:24.316+05:30 [Info] metadata provider version changed 1265 -> 1266
2022-07-24T19:23:24.317+05:30 [Info] switched currmeta from 1265 -> 1266 force false 
2022-07-24T19:23:24.317+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T19:23:24.318+05:30 [Info] GSIC[default/default-_default-_default-1658670804307693448] started ...
2022/07/24 19:23:24 ============== DBG: First bucket scan:: Expected results = 310 Actual results = 310
2022/07/24 19:23:24 Expected and Actual scan responses are the same
2022/07/24 19:23:35 ============== DBG: Creating 50K docs in bucket testbucket4
2022/07/24 19:23:58 ============== DBG: Creating index bucket4_balance asynchronously in bucket testbucket4
2022/07/24 19:24:07 ============== DBG: Deleting bucket testbucket4
2022/07/24 19:24:09 Deleted bucket testbucket4, responseBody: 
2022/07/24 19:24:09 ============== DBG: First bucket scan:: Scanning index bucket1_age in bucket default
2022/07/24 19:24:09 Using n1ql client
2022/07/24 19:24:09 ============== DBG: First bucket scan:: Expected results = 310 Actual results = 310
2022/07/24 19:24:09 Expected and Actual scan responses are the same
2022/07/24 19:24:09 ============== DBG: Second bucket scan:: Scanning index bucket2_city in bucket testbucket2
2022/07/24 19:24:09 Using n1ql client
2022-07-24T19:24:09.427+05:30 [Info] switched currmeta from 1274 -> 1274 force true 
2022-07-24T19:24:09.431+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T19:24:09.431+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T19:24:09.431+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T19:24:09.432+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T19:24:09.432+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T19:24:09.432+05:30 [Info] GSIC[default/testbucket2-_default-_default-1658670849426754420] started ...
2022/07/24 19:24:09 ============== DBG: Second bucket scan:: Expected results = 423 Actual results = 423
2022/07/24 19:24:09 Expected and Actual scan responses are the same
2022/07/24 19:24:09 ============== DBG: Third bucket scan:: Scanning index bucket3_gender in bucket testbucket3
2022/07/24 19:24:09 Using n1ql client
2022-07-24T19:24:09.439+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T19:24:09.439+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T19:24:09.440+05:30 [Info] switched currmeta from 1278 -> 1278 force true 
2022-07-24T19:24:09.441+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T19:24:09.441+05:30 [Info] GSIC[default/testbucket3-_default-_default-1658670849438832018] started ...
2022/07/24 19:24:09 ============== DBG: Third bucket scan:: Expected results = 521 Actual results = 521
2022/07/24 19:24:09 Expected and Actual scan responses are the same
2022/07/24 19:24:09 ============== DBG: Deleting buckets testbucket2 testbucket3 testbucket4
2022/07/24 19:24:11 Deleted bucket testbucket2, responseBody: 
2022/07/24 19:24:13 Deleted bucket testbucket3, responseBody: 
2022/07/24 19:24:13 http://127.0.0.1:9000/pools/default/buckets/testbucket4
2022/07/24 19:24:13 &{DELETE http://127.0.0.1:9000/pools/default/buckets/testbucket4 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/07/24 19:24:13 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Sun, 24 Jul 2022 13:54:12 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc018408480 31 [] false false map[] 0xc018328100 }
2022/07/24 19:24:13 DeleteBucket failed for bucket testbucket4 
2022/07/24 19:24:13 Deleted bucket testbucket4, responseBody: Requested resource not found.
2022/07/24 19:24:16 Modified parameters of bucket default, responseBody: 
--- PASS: TestDeleteBucketWhileInitialIndexBuild (262.15s)
=== RUN   TestWherClause_UpdateDocument
2022/07/24 19:24:31 In TestWherClause_UpdateDocument()
2022/07/24 19:24:31 In DropAllSecondaryIndexes()
2022/07/24 19:24:31 Index found:  bucket1_gender
2022/07/24 19:24:31 Dropped index bucket1_gender
2022/07/24 19:24:31 Index found:  bucket1_age
2022/07/24 19:24:31 Dropped index bucket1_age
2022/07/24 19:25:09 Flushed the bucket default, Response body: 
2022/07/24 19:25:11 Setting JSON docs in KV
2022/07/24 19:25:20 Created the secondary index id_ageGreaterThan40. Waiting for it become active
2022/07/24 19:25:20 Index is 15271273314317131548 now active
2022/07/24 19:25:20 Using n1ql client
2022/07/24 19:25:20 Expected and Actual scan responses are the same
2022/07/24 19:25:20 Number of docScanResults and scanResults = 6008 and 6008
2022/07/24 19:25:24 Using n1ql client
2022/07/24 19:25:24 Expected and Actual scan responses are the same
2022/07/24 19:25:24 Number of docScanResults and scanResults = 2008 and 2008
--- PASS: TestWherClause_UpdateDocument (53.13s)
=== RUN   TestDeferFalse
2022/07/24 19:25:24 In TestDeferFalse()
2022/07/24 19:25:27 Setting JSON docs in KV
2022/07/24 19:25:39 Created the secondary index index_deferfalse1. Waiting for it become active
2022/07/24 19:25:39 Index is 1691525035794025807 now active
2022/07/24 19:25:39 Using n1ql client
2022/07/24 19:25:39 Expected and Actual scan responses are the same
--- PASS: TestDeferFalse (14.95s)
=== RUN   TestDeferFalse_CloseClientConnection
2022/07/24 19:25:39 In TestDeferFalse_CloseClientConnection()
2022/07/24 19:25:39 In CreateIndexThread
2022/07/24 19:25:39 In CloseClientThread
2022-07-24T19:25:41.859+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:45068->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 19:25:41 Create Index call failed as expected due to error : Terminate Request due to client termination
2022/07/24 19:25:41 Waiting for index 12450005763325773334 to go active ...
2022/07/24 19:25:42 Waiting for index 12450005763325773334 to go active ...
2022/07/24 19:25:43 Waiting for index 12450005763325773334 to go active ...
2022/07/24 19:25:44 Waiting for index 12450005763325773334 to go active ...
2022/07/24 19:25:45 Index is 12450005763325773334 now active
2022/07/24 19:25:45 Using n1ql client
2022/07/24 19:25:45 Expected and Actual scan responses are the same
--- PASS: TestDeferFalse_CloseClientConnection (6.18s)
=== RUN   TestOrphanIndexCleanup
2022-07-24T19:25:45.999+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:45124->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 19:25:46 In DropAllSecondaryIndexes()
2022/07/24 19:25:46 Index found:  index_deferfalse1
2022/07/24 19:25:46 Dropped index index_deferfalse1
2022/07/24 19:25:46 Index found:  id_ageGreaterThan40
2022/07/24 19:25:46 Dropped index id_ageGreaterThan40
2022/07/24 19:25:46 Index found:  index_deferfalse2
2022/07/24 19:25:46 Dropped index index_deferfalse2
2022/07/24 19:26:00 Created the secondary index idx1_age_regular. Waiting for it become active
2022/07/24 19:26:00 Index is 12835504692393993432 now active
2022/07/24 19:26:06 Created the secondary index idx2_company_regular. Waiting for it become active
2022/07/24 19:26:06 Index is 2712404288859355013 now active
2022/07/24 19:26:16 Using n1ql client
2022/07/24 19:26:16 Query on idx1_age_regular is successful
2022/07/24 19:26:16 Using n1ql client
2022/07/24 19:26:16 Query on idx2_company_regular is successful
Restarting indexer process ...
2022/07/24 19:26:16 []
2022-07-24T19:26:16.932+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T19:26:16.932+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T19:26:16.932+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T19:26:16.933+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 19:26:36 Using n1ql client
2022-07-24T19:26:36.894+05:30 [Error] transport error between 127.0.0.1:34872->127.0.0.1:9107: write tcp 127.0.0.1:34872->127.0.0.1:9107: write: broken pipe
2022-07-24T19:26:36.894+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 8706232424660556009 request transport failed `write tcp 127.0.0.1:34872->127.0.0.1:9107: write: broken pipe`
2022-07-24T19:26:36.894+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T19:26:36.894+05:30 [Error] metadataClient:PickRandom: Replicas - [12844415917610653781], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 19:26:36 Query on idx1_age_regular is successful - after indexer restart.
2022/07/24 19:26:36 Using n1ql client
2022/07/24 19:26:36 Query on idx2_company_regular is successful - after indexer restart.
--- PASS: TestOrphanIndexCleanup (50.93s)
=== RUN   TestOrphanPartitionCleanup
2022/07/24 19:26:41 Created the secondary index idx3_age_regular. Waiting for it become active
2022/07/24 19:26:41 Index is 10616659784411383021 now active
2022/07/24 19:26:51 Using n1ql client
2022/07/24 19:26:51 Query on idx3_age_regular is successful
Restarting indexer process ...
2022/07/24 19:26:51 []
2022-07-24T19:26:51.883+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T19:26:51.883+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T19:26:51.883+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T19:26:51.883+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T19:27:03.385+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1658671012771667486 1658671019387073687 map[]}, clientStatsPtr.Stats[bucket] 
2022-07-24T19:27:03.385+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1658671012771667486 1658671019387073687 map[]}, clientStatsPtr.Stats[bucket] 
2022-07-24T19:27:08.385+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1658671012771667486 1658671025387246518 map[]}, clientStatsPtr.Stats[bucket] 
2022-07-24T19:27:08.385+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1658671012771667486 1658671025387246518 map[]}, clientStatsPtr.Stats[bucket] 
2022/07/24 19:27:11 Using n1ql client
2022-07-24T19:27:11.861+05:30 [Error] transport error between 127.0.0.1:46434->127.0.0.1:9107: write tcp 127.0.0.1:46434->127.0.0.1:9107: write: broken pipe
2022-07-24T19:27:11.861+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 7428071680473883193 request transport failed `write tcp 127.0.0.1:46434->127.0.0.1:9107: write: broken pipe`
2022-07-24T19:27:11.861+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 0 
2022-07-24T19:27:11.861+05:30 [Error] metadataClient:PickRandom: Replicas - [10489806966846461839], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 19:27:11 Query on idx3_age_regular is successful - after indexer restart.
--- PASS: TestOrphanPartitionCleanup (34.95s)
=== RUN   TestIndexerSettings
2022/07/24 19:27:11 In TestIndexerSettings()
2022/07/24 19:27:11 Changing config key indexer.settings.max_cpu_percent to value 300
2022/07/24 19:27:11 Changing config key indexer.settings.inmemory_snapshot.interval to value 300
2022/07/24 19:27:11 Changing config key indexer.settings.persisted_snapshot.interval to value 20000
2022/07/24 19:27:11 Changing config key indexer.settings.recovery.max_rollbacks to value 3
2022/07/24 19:27:12 Changing config key indexer.settings.log_level to value error
--- PASS: TestIndexerSettings (0.15s)
=== RUN   TestRestoreDefaultSettings
2022/07/24 19:27:12 In TestIndexerSettings_RestoreDefault()
2022/07/24 19:27:12 Changing config key indexer.settings.max_cpu_percent to value 0
2022/07/24 19:27:12 Changing config key indexer.settings.inmemory_snapshot.interval to value 200
2022/07/24 19:27:12 Changing config key indexer.settings.persisted_snapshot.interval to value 5000
2022/07/24 19:27:12 Changing config key indexer.settings.recovery.max_rollbacks to value 5
2022/07/24 19:27:12 Changing config key indexer.settings.log_level to value info
--- PASS: TestRestoreDefaultSettings (0.17s)
=== RUN   TestStat_ItemsCount
2022/07/24 19:27:12 In TestStat_ItemsCount()
2022/07/24 19:27:12 In DropAllSecondaryIndexes()
2022/07/24 19:27:12 Index found:  idx1_age_regular
2022/07/24 19:27:12 Dropped index idx1_age_regular
2022/07/24 19:27:12 Index found:  idx3_age_regular
2022/07/24 19:27:12 Dropped index idx3_age_regular
2022/07/24 19:27:12 Index found:  idx2_company_regular
2022/07/24 19:27:12 Dropped index idx2_company_regular
2022/07/24 19:27:12 Emptying the default bucket
2022-07-24T19:27:13.386+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1658671012771667486 1658671031386807297 map[]}, clientStatsPtr.Stats[bucket] 
2022-07-24T19:27:13.386+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1658671012771667486 1658671031386807297 map[]}, clientStatsPtr.Stats[bucket] 
2022/07/24 19:27:15 Flush Enabled on bucket default, responseBody: 
2022/07/24 19:27:53 Flushed the bucket default, Response body: 
2022/07/24 19:27:53 Generating JSON docs
2022/07/24 19:27:54 Setting initial JSON docs in KV
2022/07/24 19:27:58 Creating a 2i
2022/07/24 19:28:01 Created the secondary index index_test1. Waiting for it become active
2022/07/24 19:28:01 Index is 7300940684686992540 now active
2022/07/24 19:28:06 items_count stat is 10000
--- PASS: TestStat_ItemsCount (54.01s)
=== RUN   TestRangeArrayIndex_Distinct
2022/07/24 19:28:06 In TestRangeArrayIndex_Distinct()
2022/07/24 19:28:06 In DropAllSecondaryIndexes()
2022/07/24 19:28:06 Index found:  index_test1
2022/07/24 19:28:06 Dropped index index_test1
2022/07/24 19:28:44 Flushed the bucket default, Response body: 
2022/07/24 19:28:47 Created the secondary index arridx_friends. Waiting for it become active
2022/07/24 19:28:47 Index is 12484819390473784024 now active
2022-07-24T19:28:47.977+05:30 [Error] transport error between 127.0.0.1:46486->127.0.0.1:9107: write tcp 127.0.0.1:46486->127.0.0.1:9107: write: broken pipe
2022-07-24T19:28:47.977+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:46486->127.0.0.1:9107: write: broken pipe`
2022-07-24T19:28:47.977+05:30 [Warn] scan failed: requestId  queryport 127.0.0.1:9107 inst 12413515207046368280 partition [0]
2022-07-24T19:28:47.977+05:30 [Warn] Scan failed with error for index 12484819390473784024.  Trying scan again with replica, reqId: :  write tcp 127.0.0.1:46486->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022-07-24T19:28:47.977+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T19:28:47.978+05:30 [Error] metadataClient:PickRandom: Replicas - [12413515207046368280], PrunedReplica - map[], FilteredReplica map[]
2022-07-24T19:28:47.978+05:30 [Warn] Fail to find indexers to satisfy query request.  Trying scan again for index 12484819390473784024, reqId: :  write tcp 127.0.0.1:46486->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022/07/24 19:28:48 Expected and Actual scan responses are the same
2022/07/24 19:28:50 Expected and Actual scan responses are the same
--- PASS: TestRangeArrayIndex_Distinct (44.73s)
=== RUN   TestUpdateArrayIndex_Distinct
2022/07/24 19:28:50 In TestUpdateArrayIndex_Distinct()
2022/07/24 19:28:50 In DropAllSecondaryIndexes()
2022/07/24 19:28:50 Index found:  arridx_friends
2022/07/24 19:28:51 Dropped index arridx_friends
2022/07/24 19:29:29 Flushed the bucket default, Response body: 
2022/07/24 19:29:32 Created the secondary index arridx_friends. Waiting for it become active
2022/07/24 19:29:32 Index is 10529832324011508678 now active
2022/07/24 19:29:33 Expected and Actual scan responses are the same
2022/07/24 19:29:35 Expected and Actual scan responses are the same
2022/07/24 19:29:36 Expected and Actual scan responses are the same
--- PASS: TestUpdateArrayIndex_Distinct (45.22s)
=== RUN   TestRangeArrayIndex_Duplicate
2022/07/24 19:29:36 In TestRangeArrayIndex_Duplicate()
2022/07/24 19:29:36 In DropAllSecondaryIndexes()
2022/07/24 19:29:36 Index found:  arridx_friends
2022/07/24 19:29:36 Dropped index arridx_friends
2022/07/24 19:30:13 Flushed the bucket default, Response body: 
2022/07/24 19:30:17 Created the secondary index arridx_friends. Waiting for it become active
2022/07/24 19:30:17 Index is 10143689489189786693 now active
2022/07/24 19:30:17 Expected and Actual scan responses are the same
2022/07/24 19:30:20 Expected and Actual scan responses are the same
--- PASS: TestRangeArrayIndex_Duplicate (44.15s)
=== RUN   TestUpdateArrayIndex_Duplicate
2022/07/24 19:30:20 In TestUpdateArrayIndex_Duplicate()
2022/07/24 19:30:20 In DropAllSecondaryIndexes()
2022/07/24 19:30:20 Index found:  arridx_friends
2022/07/24 19:30:20 Dropped index arridx_friends
2022/07/24 19:30:58 Flushed the bucket default, Response body: 
2022/07/24 19:31:01 Created the secondary index arridx_friends. Waiting for it become active
2022/07/24 19:31:01 Index is 13727265825454737282 now active
2022/07/24 19:31:02 Expected and Actual scan responses are the same
2022/07/24 19:31:04 Expected and Actual scan responses are the same
2022/07/24 19:31:05 Expected and Actual scan responses are the same
--- PASS: TestUpdateArrayIndex_Duplicate (44.85s)
=== RUN   TestArrayIndexCornerCases
2022/07/24 19:31:05 In TestArrayIndexCornerCases()
2022/07/24 19:31:09 Created the secondary index arr_single. Waiting for it become active
2022/07/24 19:31:09 Index is 15833018378580006819 now active
2022/07/24 19:31:13 Created the secondary index arr_leading. Waiting for it become active
2022/07/24 19:31:13 Index is 7533737291677636533 now active
2022/07/24 19:31:16 Created the secondary index arr_nonleading. Waiting for it become active
2022/07/24 19:31:16 Index is 7488246358660996057 now active
2022/07/24 19:31:16 

--------ScanAll for EMPTY array--------
2022/07/24 19:31:17 Count of scanResults is 0
2022/07/24 19:31:17 Count of scanResults is 0
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values ["AnO,Y" Missing field or index.] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 

--------ScanAll for MISSING array--------
2022/07/24 19:31:17 Count of scanResults is 0
2022/07/24 19:31:17 Count of scanResults is 0
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values ["TAvck0" Missing field or index.] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 

--------ScanAll for NULL array--------
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values [null] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values [null "5Dycf"] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values ["5Dycf" null] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 

--------ScanAll for SCALARVALUE array--------
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values ["IamScalar"] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values ["IamScalar" "Lot1#"] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values ["Lot1#" "IamScalar"] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 

--------ScanAll for SCALAROBJECT array--------
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values [{"1":"abc","2":"def"}] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values [{"1":"abc","2":"def"} "ybW3M,"] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
2022/07/24 19:31:17 Count of scanResults is 1
2022/07/24 19:31:17 Key: string 4456339086822127777  Value: value.Values ["ybW3M," {"1":"abc","2":"def"}] false
2022/07/24 19:31:17 Expected and Actual scan responses are the same
--- PASS: TestArrayIndexCornerCases (12.20s)
=== RUN   TestArraySizeIncreaseDecrease1
2022/07/24 19:31:17 In TestArraySizeIncreaseDecrease1()
2022/07/24 19:31:17 In DropAllSecondaryIndexes()
2022/07/24 19:31:17 Index found:  arr_leading
2022/07/24 19:31:17 Dropped index arr_leading
2022/07/24 19:31:17 Index found:  arridx_friends
2022/07/24 19:31:17 Dropped index arridx_friends
2022/07/24 19:31:17 Index found:  arr_single
2022/07/24 19:31:17 Dropped index arr_single
2022/07/24 19:31:17 Index found:  arr_nonleading
2022/07/24 19:31:17 Dropped index arr_nonleading
2022/07/24 19:31:55 Flushed the bucket default, Response body: 
2022/07/24 19:31:55 Changing config key indexer.settings.allow_large_keys to value false
2022/07/24 19:31:56 Changing config key indexer.settings.max_seckey_size to value 100
2022/07/24 19:31:56 Changing config key indexer.settings.max_array_seckey_size to value 2000
2022/07/24 19:31:57 Start of createArrayDocs()
2022/07/24 19:32:14 End of createArrayDocs()
2022/07/24 19:32:14 Start of createArrayDocs()
2022/07/24 19:32:14 End of createArrayDocs()
2022/07/24 19:32:18 Created the secondary index arr1. Waiting for it become active
2022/07/24 19:32:18 Index is 11267150822806285277 now active
2022/07/24 19:32:22 Created the secondary index arr2. Waiting for it become active
2022/07/24 19:32:22 Index is 5137423920428014467 now active
2022/07/24 19:32:26 Created the secondary index idx3. Waiting for it become active
2022/07/24 19:32:26 Index is 4414710985960106803 now active
2022/07/24 19:32:26 Using n1ql client
2022/07/24 19:32:26 Length of scanResults = 10
2022/07/24 19:32:26 Changing config key indexer.settings.max_seckey_size to value 4096
2022/07/24 19:32:26 Changing config key indexer.settings.max_array_seckey_size to value 51200
2022/07/24 19:32:31 Expected and Actual scan responses are the same
2022/07/24 19:32:31 Using n1ql client
2022/07/24 19:32:31 Expected and Actual scan responses are the same
2022/07/24 19:32:31 Using n1ql client
2022/07/24 19:32:31 Expected and Actual scan responses are the same
2022/07/24 19:32:31 Changing config key indexer.settings.max_seckey_size to value 100
2022/07/24 19:32:31 Changing config key indexer.settings.max_array_seckey_size to value 2200
2022/07/24 19:32:35 Using n1ql client
2022/07/24 19:32:35 Length of scanResults = 10
2022/07/24 19:32:35 Changing config key indexer.settings.max_seckey_size to value 4608
2022/07/24 19:32:35 Changing config key indexer.settings.max_array_seckey_size to value 10240
--- PASS: TestArraySizeIncreaseDecrease1 (79.13s)
=== RUN   TestArraySizeIncreaseDecrease2
2022/07/24 19:32:36 In TestArraySizeIncreaseDecrease2()
2022/07/24 19:32:36 In DropAllSecondaryIndexes()
2022/07/24 19:32:36 Index found:  arr1
2022/07/24 19:32:36 Dropped index arr1
2022/07/24 19:32:36 Index found:  idx3
2022/07/24 19:32:36 Dropped index idx3
2022/07/24 19:32:36 Index found:  arr2
2022/07/24 19:32:36 Dropped index arr2
2022/07/24 19:33:14 Flushed the bucket default, Response body: 
2022/07/24 19:33:14 Changing config key indexer.settings.allow_large_keys to value true
2022/07/24 19:33:15 Changing config key indexer.settings.max_seckey_size to value 100
2022/07/24 19:33:15 Changing config key indexer.settings.max_array_seckey_size to value 2000
2022/07/24 19:33:16 Start of createArrayDocs()
2022/07/24 19:33:33 End of createArrayDocs()
2022/07/24 19:33:33 Start of createArrayDocs()
2022/07/24 19:33:33 End of createArrayDocs()
2022/07/24 19:33:40 Created the secondary index arr1. Waiting for it become active
2022/07/24 19:33:40 Index is 15033926021300986857 now active
2022/07/24 19:33:45 Created the secondary index arr2. Waiting for it become active
2022/07/24 19:33:45 Index is 17198565253866428416 now active
2022/07/24 19:33:49 Created the secondary index idx3. Waiting for it become active
2022/07/24 19:33:49 Index is 12266413839392404254 now active
2022/07/24 19:33:50 Expected and Actual scan responses are the same
2022/07/24 19:33:50 Using n1ql client
2022/07/24 19:33:50 Expected and Actual scan responses are the same
2022/07/24 19:33:50 Using n1ql client
2022/07/24 19:33:50 Expected and Actual scan responses are the same
2022/07/24 19:33:50 Changing config key indexer.settings.max_seckey_size to value 4096
2022/07/24 19:33:50 Changing config key indexer.settings.max_array_seckey_size to value 51200
2022/07/24 19:33:54 Expected and Actual scan responses are the same
2022/07/24 19:33:54 Using n1ql client
2022/07/24 19:33:54 Expected and Actual scan responses are the same
2022/07/24 19:33:54 Using n1ql client
2022/07/24 19:33:54 Expected and Actual scan responses are the same
2022/07/24 19:33:54 Changing config key indexer.settings.max_seckey_size to value 100
2022/07/24 19:33:54 Changing config key indexer.settings.max_array_seckey_size to value 2200
2022/07/24 19:33:58 Expected and Actual scan responses are the same
2022/07/24 19:33:58 Using n1ql client
2022/07/24 19:33:58 Expected and Actual scan responses are the same
2022/07/24 19:33:58 Using n1ql client
2022/07/24 19:33:58 Expected and Actual scan responses are the same
2022/07/24 19:33:58 Changing config key indexer.settings.max_seckey_size to value 4608
2022/07/24 19:33:58 Changing config key indexer.settings.max_array_seckey_size to value 10240
--- PASS: TestArraySizeIncreaseDecrease2 (83.29s)
=== RUN   TestBufferedScan_BackfillDisabled
2022/07/24 19:33:59 In TestBufferedScan_BackfillDisabled()
2022/07/24 19:33:59 In DropAllSecondaryIndexes()
2022/07/24 19:33:59 Index found:  arr2
2022/07/24 19:33:59 Dropped index arr2
2022/07/24 19:33:59 Index found:  arr1
2022/07/24 19:33:59 Dropped index arr1
2022/07/24 19:33:59 Index found:  idx3
2022/07/24 19:33:59 Dropped index idx3
2022/07/24 19:34:37 Flushed the bucket default, Response body: 
2022/07/24 19:35:11 Changing config key queryport.client.settings.backfillLimit to value 0
2022/07/24 19:35:17 Created the secondary index addressidx. Waiting for it become active
2022/07/24 19:35:17 Index is 12821567630205075893 now active
2022-07-24T19:35:17.236+05:30 [Info] [Queryport-connpool:127.0.0.1:9107] active conns 0, free conns 1
2022-07-24T19:35:17.242+05:30 [Info] metadata provider version changed 1480 -> 1481
2022-07-24T19:35:17.242+05:30 [Info] switched currmeta from 1480 -> 1481 force false 
2022-07-24T19:35:17.242+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T19:35:17.243+05:30 [Info] GSIC[default/default-_default-_default-1658671517231468289] started ...
2022-07-24T19:35:17.243+05:30 [Warn] MonitorIndexer: Indexer for default:_default:_default is already being monitored
2022/07/24 19:35:17 Non-backfill file found: /tmp/.ICE-unix
2022/07/24 19:35:17 Non-backfill file found: /tmp/.Test-unix
2022/07/24 19:35:17 Non-backfill file found: /tmp/.X11-unix
2022/07/24 19:35:17 Non-backfill file found: /tmp/.XIM-unix
2022/07/24 19:35:17 Non-backfill file found: /tmp/.font-unix
2022/07/24 19:35:17 Non-backfill file found: /tmp/fail.log
2022/07/24 19:35:17 Non-backfill file found: /tmp/go-build719841874
2022/07/24 19:35:17 Non-backfill file found: /tmp/mdbslice
2022/07/24 19:35:17 Non-backfill file found: /tmp/systemd-private-5c6a5a446ba544e296d2c95240821c26-apache2.service-b3bDhe
2022/07/24 19:35:17 Non-backfill file found: /tmp/systemd-private-5c6a5a446ba544e296d2c95240821c26-systemd-timesyncd.service-x9KuTM
2022/07/24 19:35:17 limit=1,chsize=256; received 1 items; took 2.38381ms
2022-07-24T19:35:17.258+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T19:35:17.258+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T19:35:17.262+05:30 [Info] switched currmeta from 1481 -> 1481 force true 
2022-07-24T19:35:17.264+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T19:35:17.264+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T19:35:17.266+05:30 [Info] switched currmeta from 1485 -> 1485 force true 
2022-07-24T19:35:17.692+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2022-07-24T19:35:17.697+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T19:35:17.697+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T19:35:17.699+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-07-24T19:35:17.699+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-07-24T19:35:17.699+05:30 [Info] switched currmeta from 1481 -> 1481 force true 
2022-07-24T19:35:17.701+05:30 [Info] switched currmeta from 1485 -> 1485 force true 
2022-07-24T19:35:17.896+05:30 [Info] [Queryport-connpool:127.0.0.1:9107] active conns 0, free conns 1
2022/07/24 19:35:19 limit=1000,chsize=256; received 1000 items; took 1.276650924s
2022-07-24T19:35:20.528+05:30 [Info] gsiKeyspace::Close Closing default:_default:_default
--- PASS: TestBufferedScan_BackfillDisabled (80.76s)
=== RUN   TestBufferedScan_BackfillEnabled
2022/07/24 19:35:20 In TestBufferedScan_BackfillEnabled()
2022-07-24T19:35:20.528+05:30 [Info] MetadataProvider.CheckIndexerStatus(): adminport=127.0.0.1:9106 connected=true
2022/07/24 19:35:20 Changing config key queryport.client.settings.backfillLimit to value 1
2022-07-24T19:35:20.539+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T19:35:20.539+05:30 [Info] GSIC[default/default-_default-_default-1658671520536983339] started ...
2022-07-24T19:35:20.544+05:30 [Info] New settings received: 
{"indexer.api.enableTestServer":true,"indexer.plasma.backIndex.enableInMemoryCompression":true,"indexer.plasma.backIndex.enablePageBloomFilter":false,"indexer.plasma.mainIndex.enableInMemoryCompression":true,"indexer.settings.allow_large_keys":true,"indexer.settings.bufferPoolBlockSize":16384,"indexer.settings.build.batch_size":5,"indexer.settings.compaction.abort_exceed_interval":false,"indexer.settings.compaction.check_period":30,"indexer.settings.compaction.compaction_mode":"circular","indexer.settings.compaction.days_of_week":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday","indexer.settings.compaction.interval":"00:00,00:00","indexer.settings.compaction.min_frag":30,"indexer.settings.compaction.min_size":524288000,"indexer.settings.compaction.plasma.manual":false,"indexer.settings.compaction.plasma.optional.decrement":5,"indexer.settings.compaction.plasma.optional.min_frag":20,"indexer.settings.compaction.plasma.optional.quota":25,"indexer.settings.corrupt_index_num_backups":1,"indexer.settings.cpuProfDir":"","indexer.settings.cpuProfile":false,"indexer.settings.eTagPeriod":240,"indexer.settings.enable_corrupt_index_backup":false,"indexer.settings.enable_page_bloom_filter":false,"indexer.settings.fast_flush_mode":true,"indexer.settings.gc_percent":100,"indexer.settings.inmemory_snapshot.fdb.interval":200,"indexer.settings.inmemory_snapshot.interval":200,"indexer.settings.inmemory_snapshot.moi.interval":10,"indexer.settings.largeSnapshotThreshold":200,"indexer.settings.log_level":"info","indexer.settings.maxVbQueueLength":0,"indexer.settings.max_array_seckey_size":10240,"indexer.settings.max_cpu_percent":0,"indexer.settings.max_seckey_size":4608,"indexer.settings.max_writer_lock_prob":20,"indexer.settings.memProfDir":"","indexer.settings.memProfile":false,"indexer.settings.memory_quota":1572864000,"indexer.settings.minVbQueueLength":250,"indexer.settings.moi.debug":false,"indexer.settings.moi.persistence_threads":2,"indexer.settings.moi.recovery.max_rollbacks":2,"indexer.settings.moi.recovery_threads":4,"indexer.settings.num_replica":0,"indexer.settings.persisted_snapshot.fdb.interval":5000,"indexer.settings.persisted_snapshot.interval":5000,"indexer.settings.persisted_snapshot.moi.interval":60000,"indexer.settings.persisted_snapshot_init_build.fdb.interval":5000,"indexer.settings.persisted_snapshot_init_build.interval":5000,"indexer.settings.persisted_snapshot_init_build.moi.interval":60000,"indexer.settings.plasma.recovery.max_rollbacks":2,"indexer.settings.rebalance.redistribute_indexes":false,"indexer.settings.recovery.max_rollbacks":5,"indexer.settings.scan_getseqnos_retries":30,"indexer.settings.scan_timeout":0,"indexer.settings.send_buffer_size":1024,"indexer.settings.sliceBufSize":800,"indexer.settings.smallSnapshotThreshold":30,"indexer.settings.snapshotListeners":2,"indexer.settings.snapshotRequestWorkers":2,"indexer.settings.statsLogDumpInterval":60,"indexer.settings.storage_mode":"memory_optimized","indexer.settings.storage_mode.disable_upgrade":true,"indexer.settings.thresholds.mem_high":80,"indexer.settings.thresholds.mem_low":60,"indexer.settings.wal_size":4096,"projector.settings.log_level":"info","queryport.client.log_level":"warn","queryport.client.settings.backfillLimit":1,"queryport.client.settings.minPoolSizeWM":1000,"queryport.client.settings.poolOverflow":30,"queryport.client.settings.poolSize":5000,"queryport.client.settings.relConnBatchSize":100}
2022/07/24 19:35:20 limit=1,chsize=256; received 1 items; took 15.432308ms
2022/07/24 19:35:21 limit=1000,chsize=256; received 1000 items; took 8.800743ms
2022/07/24 19:35:33 limit=1000,chsize=256; received 1000 items; took 10.348598534s
Scan error: bufferedscan temp file size exceeded limit 1, 13 - cause: bufferedscan temp file size exceeded limit 1, 13
Scan error:  bufferedscan temp file size exceeded limit 1, 13 - cause:  bufferedscan temp file size exceeded limit 1, 13
Scan error: bufferedscan temp file size exceeded limit 1, 13 - cause: bufferedscan temp file size exceeded limit 1, 13
Scan error:  bufferedscan temp file size exceeded limit 1, 13 - cause:  bufferedscan temp file size exceeded limit 1, 13
2022/07/24 19:35:50 limit=1000,chsize=256; received 763 items; took 15.755770184s
2022/07/24 19:35:50 limit=1000,chsize=256; received 763 items; took 15.755755257s
2022/07/24 19:35:51 Changing config key queryport.client.settings.backfillLimit to value 0
--- PASS: TestBufferedScan_BackfillEnabled (31.16s)
=== RUN   TestMultiScanSetup
2022/07/24 19:35:51 In TestMultiScanSetup()
2022/07/24 19:35:53 Emptying the default bucket
2022/07/24 19:35:56 Flush Enabled on bucket default, responseBody: 
2022/07/24 19:36:33 Flushed the bucket default, Response body: 
2022/07/24 19:36:33 Populating the default bucket
2022/07/24 19:36:45 Created the secondary index index_companyname. Waiting for it become active
2022/07/24 19:36:45 Index is 18108377346414877477 now active
2022/07/24 19:36:49 Created the secondary index index_company. Waiting for it become active
2022/07/24 19:36:49 Index is 15466796693691374571 now active
2022/07/24 19:36:54 Created the secondary index index_company_name_age. Waiting for it become active
2022/07/24 19:36:54 Index is 6627228537800695052 now active
2022/07/24 19:36:59 Created the secondary index index_primary. Waiting for it become active
2022/07/24 19:36:59 Index is 14414660443194460005 now active
2022/07/24 19:37:04 Created the secondary index index_company_name_age_address. Waiting for it become active
2022/07/24 19:37:04 Index is 4187525420273728103 now active
2022/07/24 19:37:08 Created the secondary index index_company_name_age_address_friends. Waiting for it become active
2022/07/24 19:37:08 Index is 2364058513743697151 now active
--- PASS: TestMultiScanSetup (77.00s)
=== RUN   TestMultiScanCount
2022/07/24 19:37:08 In TestMultiScanCount()
2022/07/24 19:37:08 

--------- Composite Index with 2 fields ---------
2022/07/24 19:37:08 
--- ScanAllNoFilter ---
2022/07/24 19:37:08 distinct = false
2022/07/24 19:37:09 Using n1ql client
2022/07/24 19:37:09 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:37:09 
--- ScanAllFilterNil ---
2022/07/24 19:37:09 distinct = false
2022/07/24 19:37:09 Using n1ql client
2022/07/24 19:37:09 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:37:09 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:37:09 distinct = false
2022/07/24 19:37:09 Using n1ql client
2022/07/24 19:37:09 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:37:09 
--- SingleSeek ---
2022/07/24 19:37:09 distinct = false
2022/07/24 19:37:10 Using n1ql client
2022/07/24 19:37:10 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:37:10 
--- MultipleSeek ---
2022/07/24 19:37:10 distinct = false
2022/07/24 19:37:10 Using n1ql client
2022/07/24 19:37:10 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/07/24 19:37:10 
--- SimpleRange ---
2022/07/24 19:37:10 distinct = false
2022/07/24 19:37:10 Using n1ql client
2022/07/24 19:37:10 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/07/24 19:37:10 
--- NonOverlappingRanges ---
2022/07/24 19:37:10 distinct = false
2022/07/24 19:37:11 Using n1ql client
2022/07/24 19:37:11 MultiScanCount = 4283 ExpectedMultiScanCount = 4283
2022/07/24 19:37:11 
--- OverlappingRanges ---
2022/07/24 19:37:11 distinct = false
2022/07/24 19:37:11 Using n1ql client
2022/07/24 19:37:11 MultiScanCount = 5756 ExpectedMultiScanCount = 5756
2022/07/24 19:37:11 
--- NonOverlappingFilters ---
2022/07/24 19:37:11 distinct = false
2022/07/24 19:37:12 Using n1ql client
2022/07/24 19:37:12 MultiScanCount = 337 ExpectedMultiScanCount = 337
2022/07/24 19:37:12 
--- OverlappingFilters ---
2022/07/24 19:37:12 distinct = false
2022/07/24 19:37:12 Using n1ql client
2022/07/24 19:37:12 MultiScanCount = 2559 ExpectedMultiScanCount = 2559
2022/07/24 19:37:12 
--- BoundaryFilters ---
2022/07/24 19:37:12 distinct = false
2022/07/24 19:37:12 Using n1ql client
2022/07/24 19:37:12 MultiScanCount = 499 ExpectedMultiScanCount = 499
2022/07/24 19:37:12 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:37:12 distinct = false
2022/07/24 19:37:13 Using n1ql client
2022/07/24 19:37:13 MultiScanCount = 256 ExpectedMultiScanCount = 256
2022/07/24 19:37:13 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:37:13 distinct = false
2022/07/24 19:37:13 Using n1ql client
2022/07/24 19:37:13 MultiScanCount = 255 ExpectedMultiScanCount = 255
2022/07/24 19:37:13 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:37:13 distinct = false
2022/07/24 19:37:14 Using n1ql client
2022/07/24 19:37:14 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/07/24 19:37:14 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:37:14 distinct = false
2022/07/24 19:37:14 Using n1ql client
2022/07/24 19:37:14 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/07/24 19:37:14 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:37:14 distinct = false
2022/07/24 19:37:14 Using n1ql client
2022/07/24 19:37:14 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:37:14 
--- FiltersWithUnbounded ---
2022/07/24 19:37:14 distinct = false
2022/07/24 19:37:15 Using n1ql client
2022/07/24 19:37:15 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/07/24 19:37:15 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:37:15 distinct = false
2022/07/24 19:37:15 Using n1ql client
2022/07/24 19:37:15 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/07/24 19:37:15 

--------- Simple Index with 1 field ---------
2022/07/24 19:37:15 
--- SingleIndexSimpleRange ---
2022/07/24 19:37:15 distinct = false
2022/07/24 19:37:15 Using n1ql client
2022/07/24 19:37:15 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/07/24 19:37:15 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:37:15 distinct = false
2022/07/24 19:37:16 Using n1ql client
2022/07/24 19:37:16 MultiScanCount = 7140 ExpectedMultiScanCount = 7140
2022/07/24 19:37:16 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:37:16 distinct = false
2022/07/24 19:37:16 Using n1ql client
2022/07/24 19:37:16 MultiScanCount = 8701 ExpectedMultiScanCount = 8701
2022/07/24 19:37:16 

--------- Composite Index with 3 fields ---------
2022/07/24 19:37:16 
--- ScanAllNoFilter ---
2022/07/24 19:37:16 distinct = false
2022/07/24 19:37:16 Using n1ql client
2022/07/24 19:37:16 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:37:16 
--- ScanAllFilterNil ---
2022/07/24 19:37:16 distinct = false
2022/07/24 19:37:17 Using n1ql client
2022/07/24 19:37:17 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:37:17 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:37:17 distinct = false
2022/07/24 19:37:17 Using n1ql client
2022/07/24 19:37:17 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:37:17 
--- 3FieldsSingleSeek ---
2022/07/24 19:37:17 distinct = false
2022/07/24 19:37:18 Using n1ql client
2022/07/24 19:37:18 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:37:18 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:37:18 distinct = false
2022/07/24 19:37:18 Using n1ql client
2022/07/24 19:37:18 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/07/24 19:37:18 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:37:18 distinct = false
2022/07/24 19:37:18 Using n1ql client
2022/07/24 19:37:18 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/07/24 19:37:18 

--------- New scenarios ---------
2022/07/24 19:37:18 
--- CompIndexHighUnbounded1 ---
2022/07/24 19:37:18 
--- Multi Scan 0 ---
2022/07/24 19:37:18 distinct = false
2022/07/24 19:37:19 Using n1ql client
2022/07/24 19:37:19 Using n1ql client
2022/07/24 19:37:19 len(scanResults) = 8 MultiScanCount = 8
2022/07/24 19:37:19 Expected and Actual scan responses are the same
2022/07/24 19:37:19 
--- Multi Scan 1 ---
2022/07/24 19:37:19 distinct = false
2022/07/24 19:37:19 Using n1ql client
2022/07/24 19:37:19 Using n1ql client
2022/07/24 19:37:19 len(scanResults) = 0 MultiScanCount = 0
2022/07/24 19:37:19 Expected and Actual scan responses are the same
2022/07/24 19:37:19 
--- Multi Scan 2 ---
2022/07/24 19:37:19 distinct = false
2022/07/24 19:37:19 Using n1ql client
2022/07/24 19:37:19 Using n1ql client
2022/07/24 19:37:19 len(scanResults) = 9 MultiScanCount = 9
2022/07/24 19:37:19 Expected and Actual scan responses are the same
2022/07/24 19:37:19 
--- CompIndexHighUnbounded2 ---
2022/07/24 19:37:19 
--- Multi Scan 0 ---
2022/07/24 19:37:19 distinct = false
2022/07/24 19:37:20 Using n1ql client
2022/07/24 19:37:20 Using n1ql client
2022/07/24 19:37:20 len(scanResults) = 4138 MultiScanCount = 4138
2022/07/24 19:37:20 Expected and Actual scan responses are the same
2022/07/24 19:37:20 
--- Multi Scan 1 ---
2022/07/24 19:37:20 distinct = false
2022/07/24 19:37:20 Using n1ql client
2022/07/24 19:37:20 Using n1ql client
2022/07/24 19:37:20 len(scanResults) = 2746 MultiScanCount = 2746
2022/07/24 19:37:20 Expected and Actual scan responses are the same
2022/07/24 19:37:20 
--- Multi Scan 2 ---
2022/07/24 19:37:20 distinct = false
2022/07/24 19:37:21 Using n1ql client
2022/07/24 19:37:21 Using n1ql client
2022/07/24 19:37:21 len(scanResults) = 4691 MultiScanCount = 4691
2022/07/24 19:37:21 Expected and Actual scan responses are the same
2022/07/24 19:37:21 
--- CompIndexHighUnbounded3 ---
2022/07/24 19:37:21 
--- Multi Scan 0 ---
2022/07/24 19:37:21 distinct = false
2022/07/24 19:37:21 Using n1ql client
2022/07/24 19:37:21 Using n1ql client
2022/07/24 19:37:21 len(scanResults) = 1329 MultiScanCount = 1329
2022/07/24 19:37:21 Expected and Actual scan responses are the same
2022/07/24 19:37:21 
--- CompIndexHighUnbounded4 ---
2022/07/24 19:37:21 
--- Multi Scan 0 ---
2022/07/24 19:37:21 distinct = false
2022/07/24 19:37:21 Using n1ql client
2022/07/24 19:37:21 Using n1ql client
2022/07/24 19:37:21 len(scanResults) = 5349 MultiScanCount = 5349
2022/07/24 19:37:21 Expected and Actual scan responses are the same
2022/07/24 19:37:21 
--- CompIndexHighUnbounded5 ---
2022/07/24 19:37:21 
--- Multi Scan 0 ---
2022/07/24 19:37:21 distinct = false
2022/07/24 19:37:22 Using n1ql client
2022/07/24 19:37:22 Using n1ql client
2022/07/24 19:37:22 len(scanResults) = 8210 MultiScanCount = 8210
2022/07/24 19:37:22 Expected and Actual scan responses are the same
2022/07/24 19:37:22 
--- SeekBoundaries ---
2022/07/24 19:37:22 
--- Multi Scan 0 ---
2022/07/24 19:37:22 distinct = false
2022/07/24 19:37:22 Using n1ql client
2022/07/24 19:37:22 Using n1ql client
2022/07/24 19:37:22 len(scanResults) = 175 MultiScanCount = 175
2022/07/24 19:37:22 Expected and Actual scan responses are the same
2022/07/24 19:37:22 
--- Multi Scan 1 ---
2022/07/24 19:37:22 distinct = false
2022/07/24 19:37:23 Using n1ql client
2022/07/24 19:37:23 Using n1ql client
2022/07/24 19:37:23 len(scanResults) = 1 MultiScanCount = 1
2022/07/24 19:37:23 Expected and Actual scan responses are the same
2022/07/24 19:37:23 
--- Multi Scan 2 ---
2022/07/24 19:37:23 distinct = false
2022/07/24 19:37:23 Using n1ql client
2022/07/24 19:37:23 Using n1ql client
2022/07/24 19:37:23 len(scanResults) = 555 MultiScanCount = 555
2022/07/24 19:37:23 Expected and Actual scan responses are the same
2022/07/24 19:37:23 
--- Multi Scan 3 ---
2022/07/24 19:37:23 distinct = false
2022/07/24 19:37:23 Using n1ql client
2022/07/24 19:37:23 Using n1ql client
2022/07/24 19:37:23 len(scanResults) = 872 MultiScanCount = 872
2022/07/24 19:37:23 Expected and Actual scan responses are the same
2022/07/24 19:37:23 
--- Multi Scan 4 ---
2022/07/24 19:37:23 distinct = false
2022/07/24 19:37:24 Using n1ql client
2022/07/24 19:37:24 Using n1ql client
2022/07/24 19:37:24 len(scanResults) = 287 MultiScanCount = 287
2022/07/24 19:37:24 Expected and Actual scan responses are the same
2022/07/24 19:37:24 
--- Multi Scan 5 ---
2022/07/24 19:37:24 distinct = false
2022/07/24 19:37:24 Using n1ql client
2022/07/24 19:37:24 Using n1ql client
2022/07/24 19:37:24 len(scanResults) = 5254 MultiScanCount = 5254
2022/07/24 19:37:24 Expected and Actual scan responses are the same
2022/07/24 19:37:24 
--- Multi Scan 6 ---
2022/07/24 19:37:24 distinct = false
2022/07/24 19:37:25 Using n1ql client
2022/07/24 19:37:25 Using n1ql client
2022/07/24 19:37:25 len(scanResults) = 5566 MultiScanCount = 5566
2022/07/24 19:37:25 Expected and Actual scan responses are the same
2022/07/24 19:37:25 
--- Multi Scan 7 ---
2022/07/24 19:37:25 distinct = false
2022/07/24 19:37:25 Using n1ql client
2022/07/24 19:37:25 Using n1ql client
2022/07/24 19:37:25 len(scanResults) = 8 MultiScanCount = 8
2022/07/24 19:37:25 Expected and Actual scan responses are the same
2022/07/24 19:37:25 

--------- With DISTINCT True ---------
2022/07/24 19:37:25 
--- ScanAllNoFilter ---
2022/07/24 19:37:25 distinct = true
2022/07/24 19:37:25 Using n1ql client
2022/07/24 19:37:25 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:37:25 
--- ScanAllFilterNil ---
2022/07/24 19:37:25 distinct = true
2022/07/24 19:37:26 Using n1ql client
2022/07/24 19:37:26 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:37:26 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:37:26 distinct = true
2022/07/24 19:37:26 Using n1ql client
2022/07/24 19:37:26 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:37:26 
--- SingleSeek ---
2022/07/24 19:37:26 distinct = true
2022/07/24 19:37:26 Using n1ql client
2022/07/24 19:37:26 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:37:26 
--- MultipleSeek ---
2022/07/24 19:37:26 distinct = true
2022/07/24 19:37:27 Using n1ql client
2022/07/24 19:37:27 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/07/24 19:37:27 
--- SimpleRange ---
2022/07/24 19:37:27 distinct = true
2022/07/24 19:37:27 Using n1ql client
2022/07/24 19:37:27 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/07/24 19:37:27 
--- NonOverlappingRanges ---
2022/07/24 19:37:27 distinct = true
2022/07/24 19:37:27 Using n1ql client
2022/07/24 19:37:27 MultiScanCount = 428 ExpectedMultiScanCount = 428
2022/07/24 19:37:27 
--- OverlappingRanges ---
2022/07/24 19:37:27 distinct = true
2022/07/24 19:37:28 Using n1ql client
2022/07/24 19:37:28 MultiScanCount = 575 ExpectedMultiScanCount = 575
2022/07/24 19:37:28 
--- NonOverlappingFilters ---
2022/07/24 19:37:28 distinct = true
2022/07/24 19:37:28 Using n1ql client
2022/07/24 19:37:28 MultiScanCount = 186 ExpectedMultiScanCount = 186
2022/07/24 19:37:28 
--- NonOverlappingFilters2 ---
2022/07/24 19:37:28 distinct = true
2022/07/24 19:37:29 Using n1ql client
2022/07/24 19:37:29 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:37:29 
--- OverlappingFilters ---
2022/07/24 19:37:29 distinct = true
2022/07/24 19:37:29 Using n1ql client
2022/07/24 19:37:29 MultiScanCount = 543 ExpectedMultiScanCount = 543
2022/07/24 19:37:29 
--- BoundaryFilters ---
2022/07/24 19:37:29 distinct = true
2022/07/24 19:37:29 Using n1ql client
2022/07/24 19:37:29 MultiScanCount = 172 ExpectedMultiScanCount = 172
2022/07/24 19:37:29 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:37:29 distinct = true
2022/07/24 19:37:30 Using n1ql client
2022/07/24 19:37:30 MultiScanCount = 135 ExpectedMultiScanCount = 135
2022/07/24 19:37:30 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:37:30 distinct = true
2022/07/24 19:37:30 Using n1ql client
2022/07/24 19:37:30 MultiScanCount = 134 ExpectedMultiScanCount = 134
2022/07/24 19:37:30 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:37:30 distinct = false
2022/07/24 19:37:30 Using n1ql client
2022/07/24 19:37:30 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/07/24 19:37:30 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:37:30 distinct = false
2022/07/24 19:37:31 Using n1ql client
2022/07/24 19:37:31 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/07/24 19:37:31 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:37:31 distinct = false
2022/07/24 19:37:31 Using n1ql client
2022/07/24 19:37:31 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:37:31 
--- FiltersWithUnbounded ---
2022/07/24 19:37:31 distinct = false
2022/07/24 19:37:31 Using n1ql client
2022/07/24 19:37:31 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/07/24 19:37:31 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:37:31 distinct = false
2022/07/24 19:37:32 Using n1ql client
2022/07/24 19:37:32 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/07/24 19:37:32 

--------- Simple Index with 1 field ---------
2022/07/24 19:37:32 
--- SingleIndexSimpleRange ---
2022/07/24 19:37:32 distinct = true
2022/07/24 19:37:32 Using n1ql client
2022/07/24 19:37:32 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/07/24 19:37:32 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:37:32 distinct = true
2022/07/24 19:37:32 Using n1ql client
2022/07/24 19:37:32 MultiScanCount = 713 ExpectedMultiScanCount = 713
2022/07/24 19:37:32 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:37:32 distinct = true
2022/07/24 19:37:33 Using n1ql client
2022/07/24 19:37:33 MultiScanCount = 869 ExpectedMultiScanCount = 869
2022/07/24 19:37:33 

--------- Composite Index with 3 fields ---------
2022/07/24 19:37:33 
--- ScanAllNoFilter ---
2022/07/24 19:37:33 distinct = true
2022/07/24 19:37:33 Using n1ql client
2022/07/24 19:37:33 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:37:33 
--- ScanAllFilterNil ---
2022/07/24 19:37:33 distinct = true
2022/07/24 19:37:34 Using n1ql client
2022/07/24 19:37:34 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:37:34 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:37:34 distinct = true
2022/07/24 19:37:34 Using n1ql client
2022/07/24 19:37:34 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:37:34 
--- 3FieldsSingleSeek ---
2022/07/24 19:37:34 distinct = true
2022/07/24 19:37:35 Using n1ql client
2022/07/24 19:37:35 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:37:35 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:37:35 distinct = true
2022/07/24 19:37:35 Using n1ql client
2022/07/24 19:37:35 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/07/24 19:37:35 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:37:35 distinct = true
2022/07/24 19:37:35 Using n1ql client
2022/07/24 19:37:35 MultiScanCount = 2 ExpectedMultiScanCount = 2
--- PASS: TestMultiScanCount (27.12s)
=== RUN   TestMultiScanScenarios
2022/07/24 19:37:35 In TestMultiScanScenarios()
2022/07/24 19:37:35 

--------- Composite Index with 2 fields ---------
2022/07/24 19:37:35 
--- ScanAllNoFilter ---
2022/07/24 19:37:35 distinct = false
2022/07/24 19:37:36 Using n1ql client
2022/07/24 19:37:36 Expected and Actual scan responses are the same
2022/07/24 19:37:36 
--- ScanAllFilterNil ---
2022/07/24 19:37:36 distinct = false
2022/07/24 19:37:36 Using n1ql client
2022/07/24 19:37:36 Expected and Actual scan responses are the same
2022/07/24 19:37:36 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:37:36 distinct = false
2022/07/24 19:37:36 Using n1ql client
2022/07/24 19:37:37 Expected and Actual scan responses are the same
2022/07/24 19:37:37 
--- SingleSeek ---
2022/07/24 19:37:37 distinct = false
2022/07/24 19:37:37 Using n1ql client
2022/07/24 19:37:37 Expected and Actual scan responses are the same
2022/07/24 19:37:37 
--- MultipleSeek ---
2022/07/24 19:37:37 distinct = false
2022/07/24 19:37:37 Using n1ql client
2022/07/24 19:37:37 Expected and Actual scan responses are the same
2022/07/24 19:37:37 
--- SimpleRange ---
2022/07/24 19:37:37 distinct = false
2022/07/24 19:37:38 Using n1ql client
2022/07/24 19:37:38 Expected and Actual scan responses are the same
2022/07/24 19:37:38 
--- NonOverlappingRanges ---
2022/07/24 19:37:38 distinct = false
2022/07/24 19:37:38 Using n1ql client
2022/07/24 19:37:38 Expected and Actual scan responses are the same
2022/07/24 19:37:38 
--- OverlappingRanges ---
2022/07/24 19:37:38 distinct = false
2022/07/24 19:37:38 Using n1ql client
2022/07/24 19:37:38 Expected and Actual scan responses are the same
2022/07/24 19:37:38 
--- NonOverlappingFilters ---
2022/07/24 19:37:38 distinct = false
2022/07/24 19:37:39 Using n1ql client
2022/07/24 19:37:39 Expected and Actual scan responses are the same
2022/07/24 19:37:39 
--- OverlappingFilters ---
2022/07/24 19:37:39 distinct = false
2022/07/24 19:37:39 Using n1ql client
2022/07/24 19:37:39 Expected and Actual scan responses are the same
2022/07/24 19:37:39 
--- BoundaryFilters ---
2022/07/24 19:37:39 distinct = false
2022/07/24 19:37:40 Using n1ql client
2022/07/24 19:37:40 Expected and Actual scan responses are the same
2022/07/24 19:37:40 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:37:40 distinct = false
2022/07/24 19:37:40 Using n1ql client
2022/07/24 19:37:40 Expected and Actual scan responses are the same
2022/07/24 19:37:40 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:37:40 distinct = false
2022/07/24 19:37:40 Using n1ql client
2022/07/24 19:37:40 Expected and Actual scan responses are the same
2022/07/24 19:37:40 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:37:40 distinct = false
2022/07/24 19:37:41 Using n1ql client
2022/07/24 19:37:41 Expected and Actual scan responses are the same
2022/07/24 19:37:41 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:37:41 distinct = false
2022/07/24 19:37:41 Using n1ql client
2022/07/24 19:37:41 Expected and Actual scan responses are the same
2022/07/24 19:37:41 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:37:41 distinct = false
2022/07/24 19:37:41 Using n1ql client
2022/07/24 19:37:41 Expected and Actual scan responses are the same
2022/07/24 19:37:41 
--- FiltersWithUnbounded ---
2022/07/24 19:37:41 distinct = false
2022/07/24 19:37:42 Using n1ql client
2022/07/24 19:37:42 Expected and Actual scan responses are the same
2022/07/24 19:37:42 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:37:42 distinct = false
2022/07/24 19:37:42 Using n1ql client
2022/07/24 19:37:42 Expected and Actual scan responses are the same
2022/07/24 19:37:42 

--------- Simple Index with 1 field ---------
2022/07/24 19:37:42 
--- SingleIndexSimpleRange ---
2022/07/24 19:37:42 distinct = false
2022/07/24 19:37:42 Using n1ql client
2022/07/24 19:37:43 Expected and Actual scan responses are the same
2022/07/24 19:37:43 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:37:43 distinct = false
2022/07/24 19:37:43 Using n1ql client
2022/07/24 19:37:43 Expected and Actual scan responses are the same
2022/07/24 19:37:43 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:37:43 distinct = false
2022/07/24 19:37:43 Using n1ql client
2022/07/24 19:37:43 Expected and Actual scan responses are the same
2022/07/24 19:37:43 

--------- Composite Index with 3 fields ---------
2022/07/24 19:37:43 
--- ScanAllNoFilter ---
2022/07/24 19:37:43 distinct = false
2022/07/24 19:37:44 Using n1ql client
2022/07/24 19:37:44 Expected and Actual scan responses are the same
2022/07/24 19:37:44 
--- ScanAllFilterNil ---
2022/07/24 19:37:44 distinct = false
2022/07/24 19:37:44 Using n1ql client
2022/07/24 19:37:44 Expected and Actual scan responses are the same
2022/07/24 19:37:44 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:37:44 distinct = false
2022/07/24 19:37:45 Using n1ql client
2022/07/24 19:37:45 Expected and Actual scan responses are the same
2022/07/24 19:37:45 
--- 3FieldsSingleSeek ---
2022/07/24 19:37:45 distinct = false
2022/07/24 19:37:45 Using n1ql client
2022/07/24 19:37:45 Expected and Actual scan responses are the same
2022/07/24 19:37:45 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:37:45 distinct = false
2022/07/24 19:37:45 Using n1ql client
2022/07/24 19:37:45 Expected and Actual scan responses are the same
2022/07/24 19:37:45 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:37:45 distinct = false
2022/07/24 19:37:46 Using n1ql client
2022/07/24 19:37:46 Expected and Actual scan responses are the same
2022/07/24 19:37:46 

--------- New scenarios ---------
2022/07/24 19:37:46 
--- CompIndexHighUnbounded1 ---
2022/07/24 19:37:46 
--- Multi Scan 0 ---
2022/07/24 19:37:46 distinct = false
2022/07/24 19:37:46 Using n1ql client
2022/07/24 19:37:46 Expected and Actual scan responses are the same
2022/07/24 19:37:46 
--- Multi Scan 1 ---
2022/07/24 19:37:46 distinct = false
2022/07/24 19:37:47 Using n1ql client
2022/07/24 19:37:47 Expected and Actual scan responses are the same
2022/07/24 19:37:47 
--- Multi Scan 2 ---
2022/07/24 19:37:47 distinct = false
2022/07/24 19:37:47 Using n1ql client
2022/07/24 19:37:47 Expected and Actual scan responses are the same
2022/07/24 19:37:47 
--- CompIndexHighUnbounded2 ---
2022/07/24 19:37:47 
--- Multi Scan 0 ---
2022/07/24 19:37:47 distinct = false
2022/07/24 19:37:47 Using n1ql client
2022/07/24 19:37:47 Expected and Actual scan responses are the same
2022/07/24 19:37:47 
--- Multi Scan 1 ---
2022/07/24 19:37:47 distinct = false
2022/07/24 19:37:48 Using n1ql client
2022/07/24 19:37:48 Expected and Actual scan responses are the same
2022/07/24 19:37:48 
--- Multi Scan 2 ---
2022/07/24 19:37:48 distinct = false
2022/07/24 19:37:48 Using n1ql client
2022/07/24 19:37:48 Expected and Actual scan responses are the same
2022/07/24 19:37:48 
--- CompIndexHighUnbounded3 ---
2022/07/24 19:37:48 
--- Multi Scan 0 ---
2022/07/24 19:37:48 distinct = false
2022/07/24 19:37:49 Using n1ql client
2022/07/24 19:37:49 Expected and Actual scan responses are the same
2022/07/24 19:37:49 
--- CompIndexHighUnbounded4 ---
2022/07/24 19:37:49 
--- Multi Scan 0 ---
2022/07/24 19:37:49 distinct = false
2022/07/24 19:37:49 Using n1ql client
2022/07/24 19:37:49 Expected and Actual scan responses are the same
2022/07/24 19:37:49 
--- CompIndexHighUnbounded5 ---
2022/07/24 19:37:49 
--- Multi Scan 0 ---
2022/07/24 19:37:49 distinct = false
2022/07/24 19:37:49 Using n1ql client
2022/07/24 19:37:49 Expected and Actual scan responses are the same
2022/07/24 19:37:49 
--- SeekBoundaries ---
2022/07/24 19:37:49 
--- Multi Scan 0 ---
2022/07/24 19:37:49 distinct = false
2022/07/24 19:37:50 Using n1ql client
2022/07/24 19:37:50 Expected and Actual scan responses are the same
2022/07/24 19:37:50 
--- Multi Scan 1 ---
2022/07/24 19:37:50 distinct = false
2022/07/24 19:37:50 Using n1ql client
2022/07/24 19:37:50 Expected and Actual scan responses are the same
2022/07/24 19:37:50 
--- Multi Scan 2 ---
2022/07/24 19:37:50 distinct = false
2022/07/24 19:37:50 Using n1ql client
2022/07/24 19:37:50 Expected and Actual scan responses are the same
2022/07/24 19:37:50 
--- Multi Scan 3 ---
2022/07/24 19:37:50 distinct = false
2022/07/24 19:37:51 Using n1ql client
2022/07/24 19:37:51 Expected and Actual scan responses are the same
2022/07/24 19:37:51 
--- Multi Scan 4 ---
2022/07/24 19:37:51 distinct = false
2022/07/24 19:37:51 Using n1ql client
2022/07/24 19:37:51 Expected and Actual scan responses are the same
2022/07/24 19:37:51 
--- Multi Scan 5 ---
2022/07/24 19:37:51 distinct = false
2022/07/24 19:37:52 Using n1ql client
2022/07/24 19:37:52 Expected and Actual scan responses are the same
2022/07/24 19:37:52 
--- Multi Scan 6 ---
2022/07/24 19:37:52 distinct = false
2022/07/24 19:37:52 Using n1ql client
2022/07/24 19:37:52 Expected and Actual scan responses are the same
2022/07/24 19:37:52 
--- Multi Scan 7 ---
2022/07/24 19:37:52 distinct = false
2022/07/24 19:37:52 Using n1ql client
2022/07/24 19:37:52 Expected and Actual scan responses are the same
2022/07/24 19:37:52 
--- PrefixSortVariations ---
2022/07/24 19:37:52 
--- Multi Scan 0 ---
2022/07/24 19:37:52 distinct = false
2022/07/24 19:37:53 Using n1ql client
2022/07/24 19:37:53 Expected and Actual scan responses are the same
2022/07/24 19:37:53 
--- Multi Scan 1 ---
2022/07/24 19:37:53 distinct = false
2022/07/24 19:37:53 Using n1ql client
2022/07/24 19:37:53 Expected and Actual scan responses are the same
--- PASS: TestMultiScanScenarios (17.91s)
=== RUN   TestMultiScanOffset
2022/07/24 19:37:53 In TestMultiScanOffset()
2022/07/24 19:37:53 

--------- Composite Index with 2 fields ---------
2022/07/24 19:37:53 
--- ScanAllNoFilter ---
2022/07/24 19:37:53 distinct = false
2022/07/24 19:37:54 Using n1ql client
2022/07/24 19:37:54 
--- ScanAllFilterNil ---
2022/07/24 19:37:54 distinct = false
2022/07/24 19:37:54 Using n1ql client
2022/07/24 19:37:54 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:37:54 distinct = false
2022/07/24 19:37:55 Using n1ql client
2022/07/24 19:37:55 
--- SingleSeek ---
2022/07/24 19:37:55 distinct = false
2022/07/24 19:37:55 Using n1ql client
2022/07/24 19:37:55 
--- MultipleSeek ---
2022/07/24 19:37:55 distinct = false
2022/07/24 19:37:56 Using n1ql client
2022/07/24 19:37:56 
--- SimpleRange ---
2022/07/24 19:37:56 distinct = false
2022/07/24 19:37:56 Using n1ql client
2022/07/24 19:37:56 
--- NonOverlappingRanges ---
2022/07/24 19:37:56 distinct = false
2022/07/24 19:37:56 Using n1ql client
2022/07/24 19:37:56 
--- OverlappingRanges ---
2022/07/24 19:37:56 distinct = false
2022/07/24 19:37:57 Using n1ql client
2022/07/24 19:37:57 
--- NonOverlappingFilters ---
2022/07/24 19:37:57 distinct = false
2022/07/24 19:37:57 Using n1ql client
2022/07/24 19:37:57 
--- OverlappingFilters ---
2022/07/24 19:37:57 distinct = false
2022/07/24 19:37:58 Using n1ql client
2022/07/24 19:37:58 
--- BoundaryFilters ---
2022/07/24 19:37:58 distinct = false
2022/07/24 19:37:58 Using n1ql client
2022/07/24 19:37:58 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:37:58 distinct = false
2022/07/24 19:37:58 Using n1ql client
2022/07/24 19:37:58 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:37:58 distinct = false
2022/07/24 19:37:59 Using n1ql client
2022/07/24 19:37:59 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:37:59 distinct = false
2022/07/24 19:37:59 Using n1ql client
2022/07/24 19:37:59 Expected and Actual scan responses are the same
2022/07/24 19:37:59 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:37:59 distinct = false
2022/07/24 19:37:59 Using n1ql client
2022/07/24 19:37:59 Expected and Actual scan responses are the same
2022/07/24 19:37:59 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:37:59 distinct = false
2022/07/24 19:38:00 Using n1ql client
2022/07/24 19:38:00 Expected and Actual scan responses are the same
2022/07/24 19:38:00 
--- FiltersWithUnbounded ---
2022/07/24 19:38:00 distinct = false
2022/07/24 19:38:00 Using n1ql client
2022/07/24 19:38:00 Expected and Actual scan responses are the same
2022/07/24 19:38:00 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:38:00 distinct = false
2022/07/24 19:38:01 Using n1ql client
2022/07/24 19:38:01 Expected and Actual scan responses are the same
2022/07/24 19:38:01 

--------- Simple Index with 1 field ---------
2022/07/24 19:38:01 
--- SingleIndexSimpleRange ---
2022/07/24 19:38:01 distinct = false
2022/07/24 19:38:01 Using n1ql client
2022/07/24 19:38:01 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:38:01 distinct = false
2022/07/24 19:38:01 Using n1ql client
2022/07/24 19:38:01 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:38:01 distinct = false
2022/07/24 19:38:02 Using n1ql client
2022/07/24 19:38:02 

--------- Composite Index with 3 fields ---------
2022/07/24 19:38:02 
--- ScanAllNoFilter ---
2022/07/24 19:38:02 distinct = false
2022/07/24 19:38:02 Using n1ql client
2022/07/24 19:38:02 
--- ScanAllFilterNil ---
2022/07/24 19:38:02 distinct = false
2022/07/24 19:38:02 Using n1ql client
2022/07/24 19:38:02 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:38:02 distinct = false
2022/07/24 19:38:03 Using n1ql client
2022/07/24 19:38:03 
--- 3FieldsSingleSeek ---
2022/07/24 19:38:03 distinct = false
2022/07/24 19:38:03 Using n1ql client
2022/07/24 19:38:03 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:38:03 distinct = false
2022/07/24 19:38:04 Using n1ql client
2022/07/24 19:38:04 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:38:04 distinct = false
2022/07/24 19:38:04 Using n1ql client
--- PASS: TestMultiScanOffset (10.95s)
=== RUN   TestMultiScanPrimaryIndex
2022/07/24 19:38:04 In TestMultiScanPrimaryIndex()
2022/07/24 19:38:04 
--- PrimaryRange ---
2022/07/24 19:38:04 Using n1ql client
2022/07/24 19:38:04 Expected and Actual scan responses are the same
2022/07/24 19:38:04 
--- PrimaryScanAllNoFilter ---
2022/07/24 19:38:04 Using n1ql client
2022/07/24 19:38:04 Expected and Actual scan responses are the same
--- PASS: TestMultiScanPrimaryIndex (0.07s)
=== RUN   TestMultiScanDistinct
2022/07/24 19:38:04 In TestScansDistinct()
2022/07/24 19:38:04 

--------- Composite Index with 2 fields ---------
2022/07/24 19:38:04 
--- ScanAllNoFilter ---
2022/07/24 19:38:04 distinct = true
2022/07/24 19:38:05 Using n1ql client
2022/07/24 19:38:05 Expected and Actual scan responses are the same
2022/07/24 19:38:05 
--- ScanAllFilterNil ---
2022/07/24 19:38:05 distinct = true
2022/07/24 19:38:05 Using n1ql client
2022/07/24 19:38:05 Expected and Actual scan responses are the same
2022/07/24 19:38:05 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:38:05 distinct = true
2022/07/24 19:38:06 Using n1ql client
2022/07/24 19:38:06 Expected and Actual scan responses are the same
2022/07/24 19:38:06 
--- SingleSeek ---
2022/07/24 19:38:06 distinct = true
2022/07/24 19:38:06 Using n1ql client
2022/07/24 19:38:06 Expected and Actual scan responses are the same
2022/07/24 19:38:06 
--- MultipleSeek ---
2022/07/24 19:38:06 distinct = true
2022/07/24 19:38:06 Using n1ql client
2022/07/24 19:38:06 Expected and Actual scan responses are the same
2022/07/24 19:38:06 
--- SimpleRange ---
2022/07/24 19:38:06 distinct = true
2022/07/24 19:38:07 Using n1ql client
2022/07/24 19:38:07 Expected and Actual scan responses are the same
2022/07/24 19:38:07 
--- NonOverlappingRanges ---
2022/07/24 19:38:07 distinct = true
2022/07/24 19:38:07 Using n1ql client
2022/07/24 19:38:07 Expected and Actual scan responses are the same
2022/07/24 19:38:07 
--- OverlappingRanges ---
2022/07/24 19:38:07 distinct = true
2022/07/24 19:38:07 Using n1ql client
2022/07/24 19:38:07 Expected and Actual scan responses are the same
2022/07/24 19:38:07 
--- NonOverlappingFilters ---
2022/07/24 19:38:07 distinct = true
2022/07/24 19:38:08 Using n1ql client
2022/07/24 19:38:08 Expected and Actual scan responses are the same
2022/07/24 19:38:08 
--- OverlappingFilters ---
2022/07/24 19:38:08 distinct = true
2022/07/24 19:38:08 Using n1ql client
2022/07/24 19:38:08 Expected and Actual scan responses are the same
2022/07/24 19:38:08 
--- BoundaryFilters ---
2022/07/24 19:38:08 distinct = true
2022/07/24 19:38:09 Using n1ql client
2022/07/24 19:38:09 Expected and Actual scan responses are the same
2022/07/24 19:38:09 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:38:09 distinct = true
2022/07/24 19:38:09 Using n1ql client
2022/07/24 19:38:09 Expected and Actual scan responses are the same
2022/07/24 19:38:09 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:38:09 distinct = true
2022/07/24 19:38:09 Using n1ql client
2022/07/24 19:38:09 Expected and Actual scan responses are the same
2022/07/24 19:38:09 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:38:09 distinct = false
2022/07/24 19:38:10 Using n1ql client
2022/07/24 19:38:10 Expected and Actual scan responses are the same
2022/07/24 19:38:10 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:38:10 distinct = false
2022/07/24 19:38:10 Using n1ql client
2022/07/24 19:38:10 Expected and Actual scan responses are the same
2022/07/24 19:38:10 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:38:10 distinct = false
2022/07/24 19:38:10 Using n1ql client
2022/07/24 19:38:11 Expected and Actual scan responses are the same
2022/07/24 19:38:11 
--- FiltersWithUnbounded ---
2022/07/24 19:38:11 distinct = false
2022/07/24 19:38:11 Using n1ql client
2022/07/24 19:38:11 Expected and Actual scan responses are the same
2022/07/24 19:38:11 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:38:11 distinct = false
2022/07/24 19:38:11 Using n1ql client
2022/07/24 19:38:11 Expected and Actual scan responses are the same
2022/07/24 19:38:11 

--------- Simple Index with 1 field ---------
2022/07/24 19:38:11 
--- SingleIndexSimpleRange ---
2022/07/24 19:38:11 distinct = true
2022/07/24 19:38:12 Using n1ql client
2022/07/24 19:38:12 Expected and Actual scan responses are the same
2022/07/24 19:38:12 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:38:12 distinct = true
2022/07/24 19:38:12 Using n1ql client
2022/07/24 19:38:12 Expected and Actual scan responses are the same
2022/07/24 19:38:12 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:38:12 distinct = true
2022/07/24 19:38:12 Using n1ql client
2022/07/24 19:38:12 Expected and Actual scan responses are the same
2022/07/24 19:38:12 

--------- Composite Index with 3 fields ---------
2022/07/24 19:38:12 
--- ScanAllNoFilter ---
2022/07/24 19:38:12 distinct = true
2022/07/24 19:38:13 Using n1ql client
2022/07/24 19:38:13 Expected and Actual scan responses are the same
2022/07/24 19:38:13 
--- ScanAllFilterNil ---
2022/07/24 19:38:13 distinct = true
2022/07/24 19:38:13 Using n1ql client
2022/07/24 19:38:13 Expected and Actual scan responses are the same
2022/07/24 19:38:13 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:38:13 distinct = true
2022/07/24 19:38:14 Using n1ql client
2022/07/24 19:38:14 Expected and Actual scan responses are the same
2022/07/24 19:38:14 
--- 3FieldsSingleSeek ---
2022/07/24 19:38:14 distinct = true
2022/07/24 19:38:14 Using n1ql client
2022/07/24 19:38:14 Expected and Actual scan responses are the same
2022/07/24 19:38:14 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:38:14 distinct = true
2022/07/24 19:38:15 Using n1ql client
2022/07/24 19:38:15 Expected and Actual scan responses are the same
2022/07/24 19:38:15 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:38:15 distinct = true
2022/07/24 19:38:15 Using n1ql client
2022/07/24 19:38:15 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDistinct (10.81s)
=== RUN   TestMultiScanProjection
2022/07/24 19:38:15 In TestMultiScanProjection()
2022/07/24 19:38:15 

--------- Composite Index with 2 fields ---------
2022/07/24 19:38:15 
--- ScanAllNoFilter ---
2022/07/24 19:38:15 distinct = true
2022/07/24 19:38:15 Using n1ql client
2022/07/24 19:38:15 Expected and Actual scan responses are the same
2022/07/24 19:38:15 
--- ScanAllFilterNil ---
2022/07/24 19:38:15 distinct = true
2022/07/24 19:38:16 Using n1ql client
2022/07/24 19:38:16 Expected and Actual scan responses are the same
2022/07/24 19:38:16 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:38:16 distinct = true
2022/07/24 19:38:16 Using n1ql client
2022/07/24 19:38:16 Expected and Actual scan responses are the same
2022/07/24 19:38:16 
--- SingleSeek ---
2022/07/24 19:38:16 distinct = true
2022/07/24 19:38:17 Using n1ql client
2022/07/24 19:38:17 Expected and Actual scan responses are the same
2022/07/24 19:38:17 
--- MultipleSeek ---
2022/07/24 19:38:17 distinct = true
2022/07/24 19:38:17 Using n1ql client
2022/07/24 19:38:17 Expected and Actual scan responses are the same
2022/07/24 19:38:17 
--- SimpleRange ---
2022/07/24 19:38:17 distinct = true
2022/07/24 19:38:17 Using n1ql client
2022/07/24 19:38:17 Expected and Actual scan responses are the same
2022/07/24 19:38:17 
--- NonOverlappingRanges ---
2022/07/24 19:38:17 distinct = true
2022/07/24 19:38:18 Using n1ql client
2022/07/24 19:38:18 Expected and Actual scan responses are the same
2022/07/24 19:38:18 
--- OverlappingRanges ---
2022/07/24 19:38:18 distinct = true
2022/07/24 19:38:18 Using n1ql client
2022/07/24 19:38:18 Expected and Actual scan responses are the same
2022/07/24 19:38:18 
--- NonOverlappingFilters ---
2022/07/24 19:38:18 distinct = true
2022/07/24 19:38:18 Using n1ql client
2022/07/24 19:38:18 Expected and Actual scan responses are the same
2022/07/24 19:38:18 
--- OverlappingFilters ---
2022/07/24 19:38:18 distinct = true
2022/07/24 19:38:19 Using n1ql client
2022/07/24 19:38:19 Expected and Actual scan responses are the same
2022/07/24 19:38:19 
--- BoundaryFilters ---
2022/07/24 19:38:19 distinct = true
2022/07/24 19:38:19 Using n1ql client
2022/07/24 19:38:19 Expected and Actual scan responses are the same
2022/07/24 19:38:19 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:38:19 distinct = true
2022/07/24 19:38:20 Using n1ql client
2022/07/24 19:38:20 Expected and Actual scan responses are the same
2022/07/24 19:38:20 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:38:20 distinct = true
2022/07/24 19:38:20 Using n1ql client
2022/07/24 19:38:20 Expected and Actual scan responses are the same
2022/07/24 19:38:20 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:38:20 distinct = false
2022/07/24 19:38:20 Using n1ql client
2022/07/24 19:38:20 Expected and Actual scan responses are the same
2022/07/24 19:38:20 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:38:20 distinct = false
2022/07/24 19:38:21 Using n1ql client
2022/07/24 19:38:21 Expected and Actual scan responses are the same
2022/07/24 19:38:21 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:38:21 distinct = false
2022/07/24 19:38:21 Using n1ql client
2022/07/24 19:38:21 Expected and Actual scan responses are the same
2022/07/24 19:38:21 
--- FiltersWithUnbounded ---
2022/07/24 19:38:21 distinct = false
2022/07/24 19:38:22 Using n1ql client
2022/07/24 19:38:22 Expected and Actual scan responses are the same
2022/07/24 19:38:22 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:38:22 distinct = false
2022/07/24 19:38:22 Using n1ql client
2022/07/24 19:38:22 Expected and Actual scan responses are the same
2022/07/24 19:38:22 

--------- Simple Index with 1 field ---------
2022/07/24 19:38:22 
--- SingleIndexSimpleRange ---
2022/07/24 19:38:22 distinct = true
2022/07/24 19:38:22 Using n1ql client
2022/07/24 19:38:22 Expected and Actual scan responses are the same
2022/07/24 19:38:22 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:38:22 distinct = true
2022/07/24 19:38:23 Using n1ql client
2022/07/24 19:38:23 Expected and Actual scan responses are the same
2022/07/24 19:38:23 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:38:23 distinct = true
2022/07/24 19:38:23 Using n1ql client
2022/07/24 19:38:23 Expected and Actual scan responses are the same
2022/07/24 19:38:23 

--------- Composite Index with 3 fields ---------
2022/07/24 19:38:23 
--- ScanAllNoFilter ---
2022/07/24 19:38:23 distinct = true
2022/07/24 19:38:23 Using n1ql client
2022/07/24 19:38:23 Expected and Actual scan responses are the same
2022/07/24 19:38:23 
--- ScanAllFilterNil ---
2022/07/24 19:38:23 distinct = true
2022/07/24 19:38:24 Using n1ql client
2022/07/24 19:38:24 Expected and Actual scan responses are the same
2022/07/24 19:38:24 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:38:24 distinct = true
2022/07/24 19:38:24 Using n1ql client
2022/07/24 19:38:24 Expected and Actual scan responses are the same
2022/07/24 19:38:24 
--- 3FieldsSingleSeek ---
2022/07/24 19:38:24 distinct = true
2022/07/24 19:38:25 Using n1ql client
2022/07/24 19:38:25 Expected and Actual scan responses are the same
2022/07/24 19:38:25 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:38:25 distinct = true
2022/07/24 19:38:25 Using n1ql client
2022/07/24 19:38:25 Expected and Actual scan responses are the same
2022/07/24 19:38:25 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:38:25 distinct = true
2022/07/24 19:38:26 Using n1ql client
2022/07/24 19:38:26 Expected and Actual scan responses are the same
2022/07/24 19:38:26 indexes are: index_company, index_companyname, index_company_name_age, index_company_name_age_address, index_company_name_age_address_friends
2022/07/24 19:38:26 fields are: [company], [company name], [company name age], [company name age address], [company name age address friends]
2022/07/24 19:38:26 
--- SingleIndexProjectFirst ---
2022/07/24 19:38:26 distinct = true
2022/07/24 19:38:26 Using n1ql client
2022/07/24 19:38:26 Expected and Actual scan responses are the same
2022/07/24 19:38:26 
--- 2FieldIndexProjectSecond ---
2022/07/24 19:38:26 distinct = true
2022/07/24 19:38:26 Using n1ql client
2022/07/24 19:38:26 Expected and Actual scan responses are the same
2022/07/24 19:38:26 
--- 3FieldIndexProjectThird ---
2022/07/24 19:38:26 distinct = true
2022/07/24 19:38:27 Using n1ql client
2022/07/24 19:38:27 Expected and Actual scan responses are the same
2022/07/24 19:38:27 
--- 4FieldIndexProjectFourth ---
2022/07/24 19:38:27 distinct = true
2022/07/24 19:38:28 Using n1ql client
2022/07/24 19:38:28 Expected and Actual scan responses are the same
2022/07/24 19:38:28 
--- 5FieldIndexProjectFifth ---
2022/07/24 19:38:28 distinct = true
2022/07/24 19:38:32 Using n1ql client
2022/07/24 19:38:32 Expected and Actual scan responses are the same
2022/07/24 19:38:32 
--- 2FieldIndexProjectTwo ---
2022/07/24 19:38:32 distinct = true
2022/07/24 19:38:32 Using n1ql client
2022/07/24 19:38:32 Expected and Actual scan responses are the same
2022/07/24 19:38:32 
--- 3FieldIndexProjectTwo ---
2022/07/24 19:38:32 distinct = true
2022/07/24 19:38:32 Using n1ql client
2022/07/24 19:38:32 Expected and Actual scan responses are the same
2022/07/24 19:38:32 
--- 3FieldIndexProjectTwo ---
2022/07/24 19:38:32 distinct = true
2022/07/24 19:38:33 Using n1ql client
2022/07/24 19:38:33 Expected and Actual scan responses are the same
2022/07/24 19:38:33 
--- 3FieldIndexProjectTwo ---
2022/07/24 19:38:33 distinct = true
2022/07/24 19:38:33 Using n1ql client
2022/07/24 19:38:33 Expected and Actual scan responses are the same
2022/07/24 19:38:33 
--- 4FieldIndexProjectTwo ---
2022/07/24 19:38:33 distinct = true
2022/07/24 19:38:35 Using n1ql client
2022/07/24 19:38:35 Expected and Actual scan responses are the same
2022/07/24 19:38:35 
--- 4FieldIndexProjectTwo ---
2022/07/24 19:38:35 distinct = true
2022/07/24 19:38:36 Using n1ql client
2022/07/24 19:38:36 Expected and Actual scan responses are the same
2022/07/24 19:38:36 
--- 4FieldIndexProjectTwo ---
2022/07/24 19:38:36 distinct = true
2022/07/24 19:38:38 Using n1ql client
2022/07/24 19:38:38 Expected and Actual scan responses are the same
2022/07/24 19:38:38 
--- 4FieldIndexProjectTwo ---
2022/07/24 19:38:38 distinct = true
2022/07/24 19:38:39 Using n1ql client
2022/07/24 19:38:39 Expected and Actual scan responses are the same
2022/07/24 19:38:39 
--- 4FieldIndexProjectTwo ---
2022/07/24 19:38:39 distinct = true
2022/07/24 19:38:41 Using n1ql client
2022/07/24 19:38:41 Expected and Actual scan responses are the same
2022/07/24 19:38:41 
--- 5FieldIndexProjectTwo ---
2022/07/24 19:38:41 distinct = true
2022/07/24 19:38:44 Using n1ql client
2022/07/24 19:38:44 Expected and Actual scan responses are the same
2022/07/24 19:38:44 
--- 5FieldIndexProjectTwo ---
2022/07/24 19:38:44 distinct = true
2022/07/24 19:38:47 Using n1ql client
2022/07/24 19:38:47 Expected and Actual scan responses are the same
2022/07/24 19:38:47 
--- 5FieldIndexProjectTwo ---
2022/07/24 19:38:47 distinct = true
2022/07/24 19:38:51 Using n1ql client
2022/07/24 19:38:51 Expected and Actual scan responses are the same
2022/07/24 19:38:51 
--- 5FieldIndexProjectTwo ---
2022/07/24 19:38:51 distinct = true
2022/07/24 19:38:55 Using n1ql client
2022/07/24 19:38:55 Expected and Actual scan responses are the same
2022/07/24 19:38:55 
--- 5FieldIndexProjectThree ---
2022/07/24 19:38:55 distinct = true
2022/07/24 19:38:58 Using n1ql client
2022/07/24 19:38:58 Expected and Actual scan responses are the same
2022/07/24 19:38:58 
--- 5FieldIndexProjectFour ---
2022/07/24 19:38:58 distinct = true
2022/07/24 19:39:01 Using n1ql client
2022/07/24 19:39:01 Expected and Actual scan responses are the same
2022/07/24 19:39:01 
--- 5FieldIndexProjectAll ---
2022/07/24 19:39:01 distinct = true
2022/07/24 19:39:05 Using n1ql client
2022/07/24 19:39:05 Expected and Actual scan responses are the same
2022/07/24 19:39:05 
--- 5FieldIndexProjectAlternate ---
2022/07/24 19:39:05 distinct = true
2022/07/24 19:39:08 Using n1ql client
2022/07/24 19:39:08 Expected and Actual scan responses are the same
2022/07/24 19:39:08 
--- 5FieldIndexProjectEmptyEntryKeys ---
2022/07/24 19:39:08 distinct = true
2022/07/24 19:39:11 Using n1ql client
2022/07/24 19:39:11 Expected and Actual scan responses are the same
--- PASS: TestMultiScanProjection (56.36s)
=== RUN   TestMultiScanRestAPI
2022/07/24 19:39:11 In TestMultiScanRestAPI()
2022/07/24 19:39:11 In DropAllSecondaryIndexes()
2022/07/24 19:39:11 Index found:  index_company_name_age
2022/07/24 19:39:11 Dropped index index_company_name_age
2022/07/24 19:39:11 Index found:  index_primary
2022/07/24 19:39:11 Dropped index index_primary
2022/07/24 19:39:11 Index found:  index_company_name_age_address
2022/07/24 19:39:12 Dropped index index_company_name_age_address
2022/07/24 19:39:12 Index found:  index_company_name_age_address_friends
2022/07/24 19:39:12 Dropped index index_company_name_age_address_friends
2022/07/24 19:39:12 Index found:  addressidx
2022/07/24 19:39:12 Dropped index addressidx
2022/07/24 19:39:12 Index found:  index_company
2022/07/24 19:39:12 Dropped index index_company
2022/07/24 19:39:12 Index found:  index_companyname
2022/07/24 19:39:12 Dropped index index_companyname
2022/07/24 19:39:15 Created the secondary index index_companyname. Waiting for it become active
2022/07/24 19:39:15 Index is 540699752943548277 now active
2022/07/24 19:39:15 GET all indexes
2022/07/24 19:39:15 200 OK
2022/07/24 19:39:16 getscans status : 200 OK
2022/07/24 19:39:16 number of entries 337
2022/07/24 19:39:16 Status : 200 OK
2022/07/24 19:39:16 Result from multiscancount API = 0
--- PASS: TestMultiScanRestAPI (4.14s)
=== RUN   TestMultiScanPrimaryIndexVariations
2022/07/24 19:39:16 In TestMultiScanPrimaryIndexVariations()
2022/07/24 19:39:21 Created the secondary index index_pi. Waiting for it become active
2022/07/24 19:39:21 Index is 6362503205992637129 now active
2022/07/24 19:39:21 
--- No Overlap ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 
--- Proper Overlap ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 
--- Low Boundary Overlap ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 
--- Complex Overlaps ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 
--- Multiple Equal Overlaps ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 
--- Boundary and Subset Overlaps ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 
--- Point Overlaps ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 
--- Boundary and Point Overlaps ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 
--- Primary index range null ---
2022/07/24 19:39:21 Using n1ql client
2022/07/24 19:39:21 Expected and Actual scan responses are the same
2022/07/24 19:39:21 Dropping the secondary index index_pi
2022/07/24 19:39:21 Index dropped
--- PASS: TestMultiScanPrimaryIndexVariations (5.81s)
=== RUN   TestMultiScanDescSetup
2022/07/24 19:39:21 In TestMultiScanDescSetup()
2022/07/24 19:39:21 In DropAllSecondaryIndexes()
2022/07/24 19:39:21 Index found:  index_companyname
2022/07/24 19:39:22 Dropped index index_companyname
2022/07/24 19:39:25 Created the secondary index index_companyname_desc. Waiting for it become active
2022/07/24 19:39:25 Index is 4949940726372973477 now active
2022/07/24 19:39:31 Created the secondary index index_company_desc. Waiting for it become active
2022/07/24 19:39:31 Index is 12174152037441168239 now active
2022/07/24 19:39:35 Created the secondary index index_company_name_age_desc. Waiting for it become active
2022/07/24 19:39:35 Index is 15553680934712983648 now active
--- PASS: TestMultiScanDescSetup (13.63s)
=== RUN   TestMultiScanDescScenarios
2022/07/24 19:39:35 In TestMultiScanDescScenarios()
2022/07/24 19:39:35 

--------- Composite Index with 2 fields ---------
2022/07/24 19:39:35 
--- ScanAllNoFilter ---
2022/07/24 19:39:35 distinct = false
2022/07/24 19:39:35 Using n1ql client
2022/07/24 19:39:36 Expected and Actual scan responses are the same
2022/07/24 19:39:36 
--- ScanAllFilterNil ---
2022/07/24 19:39:36 distinct = false
2022/07/24 19:39:36 Using n1ql client
2022/07/24 19:39:36 Expected and Actual scan responses are the same
2022/07/24 19:39:36 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:39:36 distinct = false
2022/07/24 19:39:36 Using n1ql client
2022/07/24 19:39:36 Expected and Actual scan responses are the same
2022/07/24 19:39:36 
--- SingleSeek ---
2022/07/24 19:39:36 distinct = false
2022/07/24 19:39:37 Using n1ql client
2022/07/24 19:39:37 Expected and Actual scan responses are the same
2022/07/24 19:39:37 
--- MultipleSeek ---
2022/07/24 19:39:37 distinct = false
2022/07/24 19:39:37 Using n1ql client
2022/07/24 19:39:37 Expected and Actual scan responses are the same
2022/07/24 19:39:37 
--- SimpleRange ---
2022/07/24 19:39:37 distinct = false
2022/07/24 19:39:37 Using n1ql client
2022/07/24 19:39:37 Expected and Actual scan responses are the same
2022/07/24 19:39:37 
--- NonOverlappingRanges ---
2022/07/24 19:39:37 distinct = false
2022/07/24 19:39:38 Using n1ql client
2022/07/24 19:39:38 Expected and Actual scan responses are the same
2022/07/24 19:39:38 
--- OverlappingRanges ---
2022/07/24 19:39:38 distinct = false
2022/07/24 19:39:38 Using n1ql client
2022/07/24 19:39:38 Expected and Actual scan responses are the same
2022/07/24 19:39:38 
--- NonOverlappingFilters ---
2022/07/24 19:39:38 distinct = false
2022/07/24 19:39:39 Using n1ql client
2022/07/24 19:39:39 Expected and Actual scan responses are the same
2022/07/24 19:39:39 
--- OverlappingFilters ---
2022/07/24 19:39:39 distinct = false
2022/07/24 19:39:39 Using n1ql client
2022/07/24 19:39:39 Expected and Actual scan responses are the same
2022/07/24 19:39:39 
--- BoundaryFilters ---
2022/07/24 19:39:39 distinct = false
2022/07/24 19:39:39 Using n1ql client
2022/07/24 19:39:39 Expected and Actual scan responses are the same
2022/07/24 19:39:39 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:39:39 distinct = false
2022/07/24 19:39:40 Using n1ql client
2022/07/24 19:39:40 Expected and Actual scan responses are the same
2022/07/24 19:39:40 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:39:40 distinct = false
2022/07/24 19:39:40 Using n1ql client
2022/07/24 19:39:40 Expected and Actual scan responses are the same
2022/07/24 19:39:40 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:39:40 distinct = false
2022/07/24 19:39:40 Using n1ql client
2022/07/24 19:39:41 Expected and Actual scan responses are the same
2022/07/24 19:39:41 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:39:41 distinct = false
2022/07/24 19:39:41 Using n1ql client
2022/07/24 19:39:41 Expected and Actual scan responses are the same
2022/07/24 19:39:41 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:39:41 distinct = false
2022/07/24 19:39:41 Using n1ql client
2022/07/24 19:39:41 Expected and Actual scan responses are the same
2022/07/24 19:39:41 
--- FiltersWithUnbounded ---
2022/07/24 19:39:41 distinct = false
2022/07/24 19:39:42 Using n1ql client
2022/07/24 19:39:42 Expected and Actual scan responses are the same
2022/07/24 19:39:42 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:39:42 distinct = false
2022/07/24 19:39:42 Using n1ql client
2022/07/24 19:39:42 Expected and Actual scan responses are the same
2022/07/24 19:39:42 

--------- Simple Index with 1 field ---------
2022/07/24 19:39:42 
--- SingleIndexSimpleRange ---
2022/07/24 19:39:42 distinct = false
2022/07/24 19:39:42 Using n1ql client
2022/07/24 19:39:42 Expected and Actual scan responses are the same
2022/07/24 19:39:42 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:39:42 distinct = false
2022/07/24 19:39:43 Using n1ql client
2022/07/24 19:39:43 Expected and Actual scan responses are the same
2022/07/24 19:39:43 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:39:43 distinct = false
2022/07/24 19:39:43 Using n1ql client
2022/07/24 19:39:43 Expected and Actual scan responses are the same
2022/07/24 19:39:43 

--------- Composite Index with 3 fields ---------
2022/07/24 19:39:43 
--- ScanAllNoFilter ---
2022/07/24 19:39:43 distinct = false
2022/07/24 19:39:44 Using n1ql client
2022/07/24 19:39:44 Expected and Actual scan responses are the same
2022/07/24 19:39:44 
--- ScanAllFilterNil ---
2022/07/24 19:39:44 distinct = false
2022/07/24 19:39:44 Using n1ql client
2022/07/24 19:39:44 Expected and Actual scan responses are the same
2022/07/24 19:39:44 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:39:44 distinct = false
2022/07/24 19:39:45 Using n1ql client
2022/07/24 19:39:45 Expected and Actual scan responses are the same
2022/07/24 19:39:45 
--- 3FieldsSingleSeek ---
2022/07/24 19:39:45 distinct = false
2022/07/24 19:39:45 Using n1ql client
2022/07/24 19:39:45 Expected and Actual scan responses are the same
2022/07/24 19:39:45 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:39:45 distinct = false
2022/07/24 19:39:45 Using n1ql client
2022/07/24 19:39:45 Expected and Actual scan responses are the same
2022/07/24 19:39:45 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:39:45 distinct = false
2022/07/24 19:39:46 Using n1ql client
2022/07/24 19:39:46 Expected and Actual scan responses are the same
2022/07/24 19:39:46 

--------- New scenarios ---------
2022/07/24 19:39:46 
--- CompIndexHighUnbounded1 ---
2022/07/24 19:39:46 
--- Multi Scan 0 ---
2022/07/24 19:39:46 distinct = false
2022/07/24 19:39:46 Using n1ql client
2022/07/24 19:39:46 Expected and Actual scan responses are the same
2022/07/24 19:39:46 
--- Multi Scan 1 ---
2022/07/24 19:39:46 distinct = false
2022/07/24 19:39:47 Using n1ql client
2022/07/24 19:39:47 Expected and Actual scan responses are the same
2022/07/24 19:39:47 
--- Multi Scan 2 ---
2022/07/24 19:39:47 distinct = false
2022/07/24 19:39:47 Using n1ql client
2022/07/24 19:39:47 Expected and Actual scan responses are the same
2022/07/24 19:39:47 
--- CompIndexHighUnbounded2 ---
2022/07/24 19:39:47 
--- Multi Scan 0 ---
2022/07/24 19:39:47 distinct = false
2022/07/24 19:39:47 Using n1ql client
2022/07/24 19:39:47 Expected and Actual scan responses are the same
2022/07/24 19:39:47 
--- Multi Scan 1 ---
2022/07/24 19:39:47 distinct = false
2022/07/24 19:39:48 Using n1ql client
2022/07/24 19:39:48 Expected and Actual scan responses are the same
2022/07/24 19:39:48 
--- Multi Scan 2 ---
2022/07/24 19:39:48 distinct = false
2022/07/24 19:39:48 Using n1ql client
2022/07/24 19:39:48 Expected and Actual scan responses are the same
2022/07/24 19:39:48 
--- CompIndexHighUnbounded3 ---
2022/07/24 19:39:48 
--- Multi Scan 0 ---
2022/07/24 19:39:48 distinct = false
2022/07/24 19:39:48 Using n1ql client
2022/07/24 19:39:48 Expected and Actual scan responses are the same
2022/07/24 19:39:48 
--- CompIndexHighUnbounded4 ---
2022/07/24 19:39:48 
--- Multi Scan 0 ---
2022/07/24 19:39:48 distinct = false
2022/07/24 19:39:49 Using n1ql client
2022/07/24 19:39:49 Expected and Actual scan responses are the same
2022/07/24 19:39:49 
--- CompIndexHighUnbounded5 ---
2022/07/24 19:39:49 
--- Multi Scan 0 ---
2022/07/24 19:39:49 distinct = false
2022/07/24 19:39:49 Using n1ql client
2022/07/24 19:39:49 Expected and Actual scan responses are the same
2022/07/24 19:39:49 
--- SeekBoundaries ---
2022/07/24 19:39:49 
--- Multi Scan 0 ---
2022/07/24 19:39:49 distinct = false
2022/07/24 19:39:50 Using n1ql client
2022/07/24 19:39:50 Expected and Actual scan responses are the same
2022/07/24 19:39:50 
--- Multi Scan 1 ---
2022/07/24 19:39:50 distinct = false
2022/07/24 19:39:50 Using n1ql client
2022/07/24 19:39:50 Expected and Actual scan responses are the same
2022/07/24 19:39:50 
--- Multi Scan 2 ---
2022/07/24 19:39:50 distinct = false
2022/07/24 19:39:50 Using n1ql client
2022/07/24 19:39:50 Expected and Actual scan responses are the same
2022/07/24 19:39:50 
--- Multi Scan 3 ---
2022/07/24 19:39:50 distinct = false
2022/07/24 19:39:51 Using n1ql client
2022/07/24 19:39:51 Expected and Actual scan responses are the same
2022/07/24 19:39:51 
--- Multi Scan 4 ---
2022/07/24 19:39:51 distinct = false
2022/07/24 19:39:51 Using n1ql client
2022/07/24 19:39:51 Expected and Actual scan responses are the same
2022/07/24 19:39:51 
--- Multi Scan 5 ---
2022/07/24 19:39:51 distinct = false
2022/07/24 19:39:51 Using n1ql client
2022/07/24 19:39:52 Expected and Actual scan responses are the same
2022/07/24 19:39:52 
--- Multi Scan 6 ---
2022/07/24 19:39:52 distinct = false
2022/07/24 19:39:52 Using n1ql client
2022/07/24 19:39:52 Expected and Actual scan responses are the same
2022/07/24 19:39:52 
--- Multi Scan 7 ---
2022/07/24 19:39:52 distinct = false
2022/07/24 19:39:52 Using n1ql client
2022/07/24 19:39:52 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDescScenarios (17.25s)
=== RUN   TestMultiScanDescCount
2022/07/24 19:39:52 In TestMultiScanDescCount()
2022/07/24 19:39:52 

--------- Composite Index with 2 fields ---------
2022/07/24 19:39:52 
--- ScanAllNoFilter ---
2022/07/24 19:39:52 distinct = false
2022/07/24 19:39:53 Using n1ql client
2022/07/24 19:39:53 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:39:53 
--- ScanAllFilterNil ---
2022/07/24 19:39:53 distinct = false
2022/07/24 19:39:53 Using n1ql client
2022/07/24 19:39:53 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:39:53 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:39:53 distinct = false
2022/07/24 19:39:53 Using n1ql client
2022/07/24 19:39:53 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:39:53 
--- SingleSeek ---
2022/07/24 19:39:53 distinct = false
2022/07/24 19:39:54 Using n1ql client
2022/07/24 19:39:54 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:39:54 
--- MultipleSeek ---
2022/07/24 19:39:54 distinct = false
2022/07/24 19:39:55 Using n1ql client
2022/07/24 19:39:55 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/07/24 19:39:55 
--- SimpleRange ---
2022/07/24 19:39:55 distinct = false
2022/07/24 19:39:55 Using n1ql client
2022/07/24 19:39:55 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/07/24 19:39:55 
--- NonOverlappingRanges ---
2022/07/24 19:39:55 distinct = false
2022/07/24 19:39:55 Using n1ql client
2022/07/24 19:39:55 MultiScanCount = 4283 ExpectedMultiScanCount = 4283
2022/07/24 19:39:55 
--- OverlappingRanges ---
2022/07/24 19:39:55 distinct = false
2022/07/24 19:39:56 Using n1ql client
2022/07/24 19:39:56 MultiScanCount = 5756 ExpectedMultiScanCount = 5756
2022/07/24 19:39:56 
--- NonOverlappingFilters ---
2022/07/24 19:39:56 distinct = false
2022/07/24 19:39:56 Using n1ql client
2022/07/24 19:39:56 MultiScanCount = 337 ExpectedMultiScanCount = 337
2022/07/24 19:39:56 
--- OverlappingFilters ---
2022/07/24 19:39:56 distinct = false
2022/07/24 19:39:57 Using n1ql client
2022/07/24 19:39:57 MultiScanCount = 2559 ExpectedMultiScanCount = 2559
2022/07/24 19:39:57 
--- BoundaryFilters ---
2022/07/24 19:39:57 distinct = false
2022/07/24 19:39:57 Using n1ql client
2022/07/24 19:39:57 MultiScanCount = 499 ExpectedMultiScanCount = 499
2022/07/24 19:39:57 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:39:57 distinct = false
2022/07/24 19:39:57 Using n1ql client
2022/07/24 19:39:57 MultiScanCount = 256 ExpectedMultiScanCount = 256
2022/07/24 19:39:57 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:39:57 distinct = false
2022/07/24 19:39:58 Using n1ql client
2022/07/24 19:39:58 MultiScanCount = 255 ExpectedMultiScanCount = 255
2022/07/24 19:39:58 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:39:58 distinct = false
2022/07/24 19:39:58 Using n1ql client
2022/07/24 19:39:58 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/07/24 19:39:58 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:39:58 distinct = false
2022/07/24 19:39:58 Using n1ql client
2022/07/24 19:39:58 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/07/24 19:39:58 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:39:58 distinct = false
2022/07/24 19:39:59 Using n1ql client
2022/07/24 19:39:59 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:39:59 
--- FiltersWithUnbounded ---
2022/07/24 19:39:59 distinct = false
2022/07/24 19:39:59 Using n1ql client
2022/07/24 19:39:59 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/07/24 19:39:59 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:39:59 distinct = false
2022/07/24 19:40:00 Using n1ql client
2022/07/24 19:40:00 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/07/24 19:40:00 

--------- Simple Index with 1 field ---------
2022/07/24 19:40:00 
--- SingleIndexSimpleRange ---
2022/07/24 19:40:00 distinct = false
2022/07/24 19:40:00 Using n1ql client
2022/07/24 19:40:00 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/07/24 19:40:00 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:40:00 distinct = false
2022/07/24 19:40:00 Using n1ql client
2022/07/24 19:40:00 MultiScanCount = 7140 ExpectedMultiScanCount = 7140
2022/07/24 19:40:00 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:40:00 distinct = false
2022/07/24 19:40:01 Using n1ql client
2022/07/24 19:40:01 MultiScanCount = 8701 ExpectedMultiScanCount = 8701
2022/07/24 19:40:01 

--------- Composite Index with 3 fields ---------
2022/07/24 19:40:01 
--- ScanAllNoFilter ---
2022/07/24 19:40:01 distinct = false
2022/07/24 19:40:01 Using n1ql client
2022/07/24 19:40:01 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:40:01 
--- ScanAllFilterNil ---
2022/07/24 19:40:01 distinct = false
2022/07/24 19:40:01 Using n1ql client
2022/07/24 19:40:01 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:40:01 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:40:01 distinct = false
2022/07/24 19:40:02 Using n1ql client
2022/07/24 19:40:02 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:40:02 
--- 3FieldsSingleSeek ---
2022/07/24 19:40:02 distinct = false
2022/07/24 19:40:02 Using n1ql client
2022/07/24 19:40:02 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:40:02 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:40:02 distinct = false
2022/07/24 19:40:03 Using n1ql client
2022/07/24 19:40:03 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/07/24 19:40:03 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:40:03 distinct = false
2022/07/24 19:40:03 Using n1ql client
2022/07/24 19:40:03 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/07/24 19:40:03 

--------- New scenarios ---------
2022/07/24 19:40:03 
--- CompIndexHighUnbounded1 ---
2022/07/24 19:40:03 
--- Multi Scan 0 ---
2022/07/24 19:40:03 distinct = false
2022/07/24 19:40:03 Using n1ql client
2022/07/24 19:40:03 Using n1ql client
2022/07/24 19:40:03 len(scanResults) = 8 MultiScanCount = 8
2022/07/24 19:40:03 Expected and Actual scan responses are the same
2022/07/24 19:40:03 
--- Multi Scan 1 ---
2022/07/24 19:40:03 distinct = false
2022/07/24 19:40:04 Using n1ql client
2022/07/24 19:40:04 Using n1ql client
2022/07/24 19:40:04 len(scanResults) = 0 MultiScanCount = 0
2022/07/24 19:40:04 Expected and Actual scan responses are the same
2022/07/24 19:40:04 
--- Multi Scan 2 ---
2022/07/24 19:40:04 distinct = false
2022/07/24 19:40:04 Using n1ql client
2022/07/24 19:40:04 Using n1ql client
2022/07/24 19:40:04 len(scanResults) = 9 MultiScanCount = 9
2022/07/24 19:40:04 Expected and Actual scan responses are the same
2022/07/24 19:40:04 
--- CompIndexHighUnbounded2 ---
2022/07/24 19:40:04 
--- Multi Scan 0 ---
2022/07/24 19:40:04 distinct = false
2022/07/24 19:40:04 Using n1ql client
2022/07/24 19:40:04 Using n1ql client
2022/07/24 19:40:04 len(scanResults) = 4138 MultiScanCount = 4138
2022/07/24 19:40:04 Expected and Actual scan responses are the same
2022/07/24 19:40:04 
--- Multi Scan 1 ---
2022/07/24 19:40:04 distinct = false
2022/07/24 19:40:05 Using n1ql client
2022/07/24 19:40:05 Using n1ql client
2022/07/24 19:40:05 len(scanResults) = 2746 MultiScanCount = 2746
2022/07/24 19:40:05 Expected and Actual scan responses are the same
2022/07/24 19:40:05 
--- Multi Scan 2 ---
2022/07/24 19:40:05 distinct = false
2022/07/24 19:40:05 Using n1ql client
2022/07/24 19:40:05 Using n1ql client
2022/07/24 19:40:05 len(scanResults) = 4691 MultiScanCount = 4691
2022/07/24 19:40:05 Expected and Actual scan responses are the same
2022/07/24 19:40:05 
--- CompIndexHighUnbounded3 ---
2022/07/24 19:40:05 
--- Multi Scan 0 ---
2022/07/24 19:40:05 distinct = false
2022/07/24 19:40:06 Using n1ql client
2022/07/24 19:40:06 Using n1ql client
2022/07/24 19:40:06 len(scanResults) = 1329 MultiScanCount = 1329
2022/07/24 19:40:06 Expected and Actual scan responses are the same
2022/07/24 19:40:06 
--- CompIndexHighUnbounded4 ---
2022/07/24 19:40:06 
--- Multi Scan 0 ---
2022/07/24 19:40:06 distinct = false
2022/07/24 19:40:06 Using n1ql client
2022/07/24 19:40:06 Using n1ql client
2022/07/24 19:40:06 len(scanResults) = 5349 MultiScanCount = 5349
2022/07/24 19:40:06 Expected and Actual scan responses are the same
2022/07/24 19:40:06 
--- CompIndexHighUnbounded5 ---
2022/07/24 19:40:06 
--- Multi Scan 0 ---
2022/07/24 19:40:06 distinct = false
2022/07/24 19:40:06 Using n1ql client
2022/07/24 19:40:07 Using n1ql client
2022/07/24 19:40:07 len(scanResults) = 8210 MultiScanCount = 8210
2022/07/24 19:40:07 Expected and Actual scan responses are the same
2022/07/24 19:40:07 
--- SeekBoundaries ---
2022/07/24 19:40:07 
--- Multi Scan 0 ---
2022/07/24 19:40:07 distinct = false
2022/07/24 19:40:07 Using n1ql client
2022/07/24 19:40:07 Using n1ql client
2022/07/24 19:40:07 len(scanResults) = 175 MultiScanCount = 175
2022/07/24 19:40:07 Expected and Actual scan responses are the same
2022/07/24 19:40:07 
--- Multi Scan 1 ---
2022/07/24 19:40:07 distinct = false
2022/07/24 19:40:07 Using n1ql client
2022/07/24 19:40:07 Using n1ql client
2022/07/24 19:40:07 len(scanResults) = 1 MultiScanCount = 1
2022/07/24 19:40:07 Expected and Actual scan responses are the same
2022/07/24 19:40:07 
--- Multi Scan 2 ---
2022/07/24 19:40:07 distinct = false
2022/07/24 19:40:08 Using n1ql client
2022/07/24 19:40:08 Using n1ql client
2022/07/24 19:40:08 len(scanResults) = 555 MultiScanCount = 555
2022/07/24 19:40:08 Expected and Actual scan responses are the same
2022/07/24 19:40:08 
--- Multi Scan 3 ---
2022/07/24 19:40:08 distinct = false
2022/07/24 19:40:08 Using n1ql client
2022/07/24 19:40:08 Using n1ql client
2022/07/24 19:40:08 len(scanResults) = 872 MultiScanCount = 872
2022/07/24 19:40:08 Expected and Actual scan responses are the same
2022/07/24 19:40:08 
--- Multi Scan 4 ---
2022/07/24 19:40:08 distinct = false
2022/07/24 19:40:08 Using n1ql client
2022/07/24 19:40:08 Using n1ql client
2022/07/24 19:40:08 len(scanResults) = 287 MultiScanCount = 287
2022/07/24 19:40:08 Expected and Actual scan responses are the same
2022/07/24 19:40:08 
--- Multi Scan 5 ---
2022/07/24 19:40:08 distinct = false
2022/07/24 19:40:09 Using n1ql client
2022/07/24 19:40:09 Using n1ql client
2022/07/24 19:40:09 len(scanResults) = 5254 MultiScanCount = 5254
2022/07/24 19:40:09 Expected and Actual scan responses are the same
2022/07/24 19:40:09 
--- Multi Scan 6 ---
2022/07/24 19:40:09 distinct = false
2022/07/24 19:40:09 Using n1ql client
2022/07/24 19:40:09 Using n1ql client
2022/07/24 19:40:09 len(scanResults) = 5566 MultiScanCount = 5566
2022/07/24 19:40:09 Expected and Actual scan responses are the same
2022/07/24 19:40:09 
--- Multi Scan 7 ---
2022/07/24 19:40:09 distinct = false
2022/07/24 19:40:10 Using n1ql client
2022/07/24 19:40:10 Using n1ql client
2022/07/24 19:40:10 len(scanResults) = 8 MultiScanCount = 8
2022/07/24 19:40:10 Expected and Actual scan responses are the same
2022/07/24 19:40:10 

--------- With DISTINCT True ---------
2022/07/24 19:40:10 
--- ScanAllNoFilter ---
2022/07/24 19:40:10 distinct = true
2022/07/24 19:40:10 Using n1ql client
2022/07/24 19:40:10 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:40:10 
--- ScanAllFilterNil ---
2022/07/24 19:40:10 distinct = true
2022/07/24 19:40:10 Using n1ql client
2022/07/24 19:40:10 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:40:10 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:40:10 distinct = true
2022/07/24 19:40:11 Using n1ql client
2022/07/24 19:40:11 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:40:11 
--- SingleSeek ---
2022/07/24 19:40:11 distinct = true
2022/07/24 19:40:11 Using n1ql client
2022/07/24 19:40:11 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:40:11 
--- MultipleSeek ---
2022/07/24 19:40:11 distinct = true
2022/07/24 19:40:11 Using n1ql client
2022/07/24 19:40:11 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/07/24 19:40:11 
--- SimpleRange ---
2022/07/24 19:40:11 distinct = true
2022/07/24 19:40:12 Using n1ql client
2022/07/24 19:40:12 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/07/24 19:40:12 
--- NonOverlappingRanges ---
2022/07/24 19:40:12 distinct = true
2022/07/24 19:40:12 Using n1ql client
2022/07/24 19:40:12 MultiScanCount = 428 ExpectedMultiScanCount = 428
2022/07/24 19:40:12 
--- NonOverlappingFilters2 ---
2022/07/24 19:40:12 distinct = true
2022/07/24 19:40:12 Using n1ql client
2022/07/24 19:40:12 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:40:12 
--- OverlappingRanges ---
2022/07/24 19:40:12 distinct = true
2022/07/24 19:40:13 Using n1ql client
2022/07/24 19:40:13 MultiScanCount = 575 ExpectedMultiScanCount = 575
2022/07/24 19:40:13 
--- NonOverlappingFilters ---
2022/07/24 19:40:13 distinct = true
2022/07/24 19:40:13 Using n1ql client
2022/07/24 19:40:13 MultiScanCount = 186 ExpectedMultiScanCount = 186
2022/07/24 19:40:13 
--- OverlappingFilters ---
2022/07/24 19:40:13 distinct = true
2022/07/24 19:40:14 Using n1ql client
2022/07/24 19:40:14 MultiScanCount = 543 ExpectedMultiScanCount = 543
2022/07/24 19:40:14 
--- BoundaryFilters ---
2022/07/24 19:40:14 distinct = true
2022/07/24 19:40:14 Using n1ql client
2022/07/24 19:40:14 MultiScanCount = 172 ExpectedMultiScanCount = 172
2022/07/24 19:40:14 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:40:14 distinct = true
2022/07/24 19:40:14 Using n1ql client
2022/07/24 19:40:14 MultiScanCount = 135 ExpectedMultiScanCount = 135
2022/07/24 19:40:14 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:40:14 distinct = true
2022/07/24 19:40:15 Using n1ql client
2022/07/24 19:40:15 MultiScanCount = 134 ExpectedMultiScanCount = 134
2022/07/24 19:40:15 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:40:15 distinct = false
2022/07/24 19:40:15 Using n1ql client
2022/07/24 19:40:15 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/07/24 19:40:15 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:40:15 distinct = false
2022/07/24 19:40:15 Using n1ql client
2022/07/24 19:40:15 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/07/24 19:40:15 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:40:15 distinct = false
2022/07/24 19:40:16 Using n1ql client
2022/07/24 19:40:16 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/07/24 19:40:16 
--- FiltersWithUnbounded ---
2022/07/24 19:40:16 distinct = false
2022/07/24 19:40:16 Using n1ql client
2022/07/24 19:40:16 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/07/24 19:40:16 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:40:16 distinct = false
2022/07/24 19:40:17 Using n1ql client
2022/07/24 19:40:17 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/07/24 19:40:17 

--------- Simple Index with 1 field ---------
2022/07/24 19:40:17 
--- SingleIndexSimpleRange ---
2022/07/24 19:40:17 distinct = true
2022/07/24 19:40:17 Using n1ql client
2022/07/24 19:40:17 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/07/24 19:40:17 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:40:17 distinct = true
2022/07/24 19:40:17 Using n1ql client
2022/07/24 19:40:17 MultiScanCount = 713 ExpectedMultiScanCount = 713
2022/07/24 19:40:17 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:40:17 distinct = true
2022/07/24 19:40:18 Using n1ql client
2022/07/24 19:40:18 MultiScanCount = 869 ExpectedMultiScanCount = 869
2022/07/24 19:40:18 

--------- Composite Index with 3 fields ---------
2022/07/24 19:40:18 
--- ScanAllNoFilter ---
2022/07/24 19:40:18 distinct = true
2022/07/24 19:40:18 Using n1ql client
2022/07/24 19:40:18 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:40:18 
--- ScanAllFilterNil ---
2022/07/24 19:40:18 distinct = true
2022/07/24 19:40:18 Using n1ql client
2022/07/24 19:40:18 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:40:18 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:40:18 distinct = true
2022/07/24 19:40:19 Using n1ql client
2022/07/24 19:40:19 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/07/24 19:40:19 
--- 3FieldsSingleSeek ---
2022/07/24 19:40:19 distinct = true
2022/07/24 19:40:19 Using n1ql client
2022/07/24 19:40:19 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/07/24 19:40:19 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:40:19 distinct = true
2022/07/24 19:40:20 Using n1ql client
2022/07/24 19:40:20 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/07/24 19:40:20 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:40:20 distinct = true
2022/07/24 19:40:20 Using n1ql client
2022/07/24 19:40:20 MultiScanCount = 2 ExpectedMultiScanCount = 2
--- PASS: TestMultiScanDescCount (27.72s)
=== RUN   TestMultiScanDescOffset
2022/07/24 19:40:20 In SkipTestMultiScanDescOffset()
2022/07/24 19:40:20 

--------- Composite Index with 2 fields ---------
2022/07/24 19:40:20 
--- ScanAllNoFilter ---
2022/07/24 19:40:20 distinct = false
2022/07/24 19:40:20 Using n1ql client
2022/07/24 19:40:20 
--- ScanAllFilterNil ---
2022/07/24 19:40:20 distinct = false
2022/07/24 19:40:21 Using n1ql client
2022/07/24 19:40:21 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:40:21 distinct = false
2022/07/24 19:40:21 Using n1ql client
2022/07/24 19:40:21 
--- SingleSeek ---
2022/07/24 19:40:21 distinct = false
2022/07/24 19:40:21 Using n1ql client
2022/07/24 19:40:22 
--- MultipleSeek ---
2022/07/24 19:40:22 distinct = false
2022/07/24 19:40:22 Using n1ql client
2022/07/24 19:40:22 
--- SimpleRange ---
2022/07/24 19:40:22 distinct = false
2022/07/24 19:40:22 Using n1ql client
2022/07/24 19:40:22 
--- NonOverlappingRanges ---
2022/07/24 19:40:22 distinct = false
2022/07/24 19:40:23 Using n1ql client
2022/07/24 19:40:23 
--- OverlappingRanges ---
2022/07/24 19:40:23 distinct = false
2022/07/24 19:40:23 Using n1ql client
2022/07/24 19:40:23 
--- NonOverlappingFilters ---
2022/07/24 19:40:23 distinct = false
2022/07/24 19:40:23 Using n1ql client
2022/07/24 19:40:23 
--- OverlappingFilters ---
2022/07/24 19:40:23 distinct = false
2022/07/24 19:40:24 Using n1ql client
2022/07/24 19:40:24 
--- BoundaryFilters ---
2022/07/24 19:40:24 distinct = false
2022/07/24 19:40:24 Using n1ql client
2022/07/24 19:40:24 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:40:24 distinct = false
2022/07/24 19:40:24 Using n1ql client
2022/07/24 19:40:24 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:40:24 distinct = false
2022/07/24 19:40:25 Using n1ql client
2022/07/24 19:40:25 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:40:25 distinct = false
2022/07/24 19:40:25 Using n1ql client
2022/07/24 19:40:25 Expected and Actual scan responses are the same
2022/07/24 19:40:25 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:40:25 distinct = false
2022/07/24 19:40:26 Using n1ql client
2022/07/24 19:40:26 Expected and Actual scan responses are the same
2022/07/24 19:40:26 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:40:26 distinct = false
2022/07/24 19:40:26 Using n1ql client
2022/07/24 19:40:26 Expected and Actual scan responses are the same
2022/07/24 19:40:26 
--- FiltersWithUnbounded ---
2022/07/24 19:40:26 distinct = false
2022/07/24 19:40:26 Using n1ql client
2022/07/24 19:40:26 Expected and Actual scan responses are the same
2022/07/24 19:40:26 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:40:26 distinct = false
2022/07/24 19:40:27 Using n1ql client
2022/07/24 19:40:27 Expected and Actual scan responses are the same
2022/07/24 19:40:27 

--------- Simple Index with 1 field ---------
2022/07/24 19:40:27 
--- SingleIndexSimpleRange ---
2022/07/24 19:40:27 distinct = false
2022/07/24 19:40:27 Using n1ql client
2022/07/24 19:40:27 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:40:27 distinct = false
2022/07/24 19:40:27 Using n1ql client
2022/07/24 19:40:27 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:40:27 distinct = false
2022/07/24 19:40:28 Using n1ql client
2022/07/24 19:40:28 

--------- Composite Index with 3 fields ---------
2022/07/24 19:40:28 
--- ScanAllNoFilter ---
2022/07/24 19:40:28 distinct = false
2022/07/24 19:40:28 Using n1ql client
2022/07/24 19:40:28 
--- ScanAllFilterNil ---
2022/07/24 19:40:28 distinct = false
2022/07/24 19:40:29 Using n1ql client
2022/07/24 19:40:29 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:40:29 distinct = false
2022/07/24 19:40:29 Using n1ql client
2022/07/24 19:40:29 
--- 3FieldsSingleSeek ---
2022/07/24 19:40:29 distinct = false
2022/07/24 19:40:29 Using n1ql client
2022/07/24 19:40:30 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:40:30 distinct = false
2022/07/24 19:40:30 Using n1ql client
2022/07/24 19:40:30 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:40:30 distinct = false
2022/07/24 19:40:30 Using n1ql client
--- PASS: TestMultiScanDescOffset (10.30s)
=== RUN   TestMultiScanDescDistinct
2022/07/24 19:40:30 In SkipTestMultiScanDescDistinct()
2022/07/24 19:40:30 

--------- Composite Index with 2 fields ---------
2022/07/24 19:40:30 
--- ScanAllNoFilter ---
2022/07/24 19:40:30 distinct = true
2022/07/24 19:40:31 Using n1ql client
2022/07/24 19:40:31 Expected and Actual scan responses are the same
2022/07/24 19:40:31 
--- ScanAllFilterNil ---
2022/07/24 19:40:31 distinct = true
2022/07/24 19:40:31 Using n1ql client
2022/07/24 19:40:31 Expected and Actual scan responses are the same
2022/07/24 19:40:31 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:40:31 distinct = true
2022/07/24 19:40:32 Using n1ql client
2022/07/24 19:40:32 Expected and Actual scan responses are the same
2022/07/24 19:40:32 
--- SingleSeek ---
2022/07/24 19:40:32 distinct = true
2022/07/24 19:40:32 Using n1ql client
2022/07/24 19:40:32 Expected and Actual scan responses are the same
2022/07/24 19:40:32 
--- MultipleSeek ---
2022/07/24 19:40:32 distinct = true
2022/07/24 19:40:32 Using n1ql client
2022/07/24 19:40:32 Expected and Actual scan responses are the same
2022/07/24 19:40:32 
--- SimpleRange ---
2022/07/24 19:40:32 distinct = true
2022/07/24 19:40:33 Using n1ql client
2022/07/24 19:40:33 Expected and Actual scan responses are the same
2022/07/24 19:40:33 
--- NonOverlappingRanges ---
2022/07/24 19:40:33 distinct = true
2022/07/24 19:40:33 Using n1ql client
2022/07/24 19:40:33 Expected and Actual scan responses are the same
2022/07/24 19:40:33 
--- OverlappingRanges ---
2022/07/24 19:40:33 distinct = true
2022/07/24 19:40:33 Using n1ql client
2022/07/24 19:40:34 Expected and Actual scan responses are the same
2022/07/24 19:40:34 
--- NonOverlappingFilters ---
2022/07/24 19:40:34 distinct = true
2022/07/24 19:40:34 Using n1ql client
2022/07/24 19:40:34 Expected and Actual scan responses are the same
2022/07/24 19:40:34 
--- OverlappingFilters ---
2022/07/24 19:40:34 distinct = true
2022/07/24 19:40:34 Using n1ql client
2022/07/24 19:40:34 Expected and Actual scan responses are the same
2022/07/24 19:40:34 
--- BoundaryFilters ---
2022/07/24 19:40:34 distinct = true
2022/07/24 19:40:35 Using n1ql client
2022/07/24 19:40:35 Expected and Actual scan responses are the same
2022/07/24 19:40:35 
--- SeekAndFilters_NonOverlapping ---
2022/07/24 19:40:35 distinct = true
2022/07/24 19:40:35 Using n1ql client
2022/07/24 19:40:35 Expected and Actual scan responses are the same
2022/07/24 19:40:35 
--- SeekAndFilters_Overlapping ---
2022/07/24 19:40:35 distinct = true
2022/07/24 19:40:35 Using n1ql client
2022/07/24 19:40:35 Expected and Actual scan responses are the same
2022/07/24 19:40:35 
--- SimpleRangeLowUnbounded ---
2022/07/24 19:40:35 distinct = false
2022/07/24 19:40:36 Using n1ql client
2022/07/24 19:40:36 Expected and Actual scan responses are the same
2022/07/24 19:40:36 
--- SimpleRangeHighUnbounded ---
2022/07/24 19:40:36 distinct = false
2022/07/24 19:40:36 Using n1ql client
2022/07/24 19:40:36 Expected and Actual scan responses are the same
2022/07/24 19:40:36 
--- SimpleRangeMultipleUnbounded ---
2022/07/24 19:40:36 distinct = false
2022/07/24 19:40:37 Using n1ql client
2022/07/24 19:40:37 Expected and Actual scan responses are the same
2022/07/24 19:40:37 
--- FiltersWithUnbounded ---
2022/07/24 19:40:37 distinct = false
2022/07/24 19:40:37 Using n1ql client
2022/07/24 19:40:37 Expected and Actual scan responses are the same
2022/07/24 19:40:37 
--- FiltersLowGreaterThanHigh ---
2022/07/24 19:40:37 distinct = false
2022/07/24 19:40:37 Using n1ql client
2022/07/24 19:40:37 Expected and Actual scan responses are the same
2022/07/24 19:40:37 

--------- Simple Index with 1 field ---------
2022/07/24 19:40:37 
--- SingleIndexSimpleRange ---
2022/07/24 19:40:37 distinct = true
2022/07/24 19:40:38 Using n1ql client
2022/07/24 19:40:38 Expected and Actual scan responses are the same
2022/07/24 19:40:38 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/07/24 19:40:38 distinct = true
2022/07/24 19:40:38 Using n1ql client
2022/07/24 19:40:38 Expected and Actual scan responses are the same
2022/07/24 19:40:38 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/07/24 19:40:38 distinct = true
2022/07/24 19:40:38 Using n1ql client
2022/07/24 19:40:38 Expected and Actual scan responses are the same
2022/07/24 19:40:38 

--------- Composite Index with 3 fields ---------
2022/07/24 19:40:38 
--- ScanAllNoFilter ---
2022/07/24 19:40:38 distinct = true
2022/07/24 19:40:39 Using n1ql client
2022/07/24 19:40:39 Expected and Actual scan responses are the same
2022/07/24 19:40:39 
--- ScanAllFilterNil ---
2022/07/24 19:40:39 distinct = true
2022/07/24 19:40:39 Using n1ql client
2022/07/24 19:40:39 Expected and Actual scan responses are the same
2022/07/24 19:40:39 
--- ScanAll_AllFiltersNil ---
2022/07/24 19:40:39 distinct = true
2022/07/24 19:40:40 Using n1ql client
2022/07/24 19:40:40 Expected and Actual scan responses are the same
2022/07/24 19:40:40 
--- 3FieldsSingleSeek ---
2022/07/24 19:40:40 distinct = true
2022/07/24 19:40:40 Using n1ql client
2022/07/24 19:40:40 Expected and Actual scan responses are the same
2022/07/24 19:40:40 
--- 3FieldsMultipleSeeks ---
2022/07/24 19:40:40 distinct = true
2022/07/24 19:40:41 Using n1ql client
2022/07/24 19:40:41 Expected and Actual scan responses are the same
2022/07/24 19:40:41 
--- 3FieldsMultipleSeeks_Identical ---
2022/07/24 19:40:41 distinct = true
2022/07/24 19:40:41 Using n1ql client
2022/07/24 19:40:41 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDescDistinct (10.69s)
=== RUN   TestGroupAggrSetup
2022/07/24 19:40:41 In TestGroupAggrSetup()
2022/07/24 19:40:41 Emptying the default bucket
2022/07/24 19:40:44 Flush Enabled on bucket default, responseBody: 
2022/07/24 19:41:22 Flushed the bucket default, Response body: 
2022/07/24 19:41:22 Dropping the secondary index index_agg
2022/07/24 19:41:22 Populating the default bucket
2022/07/24 19:41:26 Created the secondary index index_agg. Waiting for it become active
2022/07/24 19:41:26 Index is 12157763402219248702 now active
--- PASS: TestGroupAggrSetup (49.11s)
=== RUN   TestGroupAggrLeading
2022/07/24 19:41:30 In TestGroupAggrLeading()
2022/07/24 19:41:30 Total Scanresults = 7
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 3
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrLeading (0.03s)
=== RUN   TestGroupAggrNonLeading
2022/07/24 19:41:30 In TestGroupAggrNonLeading()
2022/07/24 19:41:30 Total Scanresults = 4
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNonLeading (0.00s)
=== RUN   TestGroupAggrNoGroup
2022/07/24 19:41:30 In TestGroupAggrNoGroup()
2022/07/24 19:41:30 Total Scanresults = 1
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNoGroup (0.00s)
=== RUN   TestGroupAggrMinMax
2022/07/24 19:41:30 In TestGroupAggrMinMax()
2022/07/24 19:41:30 Total Scanresults = 4
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMinMax (0.00s)
=== RUN   TestGroupAggrMinMax2
2022/07/24 19:41:30 In TestGroupAggrMinMax()
2022/07/24 19:41:30 Total Scanresults = 1
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMinMax2 (0.00s)
=== RUN   TestGroupAggrLeading_N1QLExprs
2022/07/24 19:41:30 In TestGroupAggrLeading_N1QLExprs()
2022/07/24 19:41:30 Total Scanresults = 17
2022/07/24 19:41:30 basicGroupAggrN1QLExprs1: Scan validation passed
2022/07/24 19:41:30 Total Scanresults = 9
2022/07/24 19:41:30 basicGroupAggrN1QLExprs2: Scan validation passed
--- PASS: TestGroupAggrLeading_N1QLExprs (0.22s)
=== RUN   TestGroupAggrLimit
2022/07/24 19:41:30 In TestGroupAggrLimit()
2022/07/24 19:41:30 Total Scanresults = 3
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrLimit (0.00s)
=== RUN   TestGroupAggrOffset
2022/07/24 19:41:30 In TestGroupAggrOffset()
2022/07/24 19:41:30 Total Scanresults = 3
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrOffset (0.00s)
=== RUN   TestGroupAggrCountN
2022/07/24 19:41:30 In TestGroupAggrCountN()
2022/07/24 19:41:30 Total Scanresults = 4
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 4
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrCountN (0.00s)
=== RUN   TestGroupAggrNoGroupNoMatch
2022/07/24 19:41:30 In TestGroupAggrNoGroupNoMatch()
2022/07/24 19:41:30 Total Scanresults = 1
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNoGroupNoMatch (0.00s)
=== RUN   TestGroupAggrGroupNoMatch
2022/07/24 19:41:30 In TestGroupAggrGroupNoMatch()
2022/07/24 19:41:30 Total Scanresults = 0
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrGroupNoMatch (0.00s)
=== RUN   TestGroupAggrMultDataTypes
2022/07/24 19:41:30 In TestGroupAggrMultDataTypes()
2022/07/24 19:41:30 Total Scanresults = 8
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMultDataTypes (0.00s)
=== RUN   TestGroupAggrDistinct
2022/07/24 19:41:30 In TestGroupAggrDistinct()
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDistinct (0.00s)
=== RUN   TestGroupAggrDistinct2
2022/07/24 19:41:30 In TestGroupAggrDistinct2()
2022/07/24 19:41:30 Total Scanresults = 1
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 4
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 4
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDistinct2 (0.00s)
=== RUN   TestGroupAggrNull
2022/07/24 19:41:30 In TestGroupAggrNull()
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNull (0.00s)
=== RUN   TestGroupAggrInt64
2022/07/24 19:41:30 In TestGroupAggrInt64()
2022/07/24 19:41:30 Updating the default bucket
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:30 Total Scanresults = 2
2022/07/24 19:41:30 Expected and Actual scan responses are the same
2022/07/24 19:41:31 Total Scanresults = 2
2022/07/24 19:41:31 Expected and Actual scan responses are the same
2022/07/24 19:41:31 Total Scanresults = 2
2022/07/24 19:41:31 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrInt64 (0.19s)
=== RUN   TestGroupAggr1
2022/07/24 19:41:31 In TestGroupAggr1()
2022/07/24 19:41:31 In DropAllSecondaryIndexes()
2022/07/24 19:41:31 Index found:  index_companyname_desc
2022/07/24 19:41:31 Dropped index index_companyname_desc
2022/07/24 19:41:31 Index found:  index_company_name_age_desc
2022/07/24 19:41:31 Dropped index index_company_name_age_desc
2022/07/24 19:41:31 Index found:  index_agg
2022/07/24 19:41:31 Dropped index index_agg
2022/07/24 19:41:31 Index found:  #primary
2022/07/24 19:41:31 Dropped index #primary
2022/07/24 19:41:31 Index found:  index_company_desc
2022/07/24 19:41:31 Dropped index index_company_desc
2022/07/24 19:42:09 Flushed the bucket default, Response body: 
2022/07/24 19:42:17 Created the secondary index idx_aggrs. Waiting for it become active
2022/07/24 19:42:17 Index is 2140573755180433705 now active
2022/07/24 19:42:17 Total Scanresults = 641
2022/07/24 19:42:18 Total Scanresults = 753
--- PASS: TestGroupAggr1 (47.56s)
=== RUN   TestGroupAggrArrayIndex
2022/07/24 19:42:18 In TestGroupAggrArrayIndex()
2022/07/24 19:42:22 Created the secondary index ga_arr1. Waiting for it become active
2022/07/24 19:42:22 Index is 418270108795685790 now active
2022/07/24 19:42:26 Created the secondary index ga_arr2. Waiting for it become active
2022/07/24 19:42:26 Index is 5213247467464237608 now active
2022/07/24 19:42:26 Scenario 1
2022/07/24 19:42:26 Total Scanresults = 641
2022/07/24 19:42:26 Scenario 2
2022/07/24 19:42:26 Total Scanresults = 2835
2022/07/24 19:42:27 Scenario 3
2022/07/24 19:42:27 Total Scanresults = 1
2022/07/24 19:42:27 Scenario 4
2022/07/24 19:42:27 Total Scanresults = 991
2022/07/24 19:42:28 Scenario 5
2022/07/24 19:42:28 Total Scanresults = 2835
2022/07/24 19:42:29 Scenario 6
2022/07/24 19:42:29 Total Scanresults = 1
2022/07/24 19:42:29 Scenario 7
2022/07/24 19:42:29 Total Scanresults = 2931
2022/07/24 19:42:32 Scenario 8
2022/07/24 19:42:32 Total Scanresults = 1168
2022/07/24 19:42:33 Scenario 9
2022/07/24 19:42:33 Total Scanresults = 1
2022/07/24 19:42:33 Scenario 10
2022/07/24 19:42:33 Total Scanresults = 641
2022/07/24 19:42:33 Scenario 11
2022/07/24 19:42:33 Total Scanresults = 1168
2022/07/24 19:42:34 Scenario 12
2022/07/24 19:42:34 Total Scanresults = 1
2022/07/24 19:42:34 Scenario 13
2022/07/24 19:42:38 Total Scanresults = 1
2022/07/24 19:42:38 Count of scanResults is 1
2022/07/24 19:42:38 Value: [2 117]
--- PASS: TestGroupAggrArrayIndex (20.55s)
=== RUN   TestGroupAggr_FirstValidAggrOnly
2022/07/24 19:42:39 In TestGroupAggr_FirstValidAggrOnly()
2022/07/24 19:42:39 In DropAllSecondaryIndexes()
2022/07/24 19:42:39 Index found:  ga_arr1
2022/07/24 19:42:39 Dropped index ga_arr1
2022/07/24 19:42:39 Index found:  #primary
2022/07/24 19:42:39 Dropped index #primary
2022/07/24 19:42:39 Index found:  idx_aggrs
2022/07/24 19:42:39 Dropped index idx_aggrs
2022/07/24 19:42:39 Index found:  test_oneperprimarykey
2022/07/24 19:42:39 Dropped index test_oneperprimarykey
2022/07/24 19:42:39 Index found:  ga_arr2
2022/07/24 19:42:39 Dropped index ga_arr2
2022/07/24 19:42:52 Created the secondary index idx_asc_3field. Waiting for it become active
2022/07/24 19:42:52 Index is 8924574393006862894 now active
2022/07/24 19:42:57 Created the secondary index idx_desc_3field. Waiting for it become active
2022/07/24 19:42:57 Index is 2586406141265625888 now active
2022/07/24 19:42:57 === MIN no group by ===
2022/07/24 19:42:57 Total Scanresults = 1
2022/07/24 19:42:57 Count of scanResults is 1
2022/07/24 19:42:57 Value: ["ACCEL"]
2022/07/24 19:42:57 === MIN no group by, no row match ===
2022/07/24 19:42:57 Total Scanresults = 1
2022/07/24 19:42:57 Count of scanResults is 1
2022/07/24 19:42:57 Value: [null]
2022/07/24 19:42:57 === MIN with group by ===
2022/07/24 19:42:57 Total Scanresults = 641
2022/07/24 19:42:57 === MIN with group by, no row match ===
2022/07/24 19:42:57 Total Scanresults = 0
2022/07/24 19:42:58 === One Aggr, no group by ===
2022/07/24 19:42:58 Total Scanresults = 1
2022/07/24 19:42:58 Count of scanResults is 1
2022/07/24 19:42:58 Value: ["FANFARE"]
2022/07/24 19:42:58 === One Aggr, no group by, no row match ===
2022/07/24 19:42:58 Total Scanresults = 1
2022/07/24 19:42:58 Count of scanResults is 1
2022/07/24 19:42:58 Value: [null]
2022/07/24 19:42:58 === Multiple Aggr, no group by ===
2022/07/24 19:42:58 Total Scanresults = 1
2022/07/24 19:42:58 Count of scanResults is 1
2022/07/24 19:42:58 Value: ["FANFARE" 15]
2022/07/24 19:42:58 === Multiple Aggr, no group by, no row match ===
2022/07/24 19:42:58 Total Scanresults = 1
2022/07/24 19:42:58 Count of scanResults is 1
2022/07/24 19:42:58 Value: [null null]
2022/07/24 19:42:58 === No Aggr, 1 group by ===
2022/07/24 19:42:58 Total Scanresults = 211
2022/07/24 19:42:58 === Aggr on non-leading key, previous equality filter, no group ===
2022/07/24 19:42:58 Total Scanresults = 1
2022/07/24 19:42:58 Count of scanResults is 1
2022/07/24 19:42:58 Value: [59]
2022/07/24 19:42:58 === Aggr on non-leading key, previous equality filters, no group ===
2022/07/24 19:42:58 Total Scanresults = 1
2022/07/24 19:42:58 Count of scanResults is 1
2022/07/24 19:42:58 Value: [null]
2022/07/24 19:42:59 === Aggr on non-leading key, previous non-equality filters, no group ===
2022/07/24 19:42:59 Total Scanresults = 1
2022/07/24 19:42:59 Count of scanResults is 1
2022/07/24 19:42:59 Value: ["Adam"]
2022/07/24 19:42:59 === MIN on desc, no group ===
2022/07/24 19:42:59 Total Scanresults = 1
2022/07/24 19:42:59 Count of scanResults is 1
2022/07/24 19:42:59 Value: ["FANFARE"]
2022/07/24 19:42:59 === MAX on asc, no group ===
2022/07/24 19:42:59 Total Scanresults = 1
2022/07/24 19:42:59 Count of scanResults is 1
2022/07/24 19:42:59 Value: ["OZEAN"]
2022/07/24 19:42:59 === MAX on desc, no group ===
2022/07/24 19:42:59 Total Scanresults = 1
2022/07/24 19:42:59 Count of scanResults is 1
2022/07/24 19:42:59 Value: ["OZEAN"]
2022/07/24 19:42:59 === COUNT(DISTINCT const_expr, no group ===
2022/07/24 19:42:59 Total Scanresults = 1
2022/07/24 19:42:59 Count of scanResults is 1
2022/07/24 19:42:59 Value: [1]
2022/07/24 19:42:59 === COUNT(DISTINCT const_expr, no group, no row match ===
2022/07/24 19:42:59 Total Scanresults = 1
2022/07/24 19:42:59 Count of scanResults is 1
2022/07/24 19:42:59 Value: [0]
2022/07/24 19:43:00 === COUNT(const_expr, no group ===
2022/07/24 19:43:00 Total Scanresults = 1
2022/07/24 19:43:00 Count of scanResults is 1
2022/07/24 19:43:00 Value: [345]
2022/07/24 19:43:04 Created the secondary index indexMinAggr. Waiting for it become active
2022/07/24 19:43:04 Index is 10167383407076541875 now active
2022/07/24 19:43:04 === Equality filter check: Equality for a, nil filter for b - inclusion 0, no filter for c ===
2022/07/24 19:43:04 Total Scanresults = 1
2022/07/24 19:43:04 Count of scanResults is 1
2022/07/24 19:43:04 Value: [5]
2022/07/24 19:43:04 === Equality filter check: Equality for a, nil filter for b - inclusion 3, no filter for c ===
2022/07/24 19:43:04 Total Scanresults = 1
2022/07/24 19:43:04 Count of scanResults is 1
2022/07/24 19:43:04 Value: [5]
2022/07/24 19:43:04 === Equality filter check: Equality for a, nil filter for b - inclusion 3, nil filter for c ===
2022/07/24 19:43:04 Total Scanresults = 1
2022/07/24 19:43:04 Count of scanResults is 1
2022/07/24 19:43:04 Value: [5]
--- PASS: TestGroupAggr_FirstValidAggrOnly (25.58s)
=== RUN   TestGroupAggrPrimary
2022/07/24 19:43:04 In TestGroupAggrPrimary()
2022/07/24 19:43:04 Total Scanresults = 1
2022/07/24 19:43:04 Total Scanresults = 1
2022/07/24 19:43:04 Total Scanresults = 1
2022/07/24 19:43:04 Total Scanresults = 1002
2022/07/24 19:43:05 Total Scanresults = 1002
2022/07/24 19:43:05 Total Scanresults = 1
2022/07/24 19:43:05 Total Scanresults = 1
2022/07/24 19:43:05 Total Scanresults = 1
2022/07/24 19:43:05 Total Scanresults = 1
2022/07/24 19:43:05 Total Scanresults = 1
2022/07/24 19:43:06 Total Scanresults = 1
2022/07/24 19:43:06 --- MB-28305 Scenario 1 ---
2022/07/24 19:43:06 Total Scanresults = 1
2022/07/24 19:43:06 Count of scanResults is 1
2022/07/24 19:43:06 Value: [0]
2022/07/24 19:43:06 --- MB-28305 Scenario 2 ---
2022/07/24 19:43:06 Total Scanresults = 1
2022/07/24 19:43:06 Count of scanResults is 1
2022/07/24 19:43:06 Value: [0]
2022/07/24 19:43:06 --- MB-28305 Scenario 3 ---
2022/07/24 19:43:06 Total Scanresults = 1
2022/07/24 19:43:06 Count of scanResults is 1
2022/07/24 19:43:06 Value: [0]
--- PASS: TestGroupAggrPrimary (1.49s)
=== RUN   TestGroupAggrDocumentKey
2022/07/24 19:43:06 In TestGroupAggrDocumentKey()
2022/07/24 19:43:06 Dropping the secondary index documentkey_idx1
2022/07/24 19:43:06 Dropping the secondary index documentkey_idx2
2022/07/24 19:43:06 Populating the default bucket for TestGroupAggrDocumentKey single key index
2022/07/24 19:43:10 Created the secondary index documentkey_idx1. Waiting for it become active
2022/07/24 19:43:10 Index is 3034583155003661807 now active
2022/07/24 19:43:10 Using n1ql client
2022/07/24 19:43:10 Scanresult Row  ["1"] :  
2022/07/24 19:43:10 Scanresult Row  ["2"] :  
2022/07/24 19:43:10 Scanresult Row  ["3"] :  
2022/07/24 19:43:10 Expected and Actual scan responses are the same
2022/07/24 19:43:10 Populating the default bucket for TestGroupAggrDocumentKey composite key index
2022/07/24 19:43:14 Created the secondary index documentkey_idx2. Waiting for it become active
2022/07/24 19:43:14 Index is 13571793287969049885 now active
2022/07/24 19:43:14 Using n1ql client
2022/07/24 19:43:15 Scanresult Row  ["1"] :  
2022/07/24 19:43:15 Scanresult Row  ["2"] :  
2022/07/24 19:43:15 Scanresult Row  ["3"] :  
2022/07/24 19:43:15 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDocumentKey (9.53s)
=== RUN   TestRebalanceSetupCluster
2022/07/24 19:43:15 set14_rebalance_test.go::TestRebalanceSetupCluster: entry: Current cluster configuration: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:43:15 set14_rebalance_test.go::TestRebalanceSetupCluster: 1. Setting up initial cluster configuration
2022/07/24 19:43:15 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022/07/24 19:43:20 Rebalance progress: 4.166666666666666
2022/07/24 19:43:25 Rebalance progress: 9.244791666666666
2022/07/24 19:43:31 Rebalance progress: 15.29947916666667
2022/07/24 19:43:36 Rebalance progress: 21.35416666666666
2022/07/24 19:43:41 Rebalance progress: 27.21354166666666
2022/07/24 19:43:46 Rebalance progress: 33.203125
2022/07/24 19:43:51 Rebalance progress: 39.81119791666667
2022/07/24 19:43:56 Rebalance progress: 45.37760416666666
2022/07/24 19:44:00 Rebalance progress: 50
2022/07/24 19:44:05 Rebalance progress: 50
2022/07/24 19:44:10 Rebalance progress: 50
2022-07-24T19:44:11.687+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:46394->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T19:44:11.688+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:46396->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 19:44:15 Rebalance progress: 100
2022/07/24 19:44:15 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 19:44:24 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/07/24 19:44:29 Rebalance progress: 100
2022/07/24 19:44:29 set14_rebalance_test.go::TestRebalanceSetupCluster: 2. Changing indexer.settings.rebalance.redistribute_indexes to true
2022/07/24 19:44:29 Changing config key indexer.settings.rebalance.redistribute_indexes to value true
2022/07/24 19:44:30 set14_rebalance_test.go::TestRebalanceSetupCluster: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestRebalanceSetupCluster (74.34s)
=== RUN   TestCreateDocsBeforeRebalance
2022/07/24 19:44:30 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:44:30 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: 1. Creating 100 documents
2022/07/24 19:44:30 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: 100 documents created
2022/07/24 19:44:30 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestCreateDocsBeforeRebalance (0.13s)
=== RUN   TestCreateIndexesBeforeRebalance
2022/07/24 19:44:30 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:44:30 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 1. Creating 17 indexes: non-partitioned, 0-replica, non-deferred
2022/07/24 19:44:30 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN__id on `default`(_id)
2022/07/24 19:44:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN__id index is now active.
2022/07/24 19:44:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_docid on `default`(docid)
2022/07/24 19:44:38 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_docid index is now active.
2022/07/24 19:44:38 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_guid on `default`(guid)
2022/07/24 19:44:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_guid index is now active.
2022/07/24 19:44:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_isActive on `default`(isActive)
2022/07/24 19:44:46 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_isActive index is now active.
2022/07/24 19:44:46 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_balance on `default`(balance)
2022/07/24 19:44:50 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_balance index is now active.
2022/07/24 19:44:50 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_picture on `default`(picture)
2022/07/24 19:44:53 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_picture index is now active.
2022/07/24 19:44:53 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_age on `default`(age)
2022/07/24 19:44:57 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_age index is now active.
2022/07/24 19:44:57 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_eyeColor on `default`(eyeColor)
2022/07/24 19:45:01 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_eyeColor index is now active.
2022/07/24 19:45:01 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_name on `default`(name)
2022/07/24 19:45:05 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_name index is now active.
2022/07/24 19:45:05 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_gender on `default`(gender)
2022/07/24 19:45:09 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_gender index is now active.
2022/07/24 19:45:09 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_company on `default`(company)
2022/07/24 19:45:13 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_company index is now active.
2022/07/24 19:45:13 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_email on `default`(email)
2022/07/24 19:45:17 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_email index is now active.
2022/07/24 19:45:17 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_phone on `default`(phone)
2022/07/24 19:45:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_phone index is now active.
2022/07/24 19:45:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_registered on `default`(registered)
2022/07/24 19:45:25 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_registered index is now active.
2022/07/24 19:45:25 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_latitude on `default`(latitude)
2022/07/24 19:45:30 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_latitude index is now active.
2022/07/24 19:45:30 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_longitude on `default`(longitude)
2022/07/24 19:45:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_longitude index is now active.
2022/07/24 19:45:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_favoriteFruit on `default`(favoriteFruit)
2022/07/24 19:45:38 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_favoriteFruit index is now active.
2022/07/24 19:45:38 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 2. Creating 17 indexes: non-partitioned, 0-replica, DEFERRED
2022/07/24 19:45:38 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED__id_docid on `default`(_id, docid) with {"defer_build":true}
2022/07/24 19:45:38 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED__id_docid index is now deferred.
2022/07/24 19:45:38 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_docid_guid on `default`(docid, guid) with {"defer_build":true}
2022/07/24 19:45:38 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_docid_guid index is now deferred.
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_guid_isActive on `default`(guid, isActive) with {"defer_build":true}
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_guid_isActive index is now deferred.
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_isActive_balance on `default`(isActive, balance) with {"defer_build":true}
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_isActive_balance index is now deferred.
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_balance_picture on `default`(balance, picture) with {"defer_build":true}
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_balance_picture index is now deferred.
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_picture_age on `default`(picture, age) with {"defer_build":true}
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_picture_age index is now deferred.
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_age_eyeColor on `default`(age, eyeColor) with {"defer_build":true}
2022/07/24 19:45:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_age_eyeColor index is now deferred.
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_eyeColor_name on `default`(eyeColor, name) with {"defer_build":true}
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_eyeColor_name index is now deferred.
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_name_gender on `default`(name, gender) with {"defer_build":true}
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_name_gender index is now deferred.
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_gender_company on `default`(gender, company) with {"defer_build":true}
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_gender_company index is now deferred.
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_company_email on `default`(company, email) with {"defer_build":true}
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_company_email index is now deferred.
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_email_phone on `default`(email, phone) with {"defer_build":true}
2022/07/24 19:45:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_email_phone index is now deferred.
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_phone_registered on `default`(phone, registered) with {"defer_build":true}
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_phone_registered index is now deferred.
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_registered_latitude on `default`(registered, latitude) with {"defer_build":true}
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_registered_latitude index is now deferred.
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_latitude_longitude on `default`(latitude, longitude) with {"defer_build":true}
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_latitude_longitude index is now deferred.
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_longitude_favoriteFruit on `default`(longitude, favoriteFruit) with {"defer_build":true}
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_longitude_favoriteFruit index is now deferred.
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_favoriteFruit__id on `default`(favoriteFruit, _id) with {"defer_build":true}
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_favoriteFruit__id index is now deferred.
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 3. Creating 3 indexes: 7-PARTITION, 0-replica, non-deferred
2022/07/24 19:45:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_7PARTITIONS__id_guid on `default`(_id, guid) partition by hash(Meta().id) with {"num_partition":7}
2022/07/24 19:45:45 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS__id_guid index is now active.
2022/07/24 19:45:45 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_7PARTITIONS_docid_isActive on `default`(docid, isActive) partition by hash(Meta().id) with {"num_partition":7}
2022/07/24 19:45:50 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS_docid_isActive index is now active.
2022/07/24 19:45:50 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_7PARTITIONS_guid_balance on `default`(guid, balance) partition by hash(Meta().id) with {"num_partition":7}
2022/07/24 19:45:54 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS_guid_balance index is now active.
2022/07/24 19:45:54 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestCreateIndexesBeforeRebalance (84.00s)
=== RUN   TestIndexNodeRebalanceIn
2022/07/24 19:45:54 TestIndexNodeRebalanceIn entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:45:54 TestIndexNodeRebalanceIn: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/07/24 19:45:54 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/07/24 19:46:01 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022/07/24 19:46:01 TestIndexNodeRebalanceIn: 2. Adding index node 127.0.0.1:9003 to the cluster
2022/07/24 19:46:01 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/07/24 19:46:08 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022/07/24 19:46:08 TestIndexNodeRebalanceIn: 3. Rebalancing
2022/07/24 19:46:14 Rebalance progress: 0
2022/07/24 19:46:19 Rebalance progress: 12.5
2022/07/24 19:46:24 Rebalance progress: 44.23076923076923
2022/07/24 19:46:29 Rebalance progress: 52.88461538461539
2022/07/24 19:46:34 Rebalance progress: 58.65384615384615
2022/07/24 19:46:39 Rebalance progress: 58.65384615384615
2022/07/24 19:46:44 Rebalance progress: 64.42307692307692
2022/07/24 19:46:49 Rebalance progress: 70.1923076923077
2022/07/24 19:46:54 Rebalance progress: 75.96153846153845
2022/07/24 19:46:59 Rebalance progress: 81.73076923076923
2022/07/24 19:47:04 Rebalance progress: 100
2022/07/24 19:47:04 TestIndexNodeRebalanceIn exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestIndexNodeRebalanceIn (71.89s)
=== RUN   TestCreateReplicatedIndexesBeforeRebalance
2022/07/24 19:47:06 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:47:06 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: 1. Creating 5 indexes: non-partitioned, 2-REPLICA, non-deferred
2022/07/24 19:47:06 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS__id_isActive on `default`(_id, isActive) with {"num_replica":2}
2022/07/24 19:47:16 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS__id_isActive index is now active.
2022/07/24 19:47:16 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_docid_balance on `default`(docid, balance) with {"num_replica":2}
2022/07/24 19:47:28 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_docid_balance index is now active.
2022/07/24 19:47:28 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_guid_picture on `default`(guid, picture) with {"num_replica":2}
2022/07/24 19:47:40 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_guid_picture index is now active.
2022/07/24 19:47:40 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_isActive_age on `default`(isActive, age) with {"num_replica":2}
2022/07/24 19:47:49 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_isActive_age index is now active.
2022/07/24 19:47:49 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_balance_eyeColor on `default`(balance, eyeColor) with {"num_replica":2}
2022/07/24 19:47:56 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_balance_eyeColor index is now active.
2022/07/24 19:47:56 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: 2. Creating 2 indexes: 5-PARTITION, 1-REPLICA, non-deferred
2022/07/24 19:47:56 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_5PARTITIONS_1REPLICAS__id_balance on `default`(_id, balance) partition by hash(Meta().id) with {"num_partition":5, "num_replica":1}
2022/07/24 19:48:07 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_5PARTITIONS_1REPLICAS__id_balance index is now active.
2022/07/24 19:48:07 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_5PARTITIONS_1REPLICAS_docid_picture on `default`(docid, picture) partition by hash(Meta().id) with {"num_partition":5, "num_replica":1}
2022/07/24 19:48:16 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_5PARTITIONS_1REPLICAS_docid_picture index is now active.
2022/07/24 19:48:17 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestCreateReplicatedIndexesBeforeRebalance (70.89s)
=== RUN   TestIndexNodeRebalanceOut
2022/07/24 19:48:17 set14_rebalance_test.go::TestIndexNodeRebalanceOut: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:48:17 set14_rebalance_test.go::TestIndexNodeRebalanceOut: 1. Rebalancing index node 127.0.0.1:9001 out of the cluster
2022/07/24 19:48:17 Removing node(s): [127.0.0.1:9001] from the cluster
2022/07/24 19:48:22 Rebalance progress: 12.5
2022/07/24 19:48:27 Rebalance progress: 35
2022/07/24 19:48:32 Rebalance progress: 46.25
2022/07/24 19:48:37 Rebalance progress: 53.75000000000001
2022/07/24 19:48:42 Rebalance progress: 61.25000000000001
2022/07/24 19:48:47 Rebalance progress: 64.99999999999999
2022/07/24 19:48:52 Rebalance progress: 72.50000000000001
2022-07-24T19:48:56.781+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:60840->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T19:48:56.787+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:60844->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 19:48:57 Rebalance progress: 87.5
2022/07/24 19:49:02 Rebalance progress: 100
2022/07/24 19:49:02 set14_rebalance_test.go::TestIndexNodeRebalanceOut: exit: Current cluster configuration: map[127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestIndexNodeRebalanceOut (47.30s)
=== RUN   TestFailoverAndRebalance
2022/07/24 19:49:04 set14_rebalance_test.go::TestFailoverAndRebalance: entry: Current cluster configuration: map[127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:49:04 set14_rebalance_test.go::TestFailoverAndRebalance: 1. Failing over index node 127.0.0.1:9002
2022/07/24 19:49:04 Failing over: [127.0.0.1:9002]
2022-07-24T19:49:04.726+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:34110->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-07-24T19:49:04.731+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:34118->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/07/24 19:49:05 set14_rebalance_test.go::TestFailoverAndRebalance: 2. Rebalancing
2022/07/24 19:49:10 Rebalance progress: 25
2022/07/24 19:49:15 Rebalance progress: 100
2022/07/24 19:49:15 set14_rebalance_test.go::TestFailoverAndRebalance: exit: Current cluster configuration: map[127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestFailoverAndRebalance (13.63s)
=== RUN   TestSwapRebalance
2022/07/24 19:49:18 set14_rebalance_test.go::TestSwapRebalance: entry: Current cluster configuration: map[127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:49:18 set14_rebalance_test.go::TestSwapRebalance: 1. Adding index node 127.0.0.1:9001 to the cluster
2022/07/24 19:49:18 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 19:49:25 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/07/24 19:49:25 set14_rebalance_test.go::TestSwapRebalance: 2. Swap rebalancing index node 127.0.0.1:9003 out of the cluster
2022/07/24 19:49:25 Removing node(s): [127.0.0.1:9003] from the cluster
2022-07-24T19:49:29.529+05:30 [Error] WatcherServer.runOnce() : tryNum: 1, peer: 127.0.0.1:9106, error: dial tcp 127.0.0.1:9106: connect: connection refused
2022-07-24T19:49:29.571+05:30 [Error] WatcherServer.runOnce() : tryNum: 1, peer: 127.0.0.1:9106, error: dial tcp 127.0.0.1:9106: connect: connection refused
2022-07-24T19:49:30.563+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022/07/24 19:49:31 Rebalance progress: 16.66666666666667
2022/07/24 19:49:36 Rebalance progress: 16.66666666666667
2022/07/24 19:49:41 Rebalance progress: 38.00000000000001
2022/07/24 19:49:46 Rebalance progress: 46
2022/07/24 19:49:52 Rebalance progress: 62
2022/07/24 19:49:56 Rebalance progress: 62
2022/07/24 19:50:01 Rebalance progress: 70
2022/07/24 19:50:06 Rebalance progress: 83.33333333333333
2022-07-24T19:50:07.214+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:50790->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-07-24T19:50:07.234+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:50798->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022/07/24 19:50:11 Rebalance progress: 100
2022/07/24 19:50:11 set14_rebalance_test.go::TestSwapRebalance: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestSwapRebalance (55.67s)
=== RUN   TestRebalanceReplicaRepair
2022/07/24 19:50:13 TestRebalanceReplicaRepair entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:50:13 TestRebalanceReplicaRepair: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/07/24 19:50:13 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/07/24 19:50:21 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022/07/24 19:50:21 TestRebalanceReplicaRepair: 2. Adding index node 127.0.0.1:9003 to the cluster
2022/07/24 19:50:21 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/07/24 19:50:29 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022/07/24 19:50:29 TestRebalanceReplicaRepair: 3. Rebalancing
2022-07-24T19:50:32.924+05:30 [Error] WatcherServer.runOnce() : tryNum: 1, peer: 127.0.0.1:9112, error: dial tcp 127.0.0.1:9112: connect: connection refused
2022-07-24T19:50:33.130+05:30 [Error] WatcherServer.runOnce() : tryNum: 1, peer: 127.0.0.1:9112, error: dial tcp 127.0.0.1:9112: connect: connection refused
2022/07/24 19:50:34 Rebalance progress: 12.5
2022/07/24 19:50:39 Rebalance progress: 12.5
2022/07/24 19:50:44 Rebalance progress: 24.59677419354839
2022/07/24 19:50:49 Rebalance progress: 31.85483870967742
2022/07/24 19:50:54 Rebalance progress: 36.69354838709678
2022/07/24 19:50:59 Rebalance progress: 41.53225806451613
2022/07/24 19:51:04 Rebalance progress: 46.37096774193549
2022/07/24 19:51:09 Rebalance progress: 46.37096774193549
2022/07/24 19:51:14 Rebalance progress: 51.20967741935484
2022/07/24 19:51:19 Rebalance progress: 56.04838709677419
2022/07/24 19:51:24 Rebalance progress: 58.46774193548387
2022/07/24 19:51:29 Rebalance progress: 63.30645161290322
2022/07/24 19:51:34 Rebalance progress: 70.56451612903226
2022/07/24 19:51:39 Rebalance progress: 70.56451612903226
2022/07/24 19:51:44 Rebalance progress: 75.40322580645162
2022/07/24 19:51:49 Rebalance progress: 80.24193548387098
2022/07/24 19:51:54 Rebalance progress: 100
2022/07/24 19:51:54 TestRebalanceReplicaRepair exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestRebalanceReplicaRepair (102.80s)
=== RUN   TestPauseAndResume
2022/07/24 19:51:56 set14_rebalance_test.go::TestPauseAndResume: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:51:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc00e87acf0}, TaskList &{Rev:[0 0 0 0 0 0 0 13] Tasks:[]}
2022/07/24 19:51:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc00e87afc0}, TaskList &{Rev:[0 0 0 0 0 0 0 19] Tasks:[]}
2022/07/24 19:51:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc00e87b290}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[]}
2022/07/24 19:51:56 set14_rebalance_test.go::TestPauseAndResume: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestPauseAndResume (0.16s)
=== RUN   TestFailureAndRebalanceDuringInitialIndexBuild
2022/07/24 19:51:56 set14_rebalance_test.go::TestPauseAndResume: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:52:01 Created the secondary index index_0. Waiting for it become active
2022/07/24 19:52:01 Index is 9067350403012222297 now active
2022/07/24 19:52:05 Created the secondary index index_1. Waiting for it become active
2022/07/24 19:52:05 Index is 2535618348732082374 now active
2022/07/24 19:52:10 Created the secondary index index_2. Waiting for it become active
2022/07/24 19:52:10 Index is 3703444135599345976 now active
2022/07/24 19:52:14 Created the secondary index index_3. Waiting for it become active
2022/07/24 19:52:14 Index is 3545907153690217355 now active
2022/07/24 19:52:18 Created the secondary index index_4. Waiting for it become active
2022/07/24 19:52:18 Index is 10786258390824082901 now active
2022/07/24 19:52:23 Created the secondary index index_5. Waiting for it become active
2022/07/24 19:52:23 Index is 3097080500054619254 now active
2022/07/24 19:52:27 Created the secondary index index_6. Waiting for it become active
2022/07/24 19:52:27 Index is 2277071069992155907 now active
2022/07/24 19:52:32 Created the secondary index index_7. Waiting for it become active
2022/07/24 19:52:32 Index is 15805577020410731655 now active
2022/07/24 19:52:38 Created the secondary index index_8. Waiting for it become active
2022/07/24 19:52:38 Index is 15366899446119238114 now active
2022/07/24 19:52:45 Created the secondary index index_9. Waiting for it become active
2022/07/24 19:52:45 Index is 1580056888257545015 now active
2022/07/24 19:53:08 Failing over: [127.0.0.1:9002]
2022-07-24T19:53:09.368+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:45380->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-07-24T19:53:09.456+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:45400->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/07/24 19:53:09 Build the deferred index index_11. Waiting for the index to become active
2022/07/24 19:53:09 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:10 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:11 TestFailureAndRebalanceDuringInitialIndexBuild: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/07/24 19:53:11 Kicking off failover recovery, type: full
2022/07/24 19:53:11 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:12 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:13 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:14 Waiting for index 7043047784783130822 to go active ...
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.155+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.156+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022-07-24T19:53:16.156+05:30 [Fatal] indexer node 6238b30b8349fd745fcbca34c552ab56 not available
2022/07/24 19:53:16 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:17 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:18 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:18 Rebalance progress: 12.5
2022/07/24 19:53:19 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:20 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:21 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:22 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:23 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:23 Rebalance failed. See logs for detailed reason. You can try again.
2022/07/24 19:53:23 set14_rebalance_test.go::TestPauseAndResume: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestFailureAndRebalanceDuringInitialIndexBuild (87.19s)
=== RUN   TestRebalanceResetCluster
2022/07/24 19:53:24 set14_rebalance_test.go::TestRebalanceResetCluster: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/07/24 19:53:24 set14_rebalance_test.go::TestRebalanceResetCluster: 1. Restoring indexer.settings.rebalance.redistribute_indexes to false
2022/07/24 19:53:24 Changing config key indexer.settings.rebalance.redistribute_indexes to value false
2022/07/24 19:53:24 set14_rebalance_test.go::TestRebalanceResetCluster: 2. Resetting cluster to initial configuration
2022/07/24 19:53:24 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022/07/24 19:53:24 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:25 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:26 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:27 Waiting for index 7043047784783130822 to go active ...
2022/07/24 19:53:28 Index is 7043047784783130822 now active
2022-07-24T19:53:28.858+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:44842->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T19:53:28.858+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:51074->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-07-24T19:53:28.858+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:33650->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-07-24T19:53:28.913+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:51076->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-07-24T19:53:28.913+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:33680->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-07-24T19:53:28.913+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:44832->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 19:53:30 Rebalance progress: 87.5
2022/07/24 19:53:34 Rebalance progress: 100
2022/07/24 19:53:34 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 19:53:49 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/07/24 19:53:55 Rebalance progress: 100
2022/07/24 19:53:55 set14_rebalance_test.go::TestRebalanceResetCluster: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestRebalanceResetCluster (33.52s)
=== RUN   TestAlterIndexIncrReplica
2022/07/24 19:53:57 In TestAlterIndexIncrReplica()
2022/07/24 19:53:57 This test creates an index with one replica and then increments replica count to 2
2022/07/24 19:53:57 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-07-24T19:53:58.977+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:56062->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T19:53:58.977+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:56054->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 19:54:02 Rebalance progress: 100
2022/07/24 19:54:02 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 19:54:12 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/07/24 19:54:18 Rebalance progress: 100
2022/07/24 19:54:18 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/07/24 19:54:25 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022-07-24T19:54:27.551+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-07-24T19:54:27.552+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-07-24T19:54:27.565+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-07-24T19:54:27.571+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-07-24T19:54:27.586+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-07-24T19:54:27.597+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022/07/24 19:54:30 Rebalance progress: 100
2022/07/24 19:54:30 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/07/24 19:54:37 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022/07/24 19:54:43 Rebalance progress: 100
2022/07/24 19:54:43 In DropAllSecondaryIndexes()
2022/07/24 19:55:29 Flushed the bucket default, Response body: 
2022/07/24 19:55:36 Created the secondary index idx_1. Waiting for it become active
2022/07/24 19:55:36 Index is 17449953518868168744 now active
2022/07/24 19:55:36 Executing alter index command: alter index `default`.idx_1 with {"action":"replica_count", "num_replica":2}
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
2022/07/24 19:55:59 Using n1ql client
--- PASS: TestAlterIndexIncrReplica (122.41s)
=== RUN   TestAlterIndexDecrReplica
2022/07/24 19:55:59 In TestAlterIndexDecrReplica()
2022/07/24 19:55:59 This test creates an index with two replicas and then decrements replica count to 1
2022/07/24 19:55:59 In DropAllSecondaryIndexes()
2022/07/24 19:55:59 Index found:  idx_1
2022/07/24 19:56:00 Dropped index idx_1
2022/07/24 19:56:16 Created the secondary index idx_2. Waiting for it become active
2022/07/24 19:56:16 Index is 16012657462100847308 now active
2022/07/24 19:56:16 Executing alter index command: alter index `default`.idx_2 with {"action":"replica_count", "num_replica":1}
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:36 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
2022/07/24 19:56:37 Using n1ql client
--- PASS: TestAlterIndexDecrReplica (37.39s)
=== RUN   TestAlterIndexDropReplica
2022/07/24 19:56:37 In TestAlterIndexDropReplica()
2022/07/24 19:56:37 This test creates an index with two replicas and then drops one replica from cluster
2022/07/24 19:56:37 In DropAllSecondaryIndexes()
2022/07/24 19:56:37 Index found:  idx_2
2022/07/24 19:56:37 Dropped index idx_2
2022/07/24 19:56:55 Created the secondary index idx_3. Waiting for it become active
2022/07/24 19:56:55 Index is 5649999245084192949 now active
2022/07/24 19:56:55 Executing alter index command: alter index `default`.idx_3 with {"action":"drop_replica", "replicaId":0}
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
2022/07/24 19:57:17 Using n1ql client
--- PASS: TestAlterIndexDropReplica (40.59s)
=== RUN   TestResetCluster_1
2022/07/24 19:57:17 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022/07/24 19:57:23 Rebalance progress: 12.5
2022-07-24T19:57:24.157+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:55254->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-07-24T19:57:24.158+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:44416->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-07-24T19:57:24.158+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57276->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T19:57:24.161+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:44406->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-07-24T19:57:24.161+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57274->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T19:57:24.161+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:55258->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/07/24 19:57:28 Rebalance progress: 100
2022/07/24 19:57:28 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 19:57:43 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/07/24 19:57:49 Rebalance progress: 100
--- PASS: TestResetCluster_1 (31.37s)
=== RUN   TestPartitionDistributionWithReplica
2022/07/24 19:57:49 In TestPartitionDistributionWithReplica()
2022/07/24 19:57:49 This test will create a paritioned index with replica and checks the parition distribution
2022/07/24 19:57:49 Parititions with same ID beloning to both replica and source index should not be on the same node
2022/07/24 19:57:49 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-07-24T19:57:51.750+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:37470->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T19:57:51.764+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:37466->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 19:57:54 Rebalance progress: 100
2022/07/24 19:57:54 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 19:57:55 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 19:58:05 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/07/24 19:58:10 Rebalance progress: 100
2022/07/24 19:58:10 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/07/24 19:58:18 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022/07/24 19:58:23 Rebalance progress: 100
2022/07/24 19:58:23 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/07/24 19:58:30 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022/07/24 19:58:36 Rebalance progress: 100
2022/07/24 19:58:36 In DropAllSecondaryIndexes()
2022/07/24 19:59:21 Flushed the bucket default, Response body: 
2022/07/24 19:59:21 Executing create partition index command on: create index `idx_partn` on `default`(age) partition by hash(meta().id) with {"num_partition":8, "num_replica":1}
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
2022/07/24 19:59:50 Using n1ql client
--- PASS: TestPartitionDistributionWithReplica (121.94s)
=== RUN   TestPartitionedPartialIndex
2022/07/24 19:59:51 Executing create index command: CREATE INDEX `idx_regular` ON `default`(partn_name)
2022/07/24 19:59:55 Using n1ql client
2022/07/24 19:59:56 Dropping the secondary index idx_regular
2022/07/24 19:59:56 Index dropped
2022/07/24 19:59:56 Executing create index command: CREATE INDEX `idx_partial` ON `default`(partn_name) WHERE partn_age >= 0
2022/07/24 20:00:01 Using n1ql client
2022/07/24 20:00:01 Using n1ql client
2022/07/24 20:00:01 Using n1ql client
2022/07/24 20:00:01 Dropping the secondary index idx_partial
2022/07/24 20:00:01 Index dropped
2022/07/24 20:00:01 Executing create index command: CREATE INDEX `idx_partitioned` ON `default`(partn_name) PARTITION BY HASH(meta().id) 
2022/07/24 20:00:08 Using n1ql client
2022/07/24 20:00:09 Using n1ql client
2022/07/24 20:00:09 Dropping the secondary index idx_partitioned
2022/07/24 20:00:09 Index dropped
2022/07/24 20:00:12 Executing create index command: CREATE INDEX `idx_partitioned_partial` ON `default`(partn_name) PARTITION BY HASH(meta().id) WHERE partn_age >= 0
2022/07/24 20:00:20 Using n1ql client
2022/07/24 20:00:21 Using n1ql client
2022/07/24 20:00:21 Using n1ql client
2022/07/24 20:00:21 Using n1ql client
2022/07/24 20:00:21 Dropping the secondary index idx_partitioned_partial
2022/07/24 20:00:21 Index dropped
--- PASS: TestPartitionedPartialIndex (40.64s)
=== RUN   TestResetCluster_2
2022/07/24 20:00:31 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-07-24T20:00:35.238+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:36800->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-07-24T20:00:35.238+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:54188->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-07-24T20:00:35.239+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:38802->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T20:00:35.274+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:36796->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-07-24T20:00:35.274+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:54184->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-07-24T20:00:35.285+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:38814->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 20:00:36 Rebalance progress: 100
2022/07/24 20:00:36 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 20:00:37 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 20:00:39 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/07/24 20:00:56 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/07/24 20:01:01 Rebalance progress: 100
--- PASS: TestResetCluster_2 (29.67s)
=== RUN   TestCollectionSetup
2022/07/24 20:01:01 In TestCollectionSetup()
2022/07/24 20:01:01 In DropAllSecondaryIndexes()
2022/07/24 20:01:56 Flushed the bucket default, Response body: 
--- PASS: TestCollectionSetup (56.73s)
=== RUN   TestCollectionDefault
2022/07/24 20:01:58 In TestCollectionDefault()
2022/07/24 20:02:08 Created the secondary index _default__default_i1. Waiting for it become active
2022/07/24 20:02:08 Index is 11072579693450655634 now active
2022/07/24 20:02:08 Using n1ql client
2022/07/24 20:02:09 Expected and Actual scan responses are the same
2022/07/24 20:02:14 Created the secondary index _default__default_i2. Waiting for it become active
2022/07/24 20:02:14 Index is 14194779724090226166 now active
2022/07/24 20:02:14 Using n1ql client
2022/07/24 20:02:14 Expected and Actual scan responses are the same
2022/07/24 20:02:14 Dropping the secondary index _default__default_i1
2022/07/24 20:02:14 Index dropped
2022/07/24 20:02:14 Using n1ql client
2022/07/24 20:02:14 Expected and Actual scan responses are the same
2022/07/24 20:02:18 Created the secondary index _default__default_i1. Waiting for it become active
2022/07/24 20:02:18 Index is 7190181597564270119 now active
2022/07/24 20:02:18 Using n1ql client
2022/07/24 20:02:19 Expected and Actual scan responses are the same
2022/07/24 20:02:19 Dropping the secondary index _default__default_i1
2022/07/24 20:02:19 Index dropped
2022/07/24 20:02:19 Dropping the secondary index _default__default_i2
2022/07/24 20:02:19 Index dropped
2022/07/24 20:02:22 Created the secondary index _default__default_i1. Waiting for it become active
2022/07/24 20:02:22 Index is 9248672698060929154 now active
2022/07/24 20:02:22 Using n1ql client
2022/07/24 20:02:22 Expected and Actual scan responses are the same
2022/07/24 20:02:28 Created the secondary index _default__default_i2. Waiting for it become active
2022/07/24 20:02:28 Index is 9530679714888394373 now active
2022/07/24 20:02:28 Using n1ql client
2022/07/24 20:02:28 Expected and Actual scan responses are the same
2022/07/24 20:02:28 Dropping the secondary index _default__default_i1
2022/07/24 20:02:28 Index dropped
2022/07/24 20:02:28 Dropping the secondary index _default__default_i2
2022/07/24 20:02:28 Index dropped
2022/07/24 20:02:28 Build command issued for the deferred indexes [_default__default_i1 _default__default_i2]
2022/07/24 20:02:28 Waiting for the index _default__default_i1 to become active
2022/07/24 20:02:28 Waiting for index 446572766439731970 to go active ...
2022/07/24 20:02:29 Waiting for index 446572766439731970 to go active ...
2022/07/24 20:02:30 Waiting for index 446572766439731970 to go active ...
2022/07/24 20:02:31 Index is 446572766439731970 now active
2022/07/24 20:02:31 Waiting for the index _default__default_i2 to become active
2022/07/24 20:02:31 Index is 2767415491842192236 now active
2022/07/24 20:02:38 Using n1ql client
2022/07/24 20:02:38 Expected and Actual scan responses are the same
2022/07/24 20:02:38 Using n1ql client
2022/07/24 20:02:38 Expected and Actual scan responses are the same
2022/07/24 20:02:38 Dropping the secondary index _default__default_i1
2022/07/24 20:02:38 Index dropped
2022/07/24 20:02:43 Using n1ql client
2022/07/24 20:02:43 Expected and Actual scan responses are the same
2022/07/24 20:02:43 Dropping the secondary index _default__default_i2
2022/07/24 20:02:44 Index dropped
--- PASS: TestCollectionDefault (46.10s)
=== RUN   TestCollectionNonDefault
2022/07/24 20:02:44 In TestCollectionNonDefault()
2022/07/24 20:02:44 Creating scope: s1 for bucket: default as it does not exist
2022/07/24 20:02:44 Create scope succeeded for bucket default, scopeName: s1, body: {"uid":"1"} 
2022/07/24 20:02:44 Created collection succeeded for bucket: default, scope: s1, collection: c1, body: {"uid":"2"}
2022/07/24 20:02:59 Created the secondary index s1_c1_i1. Waiting for it become active
2022/07/24 20:02:59 Index is 206687127874832566 now active
2022/07/24 20:02:59 Using n1ql client
2022-07-24T20:02:59.168+05:30 [Info] metadata provider version changed 3141 -> 3142
2022-07-24T20:02:59.168+05:30 [Info] switched currmeta from 3141 -> 3142 force false 
2022-07-24T20:02:59.168+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:02:59.169+05:30 [Info] GSIC[default/default-s1-c1-1658673179159877847] started ...
2022/07/24 20:02:59 Expected and Actual scan responses are the same
2022/07/24 20:03:06 Created the secondary index s1_c1_i2. Waiting for it become active
2022/07/24 20:03:06 Index is 13880180202613579749 now active
2022/07/24 20:03:06 Using n1ql client
2022/07/24 20:03:06 Expected and Actual scan responses are the same
2022/07/24 20:03:06 Dropping the secondary index s1_c1_i1
2022/07/24 20:03:06 Index dropped
2022/07/24 20:03:06 Using n1ql client
2022/07/24 20:03:06 Expected and Actual scan responses are the same
2022/07/24 20:03:10 Created the secondary index s1_c1_i1. Waiting for it become active
2022/07/24 20:03:10 Index is 5547945205064609896 now active
2022/07/24 20:03:10 Using n1ql client
2022/07/24 20:03:10 Expected and Actual scan responses are the same
2022/07/24 20:03:10 Dropping the secondary index s1_c1_i1
2022/07/24 20:03:10 Index dropped
2022/07/24 20:03:10 Dropping the secondary index s1_c1_i2
2022/07/24 20:03:11 Index dropped
2022/07/24 20:03:14 Created the secondary index s1_c1_i1. Waiting for it become active
2022/07/24 20:03:14 Index is 297615143162889452 now active
2022/07/24 20:03:14 Using n1ql client
2022/07/24 20:03:14 Expected and Actual scan responses are the same
2022/07/24 20:03:20 Created the secondary index s1_c1_i2. Waiting for it become active
2022/07/24 20:03:20 Index is 15371343599969612002 now active
2022/07/24 20:03:20 Using n1ql client
2022/07/24 20:03:20 Expected and Actual scan responses are the same
2022/07/24 20:03:20 Dropping the secondary index s1_c1_i1
2022/07/24 20:03:20 Index dropped
2022/07/24 20:03:20 Dropping the secondary index s1_c1_i2
2022/07/24 20:03:20 Index dropped
2022/07/24 20:03:20 Build command issued for the deferred indexes [s1_c1_i1 s1_c1_i2]
2022/07/24 20:03:20 Waiting for the index s1_c1_i1 to become active
2022/07/24 20:03:20 Waiting for index 9561868439240543246 to go active ...
2022/07/24 20:03:21 Waiting for index 9561868439240543246 to go active ...
2022/07/24 20:03:22 Waiting for index 9561868439240543246 to go active ...
2022/07/24 20:03:23 Waiting for index 9561868439240543246 to go active ...
2022/07/24 20:03:24 Index is 9561868439240543246 now active
2022/07/24 20:03:24 Waiting for the index s1_c1_i2 to become active
2022/07/24 20:03:24 Index is 10395442436205387616 now active
2022/07/24 20:03:27 Using n1ql client
2022/07/24 20:03:27 Expected and Actual scan responses are the same
2022/07/24 20:03:27 Using n1ql client
2022/07/24 20:03:27 Expected and Actual scan responses are the same
2022/07/24 20:03:27 Dropping the secondary index s1_c1_i1
2022/07/24 20:03:27 Index dropped
2022/07/24 20:03:28 Using n1ql client
2022/07/24 20:03:28 Expected and Actual scan responses are the same
2022/07/24 20:03:28 Dropping the secondary index s1_c1_i2
2022/07/24 20:03:28 Index dropped
--- PASS: TestCollectionNonDefault (44.52s)
=== RUN   TestCollectionMetaAtSnapEnd
2022/07/24 20:03:28 In TestCollectionMetaAtSnapEnd()
2022/07/24 20:03:28 Creating scope: s2 for bucket: default as it does not exist
2022/07/24 20:03:28 Create scope succeeded for bucket default, scopeName: s2, body: {"uid":"3"} 
2022/07/24 20:03:28 Created collection succeeded for bucket: default, scope: s2, collection: c2, body: {"uid":"4"}
2022/07/24 20:03:42 Created the secondary index s2_c2_i1. Waiting for it become active
2022/07/24 20:03:42 Index is 8434175422846179239 now active
2022/07/24 20:03:42 Using n1ql client
2022-07-24T20:03:42.086+05:30 [Info] metadata provider version changed 3200 -> 3201
2022-07-24T20:03:42.086+05:30 [Info] switched currmeta from 3200 -> 3201 force false 
2022-07-24T20:03:42.086+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:03:42.086+05:30 [Info] GSIC[default/default-s2-c2-1658673222080418390] started ...
2022/07/24 20:03:42 Expected and Actual scan responses are the same
2022/07/24 20:03:45 Using n1ql client
2022/07/24 20:03:45 Expected and Actual scan responses are the same
2022/07/24 20:03:45 Created collection succeeded for bucket: default, scope: s2, collection: c3, body: {"uid":"5"}
2022/07/24 20:03:55 Using n1ql client
2022/07/24 20:03:55 Expected and Actual scan responses are the same
2022/07/24 20:03:59 Created the secondary index s2_c2_i2. Waiting for it become active
2022/07/24 20:03:59 Index is 700291545890561891 now active
2022/07/24 20:03:59 Using n1ql client
2022/07/24 20:03:59 Expected and Actual scan responses are the same
2022/07/24 20:03:59 Using n1ql client
2022/07/24 20:04:00 Expected and Actual scan responses are the same
2022/07/24 20:04:06 Using n1ql client
2022/07/24 20:04:06 Expected and Actual scan responses are the same
2022/07/24 20:04:06 Using n1ql client
2022/07/24 20:04:06 Expected and Actual scan responses are the same
--- PASS: TestCollectionMetaAtSnapEnd (38.19s)
=== RUN   TestCollectionUpdateSeq
2022/07/24 20:04:06 In TestCollectionUpdateSeq()
2022/07/24 20:04:07 Using n1ql client
2022/07/24 20:04:07 Expected and Actual scan responses are the same
2022/07/24 20:04:07 Using n1ql client
2022/07/24 20:04:07 Expected and Actual scan responses are the same
2022/07/24 20:04:13 Using n1ql client
2022/07/24 20:04:13 Expected and Actual scan responses are the same
2022/07/24 20:04:13 Using n1ql client
2022/07/24 20:04:13 Expected and Actual scan responses are the same
2022/07/24 20:04:13 Dropping the secondary index s2_c2_i1
2022/07/24 20:04:13 Index dropped
2022/07/24 20:04:13 Dropping the secondary index s2_c2_i2
2022/07/24 20:04:14 Index dropped
--- PASS: TestCollectionUpdateSeq (7.18s)
=== RUN   TestCollectionMultiple
2022/07/24 20:04:14 In TestCollectionMultiple()
2022/07/24 20:04:17 Created the secondary index _default__default_i3. Waiting for it become active
2022/07/24 20:04:17 Index is 2499898771912593450 now active
2022/07/24 20:04:17 Using n1ql client
2022/07/24 20:04:17 Expected and Actual scan responses are the same
2022/07/24 20:04:23 Created the secondary index s1_c1_i4. Waiting for it become active
2022/07/24 20:04:23 Index is 4728780295616981772 now active
2022/07/24 20:04:23 Using n1ql client
2022/07/24 20:04:23 Expected and Actual scan responses are the same
2022/07/24 20:04:23 Dropping the secondary index _default__default_i3
2022/07/24 20:04:23 Index dropped
2022/07/24 20:04:23 Dropping the secondary index s1_c1_i4
2022/07/24 20:04:23 Index dropped
--- PASS: TestCollectionMultiple (9.74s)
=== RUN   TestCollectionNoDocs
2022/07/24 20:04:23 In TestCollectionNoDocs()
2022/07/24 20:04:28 Created the secondary index s1_c1_i1. Waiting for it become active
2022/07/24 20:04:28 Index is 14742528599266224476 now active
2022/07/24 20:04:28 Using n1ql client
2022/07/24 20:04:29 Expected and Actual scan responses are the same
2022/07/24 20:04:35 Created the secondary index s1_c1_i2. Waiting for it become active
2022/07/24 20:04:35 Index is 2489467953512771553 now active
2022/07/24 20:04:35 Using n1ql client
2022/07/24 20:04:35 Expected and Actual scan responses are the same
2022/07/24 20:04:35 Dropping the secondary index s1_c1_i1
2022/07/24 20:04:35 Index dropped
2022/07/24 20:04:35 Using n1ql client
2022/07/24 20:04:35 Expected and Actual scan responses are the same
2022/07/24 20:04:40 Created the secondary index s1_c1_i1. Waiting for it become active
2022/07/24 20:04:40 Index is 11593834390650957166 now active
2022/07/24 20:04:40 Using n1ql client
2022/07/24 20:04:40 Expected and Actual scan responses are the same
2022/07/24 20:04:45 Using n1ql client
2022/07/24 20:04:45 Expected and Actual scan responses are the same
2022/07/24 20:04:45 Using n1ql client
2022/07/24 20:04:45 Expected and Actual scan responses are the same
2022/07/24 20:04:45 Dropping the secondary index s1_c1_i1
2022/07/24 20:04:46 Index dropped
2022/07/24 20:04:46 Dropping the secondary index s1_c1_i2
2022/07/24 20:04:46 Index dropped
--- PASS: TestCollectionNoDocs (22.40s)
=== RUN   TestCollectionPrimaryIndex
2022/07/24 20:04:46 In TestCollectionPrimaryIndex()
2022/07/24 20:04:51 Created the secondary index s1_c1_i1. Waiting for it become active
2022/07/24 20:04:51 Index is 8925083154806821720 now active
2022/07/24 20:04:51 Using n1ql client
2022/07/24 20:04:57 Created the secondary index s1_c1_i2. Waiting for it become active
2022/07/24 20:04:57 Index is 6108482883042024358 now active
2022/07/24 20:04:57 Using n1ql client
2022/07/24 20:04:58 Using n1ql client
2022/07/24 20:04:58 Using n1ql client
2022/07/24 20:04:58 Dropping the secondary index s1_c1_i1
2022/07/24 20:04:58 Index dropped
2022/07/24 20:05:04 Created the secondary index s1_c1_i1. Waiting for it become active
2022/07/24 20:05:04 Index is 5467058372297111816 now active
2022/07/24 20:05:04 Using n1ql client
2022/07/24 20:05:04 Expected and Actual scan responses are the same
2022/07/24 20:05:06 Using n1ql client
2022/07/24 20:05:06 Expected and Actual scan responses are the same
2022/07/24 20:05:06 Using n1ql client
2022/07/24 20:05:06 Dropping the secondary index s1_c1_i1
2022/07/24 20:05:06 Index dropped
2022/07/24 20:05:06 Dropping the secondary index s1_c1_i2
2022/07/24 20:05:06 Index dropped
--- PASS: TestCollectionPrimaryIndex (20.31s)
=== RUN   TestCollectionMultipleBuilds
2022/07/24 20:05:06 Build command issued for the deferred indexes [16763803729194476550 2820129641487405498]
2022/07/24 20:05:06 Build command issued for the deferred indexes [4412366032831141255 10918228667569177820]
2022/07/24 20:05:06 Waiting for index 16763803729194476550 to go active ...
2022/07/24 20:05:07 Waiting for index 16763803729194476550 to go active ...
2022/07/24 20:05:08 Waiting for index 16763803729194476550 to go active ...
2022/07/24 20:05:09 Waiting for index 16763803729194476550 to go active ...
2022/07/24 20:05:10 Index is 16763803729194476550 now active
2022/07/24 20:05:10 Index is 2820129641487405498 now active
2022/07/24 20:05:10 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:11 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:12 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:13 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:14 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:15 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:16 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:17 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:18 Waiting for index 4412366032831141255 to go active ...
2022/07/24 20:05:19 Index is 4412366032831141255 now active
2022/07/24 20:05:19 Index is 10918228667569177820 now active
2022/07/24 20:05:19 Using n1ql client
2022/07/24 20:05:19 Expected and Actual scan responses are the same
2022/07/24 20:05:19 Using n1ql client
2022/07/24 20:05:19 Expected and Actual scan responses are the same
2022/07/24 20:05:19 Using n1ql client
2022/07/24 20:05:19 Expected and Actual scan responses are the same
2022/07/24 20:05:19 Using n1ql client
2022/07/24 20:05:19 Expected and Actual scan responses are the same
2022/07/24 20:05:19 Dropping the secondary index s2_c2_i3
2022/07/24 20:05:19 Index dropped
2022/07/24 20:05:19 Dropping the secondary index s2_c2_i4
2022/07/24 20:05:20 Index dropped
2022/07/24 20:05:20 Dropping the secondary index s1_c1_i1
2022/07/24 20:05:20 Index dropped
2022/07/24 20:05:20 Dropping the secondary index s1_c1_i2
2022/07/24 20:05:20 Index dropped
--- PASS: TestCollectionMultipleBuilds (13.86s)
=== RUN   TestCollectionMultipleBuilds2
2022/07/24 20:05:20 Build command issued for the deferred indexes [16821858888276477099 11770162005249668021 2542667951611625136 15728764740918253727 16371440412696559943 6406050308285731337 13303680502694928460 9777382561003037201]
2022/07/24 20:05:20 Waiting for index 16821858888276477099 to go active ...
2022/07/24 20:05:21 Waiting for index 16821858888276477099 to go active ...
2022/07/24 20:05:22 Waiting for index 16821858888276477099 to go active ...
2022/07/24 20:05:23 Waiting for index 16821858888276477099 to go active ...
2022/07/24 20:05:24 Waiting for index 16821858888276477099 to go active ...
2022/07/24 20:05:25 Index is 16821858888276477099 now active
2022/07/24 20:05:25 Index is 11770162005249668021 now active
2022/07/24 20:05:25 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:26 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:27 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:28 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:29 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:30 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:31 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:32 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:33 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:34 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:35 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:36 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:37 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:38 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:39 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:40 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:41 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:42 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:43 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:44 Waiting for index 2542667951611625136 to go active ...
2022/07/24 20:05:45 Index is 2542667951611625136 now active
2022/07/24 20:05:45 Index is 15728764740918253727 now active
2022/07/24 20:05:45 Waiting for index 16371440412696559943 to go active ...
2022/07/24 20:05:46 Index is 16371440412696559943 now active
2022/07/24 20:05:46 Index is 6406050308285731337 now active
2022/07/24 20:05:46 Index is 13303680502694928460 now active
2022/07/24 20:05:46 Index is 9777382561003037201 now active
2022/07/24 20:05:46 Using n1ql client
2022/07/24 20:05:47 Expected and Actual scan responses are the same
2022/07/24 20:05:47 Using n1ql client
2022/07/24 20:05:47 Expected and Actual scan responses are the same
2022/07/24 20:05:47 Using n1ql client
2022/07/24 20:05:47 Expected and Actual scan responses are the same
2022/07/24 20:05:47 Using n1ql client
2022/07/24 20:05:47 Expected and Actual scan responses are the same
2022/07/24 20:05:47 Using n1ql client
2022-07-24T20:05:47.183+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:05:47.184+05:30 [Info] GSIC[default/default-s2-c3-1658673347181354080] started ...
2022/07/24 20:05:47 Expected and Actual scan responses are the same
2022/07/24 20:05:47 Using n1ql client
2022/07/24 20:05:47 Expected and Actual scan responses are the same
2022/07/24 20:05:47 Using n1ql client
2022/07/24 20:05:47 Expected and Actual scan responses are the same
2022/07/24 20:05:47 Using n1ql client
2022/07/24 20:05:47 Expected and Actual scan responses are the same
2022/07/24 20:05:48 Using n1ql client
2022/07/24 20:05:48 Expected and Actual scan responses are the same
2022/07/24 20:05:48 Using n1ql client
2022/07/24 20:05:48 Expected and Actual scan responses are the same
2022/07/24 20:05:48 Dropping the secondary index s1_c1_i1
2022/07/24 20:05:48 Index dropped
2022/07/24 20:05:48 Dropping the secondary index s1_c1_i2
2022/07/24 20:05:48 Index dropped
2022/07/24 20:05:48 Dropping the secondary index s2_c2_i1
2022/07/24 20:05:48 Index dropped
2022/07/24 20:05:48 Dropping the secondary index s2_c2_i2
2022/07/24 20:05:48 Index dropped
2022/07/24 20:05:48 Dropping the secondary index s2_c3_i1
2022/07/24 20:05:48 Index dropped
2022/07/24 20:05:48 Dropping the secondary index s2_c3_i2
2022/07/24 20:05:48 Index dropped
2022/07/24 20:05:48 Dropping the secondary index _default__default_i1
2022/07/24 20:05:48 Index dropped
2022/07/24 20:05:48 Dropping the secondary index _default__default_i2
2022/07/24 20:05:48 Index dropped
--- PASS: TestCollectionMultipleBuilds2 (28.49s)
=== RUN   TestCollectionIndexDropConcurrentBuild
2022/07/24 20:05:48 In TestCollectionIndexDropConcurrentBuild()
2022/07/24 20:05:48 Build command issued for the deferred indexes [9525930516161258466 17423049225953764514]
2022/07/24 20:05:49 Dropping the secondary index s1_c1_i1
2022/07/24 20:05:50 Index dropped
2022/07/24 20:05:50 Waiting for index 17423049225953764514 to go active ...
2022/07/24 20:05:51 Waiting for index 17423049225953764514 to go active ...
2022/07/24 20:05:52 Waiting for index 17423049225953764514 to go active ...
2022/07/24 20:05:53 Index is 17423049225953764514 now active
2022/07/24 20:05:53 Using n1ql client
2022/07/24 20:05:53 Expected and Actual scan responses are the same
2022/07/24 20:05:53 Dropping the secondary index s1_c1_i2
2022/07/24 20:05:53 Index dropped
--- PASS: TestCollectionIndexDropConcurrentBuild (4.44s)
=== RUN   TestCollectionIndexDropConcurrentBuild2
2022/07/24 20:05:53 In TestCollectionIndexDropConcurrentBuild2()
2022/07/24 20:06:01 Created the secondary index s1_c1_i3. Waiting for it become active
2022/07/24 20:06:01 Index is 1407025295199820991 now active
2022/07/24 20:06:01 Using n1ql client
2022/07/24 20:06:01 Expected and Actual scan responses are the same
2022/07/24 20:06:01 Build command issued for the deferred indexes [1837142828482961624 16568964865773461492]
2022/07/24 20:06:02 Dropping the secondary index s1_c1_i3
2022/07/24 20:06:03 Index dropped
2022/07/24 20:06:03 Waiting for index 1837142828482961624 to go active ...
2022/07/24 20:06:04 Waiting for index 1837142828482961624 to go active ...
2022/07/24 20:06:05 Waiting for index 1837142828482961624 to go active ...
2022/07/24 20:06:06 Waiting for index 1837142828482961624 to go active ...
2022/07/24 20:06:07 Waiting for index 1837142828482961624 to go active ...
2022/07/24 20:06:08 Waiting for index 1837142828482961624 to go active ...
2022/07/24 20:06:09 Index is 1837142828482961624 now active
2022/07/24 20:06:09 Index is 16568964865773461492 now active
2022/07/24 20:06:09 Using n1ql client
2022/07/24 20:06:09 Expected and Actual scan responses are the same
2022/07/24 20:06:09 Using n1ql client
2022/07/24 20:06:09 Expected and Actual scan responses are the same
2022/07/24 20:06:09 Dropping the secondary index s1_c1_i1
2022/07/24 20:06:09 Index dropped
2022/07/24 20:06:09 Dropping the secondary index s1_c1_i2
2022/07/24 20:06:12 Index dropped
--- PASS: TestCollectionIndexDropConcurrentBuild2 (19.41s)
=== RUN   TestCollectionDrop
2022/07/24 20:06:12 In TestCollectionDrop()
2022/07/24 20:06:16 Created the secondary index s1_c1_i1. Waiting for it become active
2022/07/24 20:06:16 Index is 9053880950293101980 now active
2022/07/24 20:06:22 Created the secondary index s1_c1_i2. Waiting for it become active
2022/07/24 20:06:22 Index is 9137207713509965418 now active
2022/07/24 20:06:27 Created the secondary index s2_c2_i1. Waiting for it become active
2022/07/24 20:06:27 Index is 13248088978619646747 now active
2022/07/24 20:06:31 Created the secondary index s2_c2_i2. Waiting for it become active
2022/07/24 20:06:31 Index is 3615066570414858551 now active
2022/07/24 20:06:36 Created the secondary index s2_c3_i1. Waiting for it become active
2022/07/24 20:06:36 Index is 11851401836748078437 now active
2022/07/24 20:06:41 Created the secondary index s2_c3_i2. Waiting for it become active
2022/07/24 20:06:41 Index is 11384159011588427831 now active
2022/07/24 20:06:46 Created the secondary index _default__default_i1. Waiting for it become active
2022/07/24 20:06:46 Index is 7079417972580283796 now active
2022/07/24 20:06:50 Created the secondary index _default__default_i2. Waiting for it become active
2022/07/24 20:06:50 Index is 13852114322267760204 now active
2022/07/24 20:06:50 Dropped collection c1 for bucket: default, scope: s1, body: {"uid":"6"}
2022/07/24 20:06:55 Using n1ql client
2022/07/24 20:06:55 Scan failed as expected with error: Index Not Found - cause: GSI index s1_c1_i1 not found.
2022/07/24 20:06:55 Dropped scope s2 for bucket: default, body: {"uid":"7"}
2022/07/24 20:07:00 Using n1ql client
2022-07-24T20:07:00.889+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:07:00.889+05:30 [Info] GSIC[default/default-s2-c1-1658673420884453807] started ...
2022/07/24 20:07:00 Scan failed as expected with error: Index Not Found - cause: GSI index s2_c1_i1 not found.
--- PASS: TestCollectionDrop (48.23s)
=== RUN   TestCollectionDDLWithConcurrentSystemEvents
2022/07/24 20:07:00 Creating scope: sc for bucket: default as it does not exist
2022/07/24 20:07:01 Create scope succeeded for bucket default, scopeName: sc, body: {"uid":"8"} 
2022/07/24 20:07:01 Created collection succeeded for bucket: default, scope: sc, collection: cc, body: {"uid":"9"}
2022/07/24 20:07:15 Created the secondary index sc_cc_i1. Waiting for it become active
2022/07/24 20:07:15 Index is 10547574582895749410 now active
2022/07/24 20:07:17 Build command issued for the deferred indexes [sc_cc_i2]
2022/07/24 20:07:17 Waiting for the index sc_cc_i2 to become active
2022/07/24 20:07:17 Waiting for index 13158316003956550566 to go active ...
2022/07/24 20:07:17 Created collection succeeded for bucket: default, scope: sc, collection: cc_0, body: {"uid":"a"}
2022/07/24 20:07:18 Created collection succeeded for bucket: default, scope: sc, collection: cc_1, body: {"uid":"b"}
2022/07/24 20:07:18 Created collection succeeded for bucket: default, scope: sc, collection: cc_2, body: {"uid":"c"}
2022/07/24 20:07:18 Waiting for index 13158316003956550566 to go active ...
2022/07/24 20:07:19 Created collection succeeded for bucket: default, scope: sc, collection: cc_3, body: {"uid":"d"}
2022/07/24 20:07:19 Created collection succeeded for bucket: default, scope: sc, collection: cc_4, body: {"uid":"e"}
2022/07/24 20:07:19 Waiting for index 13158316003956550566 to go active ...
2022/07/24 20:07:20 Created collection succeeded for bucket: default, scope: sc, collection: cc_5, body: {"uid":"f"}
2022/07/24 20:07:20 Created collection succeeded for bucket: default, scope: sc, collection: cc_6, body: {"uid":"10"}
2022/07/24 20:07:20 Waiting for index 13158316003956550566 to go active ...
2022/07/24 20:07:21 Created collection succeeded for bucket: default, scope: sc, collection: cc_7, body: {"uid":"11"}
2022/07/24 20:07:21 Waiting for index 13158316003956550566 to go active ...
2022/07/24 20:07:22 Created collection succeeded for bucket: default, scope: sc, collection: cc_8, body: {"uid":"12"}
2022/07/24 20:07:22 Waiting for index 13158316003956550566 to go active ...
2022/07/24 20:07:23 Created collection succeeded for bucket: default, scope: sc, collection: cc_9, body: {"uid":"13"}
2022/07/24 20:07:23 Waiting for index 13158316003956550566 to go active ...
2022/07/24 20:07:24 Waiting for index 13158316003956550566 to go active ...
2022/07/24 20:07:25 Index is 13158316003956550566 now active
2022/07/24 20:07:25 Using n1ql client
2022-07-24T20:07:25.925+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:07:25.925+05:30 [Info] GSIC[default/default-sc-cc-1658673445922816365] started ...
--- PASS: TestCollectionDDLWithConcurrentSystemEvents (25.04s)
=== RUN   TestCollectionDropWithMultipleBuckets
2022/07/24 20:07:25 In TestCollectionWithDropMultipleBuckets()
2022/07/24 20:07:25 This test will create a collection across multiple buckets and 
2022/07/24 20:07:25 drops a collection on one bucket. Indexer should not drop indexes
2022/07/24 20:07:25 with same CollectionID but different buckets
2022/07/24 20:07:25 Creating test_bucket_1
2022/07/24 20:07:26 Created bucket test_bucket_1, responseBody: 
2022/07/24 20:07:36 Creating test_bucket_2
2022/07/24 20:07:36 Created bucket test_bucket_2, responseBody: 
2022/07/24 20:07:46 Creating collection: test for bucket: test_bucket_1
2022/07/24 20:07:46 Created collection succeeded for bucket: test_bucket_1, scope: _default, collection: test, body: {"uid":"1"}
2022/07/24 20:07:46 Creating collection: test for bucket: test_bucket_2
2022/07/24 20:07:46 Created collection succeeded for bucket: test_bucket_2, scope: _default, collection: test, body: {"uid":"1"}
2022/07/24 20:07:56 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_1
2022/07/24 20:08:00 Created the secondary index idx_1. Waiting for it become active
2022/07/24 20:08:00 Index is 15977617098804367359 now active
2022/07/24 20:08:05 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_2
2022/07/24 20:08:08 Created the secondary index idx_1. Waiting for it become active
2022/07/24 20:08:08 Index is 1848928247265081843 now active
2022/07/24 20:08:13 Dropping collection: test for bucket: test_bucket_1
2022/07/24 20:08:13 Dropped collection test for bucket: test_bucket_1, scope: _default, body: {"uid":"2"}
2022/07/24 20:08:15 Scanning index: idx_1, bucket: test_bucket_2
2022/07/24 20:08:15 Using n1ql client
2022-07-24T20:08:15.708+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:08:15.708+05:30 [Info] GSIC[default/test_bucket_2-_default-test-1658673495704277292] started ...
2022/07/24 20:08:15 Deleting bucket: test_bucket_2
2022/07/24 20:08:17 Deleted bucket test_bucket_2, responseBody: 
2022/07/24 20:08:22 Creating test_bucket_2
2022/07/24 20:08:22 Created bucket test_bucket_2, responseBody: 
2022/07/24 20:08:32 Creating collection: test for bucket: test_bucket_2
2022/07/24 20:08:33 Created collection succeeded for bucket: test_bucket_2, scope: _default, collection: test, body: {"uid":"1"}
2022/07/24 20:08:43 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_2
2022/07/24 20:08:48 Build command issued for the deferred indexes [idx_1]
2022/07/24 20:08:48 Waiting for the index idx_1 to become active
2022/07/24 20:08:48 Waiting for index 15045035176823187084 to go active ...
2022/07/24 20:08:49 Waiting for index 15045035176823187084 to go active ...
2022/07/24 20:08:50 Waiting for index 15045035176823187084 to go active ...
2022/07/24 20:08:51 Index is 15045035176823187084 now active
2022/07/24 20:08:51 Scanning index: idx_1, bucket: test_bucket_2
2022/07/24 20:08:51 Using n1ql client
2022/07/24 20:08:52 Deleted bucket test_bucket_1, responseBody: 
2022/07/24 20:08:52 Deleted bucket test_bucket_2, responseBody: 
--- PASS: TestCollectionDropWithMultipleBuckets (92.00s)
=== RUN   TestStringToByteSlice
--- PASS: TestStringToByteSlice (0.00s)
=== RUN   TestStringToByteSlice_Stack
--- PASS: TestStringToByteSlice_Stack (1.33s)
=== RUN   TestByteSliceToString
--- PASS: TestByteSliceToString (0.00s)
=== RUN   TestBytesToString_WithUnusedBytes
--- PASS: TestBytesToString_WithUnusedBytes (0.00s)
=== RUN   TestStringHeadersCompatible
--- PASS: TestStringHeadersCompatible (0.00s)
=== RUN   TestSliceHeadersCompatible
--- PASS: TestSliceHeadersCompatible (0.00s)
=== RUN   TestEphemeralBucketBasic
2022/07/24 20:08:59 In TestEphemeralBuckets()
2022/07/24 20:08:59 In DropAllSecondaryIndexes()
2022/07/24 20:08:59 Index found:  sc_cc_i1
2022/07/24 20:08:59 Dropped index sc_cc_i1
2022/07/24 20:08:59 Index found:  sc_cc_i2
2022/07/24 20:08:59 Dropped index sc_cc_i2
2022/07/24 20:08:59 Index found:  _default__default_i1
2022/07/24 20:08:59 Dropped index _default__default_i1
2022/07/24 20:08:59 Index found:  _default__default_i2
2022/07/24 20:08:59 Dropped index _default__default_i2
2022/07/24 20:09:36 Flushed the bucket default, Response body: 
2022/07/24 20:09:39 Modified parameters of bucket default, responseBody: 
2022/07/24 20:09:39 Created bucket ephemeral1, responseBody: 
2022/07/24 20:09:39 Created bucket ephemeral2, responseBody: 
2022/07/24 20:09:40 Created bucket ephemeral3, responseBody: 
2022/07/24 20:09:55 Generating docs and Populating all the buckets
2022/07/24 20:09:58 Created the secondary index bucket1_age. Waiting for it become active
2022/07/24 20:09:58 Index is 17548159595448670636 now active
2022/07/24 20:10:06 Created the secondary index bucket2_city. Waiting for it become active
2022/07/24 20:10:06 Index is 13407683976166003681 now active
2022/07/24 20:10:12 Created the secondary index bucket3_gender. Waiting for it become active
2022/07/24 20:10:12 Index is 1398601747379122510 now active
2022/07/24 20:10:19 Created the secondary index bucket4_balance. Waiting for it become active
2022/07/24 20:10:19 Index is 6319565428445568811 now active
2022/07/24 20:10:22 Using n1ql client
2022/07/24 20:10:22 Expected and Actual scan responses are the same
2022/07/24 20:10:22 Using n1ql client
2022-07-24T20:10:22.127+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:10:22.128+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1658673622123403757] started ...
2022/07/24 20:10:22 Expected and Actual scan responses are the same
2022/07/24 20:10:22 Using n1ql client
2022-07-24T20:10:22.136+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:10:22.136+05:30 [Info] GSIC[default/ephemeral2-_default-_default-1658673622133827299] started ...
2022/07/24 20:10:22 Expected and Actual scan responses are the same
2022/07/24 20:10:22 Using n1ql client
2022-07-24T20:10:22.145+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:10:22.146+05:30 [Info] GSIC[default/ephemeral3-_default-_default-1658673622142906079] started ...
2022/07/24 20:10:22 Expected and Actual scan responses are the same
2022/07/24 20:10:23 Deleted bucket ephemeral1, responseBody: 
2022/07/24 20:10:24 Deleted bucket ephemeral2, responseBody: 
2022/07/24 20:10:26 Deleted bucket ephemeral3, responseBody: 
2022/07/24 20:10:29 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketBasic (104.94s)
=== RUN   TestEphemeralBucketRecovery
2022/07/24 20:10:44 In TestEphemeralBucketRecovery()
2022/07/24 20:10:44 In DropAllSecondaryIndexes()
2022/07/24 20:10:44 Index found:  bucket1_age
2022/07/24 20:10:44 Dropped index bucket1_age
2022/07/24 20:11:19 Flushed the bucket default, Response body: 
2022/07/24 20:11:23 Modified parameters of bucket default, responseBody: 
2022/07/24 20:11:23 Created bucket ephemeral1, responseBody: 
2022/07/24 20:11:38 Generating docs and Populating all the buckets
2022/07/24 20:11:42 Created the secondary index bucket1_age. Waiting for it become active
2022/07/24 20:11:42 Index is 6811901623773070850 now active
2022/07/24 20:11:47 Created the secondary index bucket2_city. Waiting for it become active
2022/07/24 20:11:47 Index is 2279449527715934446 now active
Restarting indexer process ...
2022/07/24 20:11:50 []
2022-07-24T20:11:50.938+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:11:50.939+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:11:50.939+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:11:50.939+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:12:10 Using n1ql client
2022-07-24T20:12:10.898+05:30 [Error] transport error between 127.0.0.1:47160->127.0.0.1:9107: write tcp 127.0.0.1:47160->127.0.0.1:9107: write: broken pipe
2022-07-24T20:12:10.898+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 7942803380931132181 request transport failed `write tcp 127.0.0.1:47160->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:12:10.898+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:12:10.898+05:30 [Error] metadataClient:PickRandom: Replicas - [12862331121623851744], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 20:12:10 Expected and Actual scan responses are the same
2022/07/24 20:12:10 Using n1ql client
2022-07-24T20:12:10.998+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:12:11.000+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1658673730962086822] started ...
2022/07/24 20:12:11 Expected and Actual scan responses are the same
2022/07/24 20:12:12 Deleted bucket ephemeral1, responseBody: 
2022/07/24 20:12:15 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketRecovery (106.06s)
=== RUN   TestEphemeralBucketFlush
2022/07/24 20:12:30 In TestEphemeralBucketFlush()
2022/07/24 20:12:30 In DropAllSecondaryIndexes()
2022/07/24 20:12:30 Index found:  bucket1_age
2022/07/24 20:12:30 Dropped index bucket1_age
2022/07/24 20:13:05 Flushed the bucket default, Response body: 
2022/07/24 20:13:08 Modified parameters of bucket default, responseBody: 
2022/07/24 20:13:08 Created bucket ephemeral1, responseBody: 
2022/07/24 20:13:23 Generating docs and Populating all the buckets
2022/07/24 20:13:27 Created the secondary index bucket1_age. Waiting for it become active
2022/07/24 20:13:27 Index is 12459078299920956416 now active
2022/07/24 20:13:33 Created the secondary index bucket2_city. Waiting for it become active
2022/07/24 20:13:33 Index is 4844278138447919312 now active
2022/07/24 20:14:11 Flushed the bucket default, Response body: 
2022/07/24 20:14:14 Flush Enabled on bucket ephemeral1, responseBody: 
2022/07/24 20:14:47 Flushed the bucket ephemeral1, Response body: 
2022/07/24 20:14:47 Using n1ql client
2022/07/24 20:14:47 Using n1ql client
2022-07-24T20:14:47.984+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:14:47.985+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1658673887982384031] started ...
2022/07/24 20:14:49 Deleted bucket ephemeral1, responseBody: 
2022/07/24 20:14:52 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketFlush (156.96s)
=== RUN   TestEphemeralBucketMCDCrash
2022/07/24 20:15:07 In TestEphemeralBucketMCDCrash()
2022/07/24 20:15:07 In DropAllSecondaryIndexes()
2022/07/24 20:15:07 Index found:  bucket1_age
2022/07/24 20:15:07 Dropped index bucket1_age
2022/07/24 20:15:42 Flushed the bucket default, Response body: 
2022/07/24 20:15:46 Modified parameters of bucket default, responseBody: 
2022/07/24 20:15:46 Created bucket ephemeral1, responseBody: 
2022/07/24 20:16:01 Generating docs and Populating all the buckets
2022/07/24 20:16:04 Created the secondary index bucket1_age. Waiting for it become active
2022/07/24 20:16:04 Index is 1055693307969301946 now active
2022/07/24 20:16:10 Created the secondary index bucket2_city. Waiting for it become active
2022/07/24 20:16:10 Index is 10292691543387600980 now active
Restarting memcached process ...
2022/07/24 20:16:13 []
2022/07/24 20:16:33 Using n1ql client
2022/07/24 20:16:33 Expected and Actual scan responses are the same
2022/07/24 20:16:33 Using n1ql client
2022-07-24T20:16:33.448+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-07-24T20:16:33.449+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1658673993442337049] started ...
2022/07/24 20:16:34 Deleted bucket ephemeral1, responseBody: 
2022/07/24 20:16:37 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketMCDCrash (105.54s)
=== RUN   TestScheduleIndexBasic
2022/07/24 20:16:52 In TestMultipleDeferredIndexes_BuildTogether()
2022/07/24 20:16:52 In DropAllSecondaryIndexes()
2022/07/24 20:16:52 Index found:  bucket1_age
2022/07/24 20:16:52 Dropped index bucket1_age
2022/07/24 20:17:06 Setting JSON docs in KV
2022/07/24 20:17:25 Changing config key indexer.debug.enableBackgroundIndexCreation to value false
2022/07/24 20:17:25 Creating indexes Asynchronously
2022/07/24 20:17:25 Finding definition IDs for all indexes
2022/07/24 20:17:31 Status of all indexes
2022/07/24 20:17:31 Index id_age is in state INDEX_STATE_SCHEDULED
2022/07/24 20:17:31 Changing config key indexer.debug.enableBackgroundIndexCreation to value true
2022/07/24 20:17:31 Waiting for all indexes to become active
2022/07/24 20:17:31 Waiting for index 16099288821149586757 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:31 Waiting for index 10734625055781039273 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:31 Waiting for index 5281942434593307101 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:31 Waiting for index 16773025594533076598 in state INDEX_STATE_INITIAL to go active ...
2022/07/24 20:17:34 Waiting for index 16099288821149586757 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:34 Waiting for index 10734625055781039273 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:34 Waiting for index 5281942434593307101 in state INDEX_STATE_INITIAL to go active ...
2022/07/24 20:17:34 Index 16773025594533076598 is now active
2022/07/24 20:17:37 Waiting for index 16099288821149586757 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:37 Waiting for index 10734625055781039273 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:37 Waiting for index 5281942434593307101 in state INDEX_STATE_INITIAL to go active ...
2022/07/24 20:17:40 Waiting for index 16099288821149586757 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:40 Waiting for index 10734625055781039273 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:40 Waiting for index 5281942434593307101 in state INDEX_STATE_INITIAL to go active ...
2022/07/24 20:17:43 Waiting for index 16099288821149586757 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:43 Waiting for index 10734625055781039273 in state INDEX_STATE_INITIAL to go active ...
2022/07/24 20:17:43 Index 5281942434593307101 is now active
2022/07/24 20:17:46 Waiting for index 16099288821149586757 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:46 Waiting for index 10734625055781039273 in state INDEX_STATE_INITIAL to go active ...
2022/07/24 20:17:49 Waiting for index 16099288821149586757 in state INDEX_STATE_ERROR to go active ...
2022/07/24 20:17:49 Waiting for index 10734625055781039273 in state INDEX_STATE_CATCHUP to go active ...
2022/07/24 20:17:52 Waiting for index 16099288821149586757 in state INDEX_STATE_INITIAL to go active ...
2022/07/24 20:17:52 Index 10734625055781039273 is now active
2022/07/24 20:17:55 Waiting for index 16099288821149586757 in state INDEX_STATE_INITIAL to go active ...
2022/07/24 20:17:58 Waiting for index 16099288821149586757 in state INDEX_STATE_CATCHUP to go active ...
2022/07/24 20:17:58 Error  Observed when creating index
2022/07/24 20:17:58 Error  Observed when creating index
2022/07/24 20:17:58 Error  Observed when creating index
2022/07/24 20:17:58 Error  Observed when creating index
2022/07/24 20:18:01 Index 16099288821149586757 is now active
--- PASS: TestScheduleIndexBasic (68.54s)
=== RUN   TestFlattenArrayIndexTestSetup
2022/07/24 20:18:01 In DropAllSecondaryIndexes()
2022/07/24 20:18:01 Index found:  id_age
2022/07/24 20:18:01 Dropped index id_age
2022/07/24 20:18:01 Index found:  id_isActive
2022/07/24 20:18:01 Dropped index id_isActive
2022/07/24 20:18:01 Index found:  id_gender
2022/07/24 20:18:01 Dropped index id_gender
2022/07/24 20:18:01 Index found:  id_company
2022/07/24 20:18:01 Dropped index id_company
2022/07/24 20:18:37 Flushed the bucket default, Response body: 
--- PASS: TestFlattenArrayIndexTestSetup (40.04s)
=== RUN   TestScanOnFlattenedAraryIndex
2022/07/24 20:18:47 Created the secondary index idx_flatten. Waiting for it become active
2022/07/24 20:18:47 Index is 4506243847970890381 now active
2022/07/24 20:18:47 Using n1ql client
--- PASS: TestScanOnFlattenedAraryIndex (6.62s)
=== RUN   TestGroupAggrFlattenArrayIndex
2022/07/24 20:18:47 In TestGroupAggrArrayIndex()
2022/07/24 20:18:52 Created the secondary index ga_flatten_arr1. Waiting for it become active
2022/07/24 20:18:52 Index is 12458608303168248681 now active
2022/07/24 20:18:57 Created the secondary index ga_flatten_arr2. Waiting for it become active
2022/07/24 20:18:57 Index is 8043884288799999862 now active
2022/07/24 20:18:57 Scenario 1
2022-07-24T20:18:57.057+05:30 [Error] transport error between 127.0.0.1:47168->127.0.0.1:9107: write tcp 127.0.0.1:47168->127.0.0.1:9107: write: broken pipe
2022-07-24T20:18:57.058+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:47168->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:18:57.058+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:18:57.058+05:30 [Error] metadataClient:PickRandom: Replicas - [8911873742314734531], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 20:18:57 Total Scanresults = 636
2022/07/24 20:18:57 Scenario 2
2022/07/24 20:18:57 Total Scanresults = 2765
2022/07/24 20:18:59 Scenario 3
2022/07/24 20:18:59 Total Scanresults = 1
2022/07/24 20:18:59 Scenario 4
2022/07/24 20:18:59 Total Scanresults = 994
2022/07/24 20:19:00 Scenario 5
2022/07/24 20:19:00 Total Scanresults = 2765
2022/07/24 20:19:01 Scenario 6
2022/07/24 20:19:01 Total Scanresults = 1
2022/07/24 20:19:01 Scenario 7
2022/07/24 20:19:01 Total Scanresults = 2887
2022/07/24 20:19:04 Scenario 8
2022/07/24 20:19:04 Total Scanresults = 2765
2022/07/24 20:19:05 Scenario 9
2022/07/24 20:19:05 Total Scanresults = 1
2022/07/24 20:19:05 Scenario 10
2022/07/24 20:19:05 Total Scanresults = 636
2022/07/24 20:19:05 Scenario 11
2022/07/24 20:19:05 Total Scanresults = 1145
2022/07/24 20:19:06 Scenario 12
2022/07/24 20:19:06 Total Scanresults = 1
2022/07/24 20:19:06 Scenario 13
2022/07/24 20:19:10 Total Scanresults = 1
2022/07/24 20:19:10 Count of scanResults is 1
2022/07/24 20:19:10 Value: [2 126]
--- PASS: TestGroupAggrFlattenArrayIndex (23.17s)
=== RUN   TestNullAndMissingValuesFlattenArrayIndex
2022/07/24 20:19:11 In TestNullAndMissingValuesFlattenArrayIndex
2022/07/24 20:19:12 Scenario-1: Scanning for docsWithNullEntries with array as non-leading key
2022/07/24 20:19:12 Using n1ql client
2022/07/24 20:19:12 Scenario-2: Scanning for docsWithMissingEntries with array as non-leading key
2022/07/24 20:19:12 Using n1ql client
2022/07/24 20:19:12 Scenario-3: Scanning for docs with 'missing' entry for first key in array expression with array as non-leading key
2022/07/24 20:19:12 Using n1ql client
2022/07/24 20:19:12 Scenario-4: Scanning for docs with valid entry for first key in array expression with array as non-leading key
2022/07/24 20:19:12 Add docs in docsWithPartialMissingLeadingKeyInArrEntry should be present in results
2022/07/24 20:19:12 Using n1ql client
2022/07/24 20:19:12 Scenario-5: Scanning for docsWithNullEntries with array as leading key
2022/07/24 20:19:12 Using n1ql client
2022/07/24 20:19:12 Scenario-6: Scanning for docsWithMissingEntries with array as leading entry
2022/07/24 20:19:12 Using n1ql client
2022/07/24 20:19:12 Scenario-7: Scanning for docs with 'missing' entry for first key in array expression
2022/07/24 20:19:12 Using n1ql client
2022/07/24 20:19:12 Scenario-9: Scanning for all docs in the index
2022/07/24 20:19:12 Docs in docsWithCompleteMissingLeadingKeyInArrEntry should be present in results
2022/07/24 20:19:12 Using n1ql client
2022/07/24 20:19:12 Scenario-9: Scanning for docs with valid entry for first key in array expression
2022/07/24 20:19:12 Add docs in docsWithPartialMissingLeadingKeyInArrEntry should be present in results
2022/07/24 20:19:12 Using n1ql client
--- PASS: TestNullAndMissingValuesFlattenArrayIndex (1.18s)
=== RUN   TestEmptyArrayFlattenArrayIndex
2022/07/24 20:19:12 In TestEmptyArrayFlattenArrayIndex
2022/07/24 20:19:13 Scenario-1: Scanning for docs with missing entry for first key in array expression
2022/07/24 20:19:13 The docs in `docsWithEmptyArrayEntry` should not be presnt in scanResults
2022/07/24 20:19:13 Using n1ql client
2022/07/24 20:19:13 Scenario-1: Scanning for all docs in the index
2022/07/24 20:19:13 The docs in `docsWithEmptyArrayEntry` should not be presnt in scanResults
2022/07/24 20:19:13 Using n1ql client
--- PASS: TestEmptyArrayFlattenArrayIndex (0.80s)
=== RUN   TestOSOSetup
2022/07/24 20:19:13 In TestOSOSetup()
2022/07/24 20:19:13 In DropAllSecondaryIndexes()
2022/07/24 20:19:13 Index found:  #primary
2022/07/24 20:19:13 Dropped index #primary
2022/07/24 20:19:13 Index found:  idx_flatten
2022/07/24 20:19:13 Dropped index idx_flatten
2022/07/24 20:19:13 Index found:  ga_flatten_arr1
2022/07/24 20:19:13 Dropped index ga_flatten_arr1
2022/07/24 20:19:13 Index found:  test_oneperprimarykey
2022/07/24 20:19:13 Dropped index test_oneperprimarykey
2022/07/24 20:19:13 Index found:  ga_flatten_arr2
2022/07/24 20:19:13 Dropped index ga_flatten_arr2
2022/07/24 20:19:48 Flushed the bucket default, Response body: 
2022/07/24 20:19:49 Populating the default bucket
2022/07/24 20:19:54 Changing config key indexer.build.enableOSO to value true
--- PASS: TestOSOSetup (41.05s)
=== RUN   TestOSOInitBuildDeleteMutation
2022/07/24 20:19:54 In TestOSOInitBuildDeleteMutation()
2022/07/24 20:19:59 Created the secondary index index_p1_oso. Waiting for it become active
2022/07/24 20:19:59 Index is 17090132559683147212 now active
2022/07/24 20:20:07 Created the secondary index index_p_oso. Waiting for it become active
2022/07/24 20:20:07 Index is 15647390137318261091 now active
2022/07/24 20:20:07 Expected and Actual scan responses are the same
2022/07/24 20:20:07 CountRange() expected and actual is:  1798 and 1798
2022/07/24 20:20:07 lookupkey for CountLookup() = User9c209f82-a5fe-4375-a916-f0d718e27e07
2022/07/24 20:20:07 CountLookup() = 1
--- PASS: TestOSOInitBuildDeleteMutation (12.96s)
=== RUN   TestOSOInitBuildIndexerRestart
2022/07/24 20:20:07 In TestOSOInitBuildIndexerRestart()
2022/07/24 20:20:07 Build command issued for the deferred indexes [12320451245401017959]
2022/07/24 20:20:07 []
2022-07-24T20:20:07.435+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:20:07.436+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:20:07.436+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:20:07.436+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:20:12 Waiting for index 12320451245401017959 to go active ...
2022/07/24 20:20:13 Waiting for index 12320451245401017959 to go active ...
2022/07/24 20:20:14 Waiting for index 12320451245401017959 to go active ...
2022/07/24 20:20:15 Waiting for index 12320451245401017959 to go active ...
2022/07/24 20:20:16 Waiting for index 12320451245401017959 to go active ...
2022/07/24 20:20:17 Index is 12320451245401017959 now active
2022-07-24T20:20:17.394+05:30 [Error] transport error between 127.0.0.1:57250->127.0.0.1:9107: write tcp 127.0.0.1:57250->127.0.0.1:9107: write: broken pipe
2022-07-24T20:20:17.395+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:57250->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:20:17.395+05:30 [Warn] scan failed: requestId  queryport 127.0.0.1:9107 inst 11021334231390441632 partition [0]
2022-07-24T20:20:17.395+05:30 [Warn] Scan failed with error for index 12320451245401017959.  Trying scan again with replica, reqId: :  write tcp 127.0.0.1:57250->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022/07/24 20:20:17 Expected and Actual scan responses are the same
2022/07/24 20:20:17 CountRange() expected and actual is:  1798 and 1798
2022/07/24 20:20:17 lookupkey for CountLookup() = User949feb80-a182-4c91-9a36-bb0fd9594273
2022/07/24 20:20:17 CountLookup() = 1
--- PASS: TestOSOInitBuildIndexerRestart (10.31s)
=== RUN   TestMissingLeadingKeyBasic
2022/07/24 20:20:17 In DropAllSecondaryIndexes()
2022/07/24 20:20:17 Index found:  index_p_oso
2022/07/24 20:20:17 Dropped index index_p_oso
2022/07/24 20:20:17 Index found:  index_p1_oso
2022/07/24 20:20:17 Dropped index index_p1_oso
2022/07/24 20:20:17 Index found:  index_p2_oso
2022/07/24 20:20:17 Dropped index index_p2_oso
2022/07/24 20:20:53 Flushed the bucket default, Response body: 
2022/07/24 20:20:53 Populating the default bucket
--- PASS: TestMissingLeadingKeyBasic (40.32s)
=== RUN   TestMissingLeadingKeyPartitioned
2022/07/24 20:20:57 In DropAllSecondaryIndexes()
2022/07/24 20:20:57 Index found:  idx_vac
2022/07/24 20:20:57 Dropped index idx_vac
--- PASS: TestMissingLeadingKeyPartitioned (6.62s)
=== RUN   TestIdxCorruptBasicSanityMultipleIndices
2022/07/24 20:21:04 In DropAllSecondaryIndexes()
2022/07/24 20:21:04 Index found:  idx_doses_partn
2022/07/24 20:21:04 Dropped index idx_doses_partn
Creating two indices ...
2022/07/24 20:21:17 Created the secondary index corrupt_idx1_age. Waiting for it become active
2022/07/24 20:21:17 Index is 9245621590411665771 now active
2022/07/24 20:21:22 Created the secondary index corrupt_idx2_company. Waiting for it become active
2022/07/24 20:21:22 Index is 7223836169682951825 now active
hosts = [127.0.0.1:9108]
2022/07/24 20:21:23 Corrupting index corrupt_idx1_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx1_age_9823370606749239478_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx1_age_9823370606749239478_0.index/snapshot.2022-07-24.202117.343
Restarting indexer process ...
2022/07/24 20:21:28 []
2022-07-24T20:21:28.160+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:21:28.160+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:21:28.160+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:21:28.160+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:21:49 Using n1ql client
2022-07-24T20:21:49.130+05:30 [Error] transport error between 127.0.0.1:43032->127.0.0.1:9107: write tcp 127.0.0.1:43032->127.0.0.1:9107: write: broken pipe
2022-07-24T20:21:49.130+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 3265701143674289061 request transport failed `write tcp 127.0.0.1:43032->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:21:49.130+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:21:49.130+05:30 [Error] metadataClient:PickRandom: Replicas - [14828291385421152461], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 20:21:49 Using n1ql client
--- PASS: TestIdxCorruptBasicSanityMultipleIndices (44.76s)
=== RUN   TestIdxCorruptPartitionedIndex
Creating partitioned index ...
2022/07/24 20:21:53 Created the secondary index corrupt_idx3_age. Waiting for it become active
2022/07/24 20:21:53 Index is 15795224475441888827 now active
hosts = [127.0.0.1:9108]
indexer.numPartitions = 8
Corrupting partn id 2
Getting slicepath for  1
slicePath for partn 1 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_1.index
Getting slicepath for  2
slicePath for partn 2 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_2.index
Getting slicepath for  3
slicePath for partn 3 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_3.index
Getting slicepath for  4
slicePath for partn 4 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_4.index
Getting slicepath for  5
slicePath for partn 5 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_5.index
Getting slicepath for  6
slicePath for partn 6 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_6.index
Getting slicepath for  7
slicePath for partn 7 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_7.index
Getting slicepath for  8
slicePath for partn 8 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_8.index
2022/07/24 20:21:53 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_2.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_2.index/snapshot.2022-07-24.202152.087
Restarting indexer process ...
2022/07/24 20:21:58 []
2022-07-24T20:21:58.717+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:21:58.717+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:21:58.718+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:21:58.718+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:22:18 Using n1ql client
2022-07-24T20:22:18.694+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-07-24T20:22:18.694+05:30 [Error] metadataClient:PickRandom: Replicas - [14408247023398361978], PrunedReplica - map[], FilteredReplica map[]
2022-07-24T20:22:18.704+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-07-24T20:22:18.704+05:30 [Error] metadataClient:PickRandom: Replicas - [14408247023398361978], PrunedReplica - map[], FilteredReplica map[]
Scan error: All indexer replica is down or unavailable or unable to process request - cause: queryport.client.noHost
Verified single partition corruption
Restarting indexer process ...
2022/07/24 20:22:18 []
2022-07-24T20:22:18.737+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:22:18.738+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:22:18.738+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:22:18.738+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:22:38 Using n1ql client
2022-07-24T20:22:38.727+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-07-24T20:22:38.727+05:30 [Error] metadataClient:PickRandom: Replicas - [14408247023398361978], PrunedReplica - map[], FilteredReplica map[]
2022-07-24T20:22:38.738+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-07-24T20:22:38.738+05:30 [Error] metadataClient:PickRandom: Replicas - [14408247023398361978], PrunedReplica - map[], FilteredReplica map[]
Scan error: All indexer replica is down or unavailable or unable to process request - cause: queryport.client.noHost
2022/07/24 20:22:38 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_1.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_1.index/snapshot.2022-07-24.202152.086
Skip corrupting partition 2
2022/07/24 20:22:43 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_3.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_3.index/snapshot.2022-07-24.202152.087
2022/07/24 20:22:48 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_4.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_4.index/snapshot.2022-07-24.202152.088
2022/07/24 20:22:53 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_5.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_5.index/snapshot.2022-07-24.202152.088
2022/07/24 20:22:58 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_6.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_6.index/snapshot.2022-07-24.202152.086
2022/07/24 20:23:03 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_7.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_7.index/snapshot.2022-07-24.202152.088
2022/07/24 20:23:08 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_8.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_14408247023398361978_8.index/snapshot.2022-07-24.202152.088
Restarting indexer process ...
2022/07/24 20:23:13 []
2022-07-24T20:23:13.800+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:23:13.800+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:23:13.800+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:23:13.800+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:23:33 Using n1ql client
2022-07-24T20:23:33.785+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-07-24T20:23:33.785+05:30 [Error] metadataClient:PickRandom: Replicas - [14408247023398361978], PrunedReplica - map[], FilteredReplica map[]
2022-07-24T20:23:33.795+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-07-24T20:23:33.795+05:30 [Error] metadataClient:PickRandom: Replicas - [14408247023398361978], PrunedReplica - map[], FilteredReplica map[]
Scan error: All indexer replica is down or unavailable or unable to process request - cause: queryport.client.noHost
--- PASS: TestIdxCorruptPartitionedIndex (104.65s)
=== RUN   TestIdxCorruptMOITwoSnapsOneCorrupt
2022/07/24 20:23:33 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 20000
Creating an index ...
2022/07/24 20:23:47 Created the secondary index corrupt_idx4_age. Waiting for it become active
2022/07/24 20:23:47 Index is 15762961559844695956 now active
hosts = [127.0.0.1:9108]
Populating the default bucket with more docs
Snapshots:  [/opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_6263643318220151174_0.index/snapshot.2022-07-24.202347.982 /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_6263643318220151174_0.index/snapshot.2022-07-24.202407.991]
2022/07/24 20:24:14 Corrupting index corrupt_idx4_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_6263643318220151174_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_6263643318220151174_0.index/snapshot.2022-07-24.202407.991
Restarting indexer process ...
2022/07/24 20:24:14 []
2022-07-24T20:24:14.751+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:24:14.751+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:24:14.751+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:24:14.751+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:24:34 Using n1ql client
2022-07-24T20:24:34.731+05:30 [Error] transport error between 127.0.0.1:35642->127.0.0.1:9107: write tcp 127.0.0.1:35642->127.0.0.1:9107: write: broken pipe
2022-07-24T20:24:34.731+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -3385642357617304801 request transport failed `write tcp 127.0.0.1:35642->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:24:34.731+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:24:34.731+05:30 [Error] metadataClient:PickRandom: Replicas - [6263643318220151174], PrunedReplica - map[], FilteredReplica map[]
Restarting indexer process ...
2022/07/24 20:24:34 []
2022/07/24 20:24:54 Using n1ql client
2022-07-24T20:24:54.776+05:30 [Error] transport error between 127.0.0.1:42088->127.0.0.1:9107: write tcp 127.0.0.1:42088->127.0.0.1:9107: write: broken pipe
2022-07-24T20:24:54.776+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -8781041108623121117 request transport failed `write tcp 127.0.0.1:42088->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:24:54.776+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:24:54.776+05:30 [Error] metadataClient:PickRandom: Replicas - [6263643318220151174], PrunedReplica - map[], FilteredReplica map[]
--- PASS: TestIdxCorruptMOITwoSnapsOneCorrupt (81.00s)
=== RUN   TestIdxCorruptMOITwoSnapsBothCorrupt
2022/07/24 20:24:54 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 20000
Creating an index ...
2022/07/24 20:24:59 Created the secondary index corrupt_idx5_name. Waiting for it become active
2022/07/24 20:24:59 Index is 1564663664848256486 now active
hosts = [127.0.0.1:9108]
Populating the default bucket with more docs
Snapshots:  [/opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_14805208349282990363_0.index/snapshot.2022-07-24.202458.533 /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_14805208349282990363_0.index/snapshot.2022-07-24.202515.621]
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_14805208349282990363_0.index/snapshot.2022-07-24.202515.621
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_14805208349282990363_0.index/snapshot.2022-07-24.202458.533
Restarting indexer process ...
2022/07/24 20:25:26 []
2022-07-24T20:25:26.902+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:25:26.903+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:25:26.903+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:25:26.903+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:25:46 Using n1ql client
2022-07-24T20:25:46.883+05:30 [Error] transport error between 127.0.0.1:42924->127.0.0.1:9107: write tcp 127.0.0.1:42924->127.0.0.1:9107: write: broken pipe
2022-07-24T20:25:46.883+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 7709972043292273547 request transport failed `write tcp 127.0.0.1:42924->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:25:46.883+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:25:46.883+05:30 [Error] metadataClient:PickRandom: Replicas - [14805208349282990363], PrunedReplica - map[], FilteredReplica map[]
2022-07-24T20:25:46.897+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(7709972043292273547) response failed `Index not found`
2022-07-24T20:25:46.897+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:25:46.897+05:30 [Error] metadataClient:PickRandom: Replicas - [14805208349282990363], PrunedReplica - map[], FilteredReplica map[]
Scan error:  Index not found from [127.0.0.1:9107] - cause:  Index not found from [127.0.0.1:9107]
--- PASS: TestIdxCorruptMOITwoSnapsBothCorrupt (52.10s)
=== RUN   TestIdxCorruptBackup
2022/07/24 20:25:46 Changing config key indexer.settings.enable_corrupt_index_backup to value true
Creating index ...
2022/07/24 20:26:01 Created the secondary index corrupt_idx6_age. Waiting for it become active
2022/07/24 20:26:01 Index is 2049369813590100420 now active
hosts = [127.0.0.1:9108]
2022/07/24 20:26:01 Corrupting index corrupt_idx6_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx6_age_12267030530191629710_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx6_age_12267030530191629710_0.index/snapshot.2022-07-24.202600.552
Restarting indexer process ...
2022/07/24 20:26:06 []
2022-07-24T20:26:06.918+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:26:06.919+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:26:06.919+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(7709972043292273547) connection "127.0.0.1:44918" closed `EOF`
2022-07-24T20:26:06.919+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:26:06.919+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
--- PASS: TestIdxCorruptBackup (40.00s)
=== RUN   TestStatsPersistence
2022/07/24 20:26:26 In TestStatsPersistence()
2022/07/24 20:26:26 In DropAllSecondaryIndexes()
2022/07/24 20:26:26 Index found:  corrupt_idx6_age
2022/07/24 20:26:36 Dropped index corrupt_idx6_age
2022/07/24 20:26:36 Index found:  corrupt_idx2_company
2022/07/24 20:26:36 Dropped index corrupt_idx2_company
2022/07/24 20:26:36 Index found:  corrupt_idx4_age
2022/07/24 20:26:37 Dropped index corrupt_idx4_age
2022/07/24 20:26:42 Created the secondary index index_age. Waiting for it become active
2022/07/24 20:26:42 Index is 7780066850294563454 now active
2022/07/24 20:26:48 Created the secondary index index_gender. Waiting for it become active
2022/07/24 20:26:48 Index is 15140622594052687332 now active
2022/07/24 20:26:53 Created the secondary index index_city. Waiting for it become active
2022/07/24 20:26:53 Index is 5955324129583411381 now active
2022/07/24 20:26:58 Created the secondary index p1. Waiting for it become active
2022/07/24 20:26:58 Index is 12952312708650309691 now active
2022/07/24 20:26:58 === Testing for persistence enabled = true, with interval = 5  ===
2022/07/24 20:26:58 Changing config key indexer.statsPersistenceInterval to value 5
2022/07/24 20:26:58 []
2022-07-24T20:26:58.776+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:26:58.776+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:26:58.776+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:26:58.776+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/07/24 20:27:03 Using n1ql client
2022/07/24 20:27:03 Using n1ql client
2022/07/24 20:27:03 Using n1ql client
2022/07/24 20:27:10 []
2022/07/24 20:27:16 === Testing for persistence enabled = false, with interval = 0  ===
2022/07/24 20:27:16 Changing config key indexer.statsPersistenceInterval to value 0
2022/07/24 20:27:16 []
2022/07/24 20:27:21 Using n1ql client
2022-07-24T20:27:21.191+05:30 [Error] transport error between 127.0.0.1:48040->127.0.0.1:9107: write tcp 127.0.0.1:48040->127.0.0.1:9107: write: broken pipe
2022-07-24T20:27:21.191+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -1389465421859209021 request transport failed `write tcp 127.0.0.1:48040->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:27:21.191+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:27:21.191+05:30 [Error] metadataClient:PickRandom: Replicas - [8799578683911456721], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 20:27:21 Using n1ql client
2022/07/24 20:27:21 Using n1ql client
2022/07/24 20:27:23 []
2022/07/24 20:27:28 === Testing for persistence enabled = true, with interval = 10  ===
2022/07/24 20:27:28 Changing config key indexer.statsPersistenceInterval to value 10
2022/07/24 20:27:28 []
2022/07/24 20:27:33 Using n1ql client
2022-07-24T20:27:33.622+05:30 [Error] transport error between 127.0.0.1:48878->127.0.0.1:9107: write tcp 127.0.0.1:48878->127.0.0.1:9107: write: broken pipe
2022-07-24T20:27:33.622+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 4589616888520528201 request transport failed `write tcp 127.0.0.1:48878->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:27:33.622+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:27:33.622+05:30 [Error] metadataClient:PickRandom: Replicas - [8799578683911456721], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 20:27:33 Using n1ql client
2022/07/24 20:27:33 Using n1ql client
2022/07/24 20:27:45 []
2022/07/24 20:27:50 === Testing for persistence enabled = true, with interval = 5  ===
2022/07/24 20:27:51 Changing config key indexer.statsPersistenceInterval to value 5
2022/07/24 20:27:51 []
2022/07/24 20:27:56 Using n1ql client
2022-07-24T20:27:56.088+05:30 [Error] transport error between 127.0.0.1:49588->127.0.0.1:9107: write tcp 127.0.0.1:49588->127.0.0.1:9107: write: broken pipe
2022-07-24T20:27:56.088+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -7388630614222961992 request transport failed `write tcp 127.0.0.1:49588->127.0.0.1:9107: write: broken pipe`
2022-07-24T20:27:56.088+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-07-24T20:27:56.088+05:30 [Error] metadataClient:PickRandom: Replicas - [8799578683911456721], PrunedReplica - map[], FilteredReplica map[]
2022/07/24 20:27:56 Using n1ql client
2022/07/24 20:27:56 Using n1ql client
2022/07/24 20:28:03 []
2022-07-24T20:28:03.358+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:28:03.358+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-07-24T20:28:03.358+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-07-24T20:28:03.358+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
--- PASS: TestStatsPersistence (101.53s)
=== RUN   TestStats_StorageStatistics
2022/07/24 20:28:08 In TestStats_StorageStatistics()
2022/07/24 20:28:08 Index found:  index_age
2022/07/24 20:28:08 Stats from Index4 StorageStatistics for index index_age are [map[AVG_ITEM_SIZE:98 NUM_ITEMS:11502 PARTITION_ID:0]]
2022/07/24 20:28:08 Index found:  p1
2022/07/24 20:28:08 Stats from Index4 StorageStatistics for index p1 are [map[AVG_ITEM_SIZE:86 NUM_ITEMS:11502 PARTITION_ID:0]]
--- PASS: TestStats_StorageStatistics (0.21s)
PASS
ok  	github.com/couchbase/indexing/secondary/tests/functionaltests	7476.277s
Indexer Go routine dump logged in /opt/build/ns_server/logs/n_1/indexer_functests_pprof.log
curl: /opt/build/install/lib/libcurl.so.4: no version information available (required by curl)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 65191    0 65191    0     0  7541k      0 --:--:-- --:--:-- --:--:-- 7957k
2022/07/24 20:28:11 In TestMain()
2022/07/24 20:28:11 Changing config key indexer.api.enableTestServer to value true
2022/07/24 20:28:11 Using memory_optimized for creating indexes
2022/07/24 20:28:11 Changing config key indexer.settings.storage_mode to value memory_optimized
=== RUN   TestRangeWithConcurrentAddMuts
2022/07/24 20:28:16 In TestRangeWithConcurrentAddMuts()
2022/07/24 20:28:16 In DropAllSecondaryIndexes()
2022/07/24 20:28:16 Index found:  index_gender
2022/07/24 20:28:16 Dropped index index_gender
2022/07/24 20:28:16 Index found:  index_city
2022/07/24 20:28:16 Dropped index index_city
2022/07/24 20:28:16 Index found:  index_age
2022/07/24 20:28:16 Dropped index index_age
2022/07/24 20:28:16 Index found:  p1
2022/07/24 20:28:16 Dropped index p1
2022/07/24 20:28:16 Generating JSON docs
2022/07/24 20:28:16 Setting initial JSON docs in KV
2022/07/24 20:28:17 All indexers are active
2022/07/24 20:28:17 Creating a 2i
2022/07/24 20:28:20 Created the secondary index index_company. Waiting for it become active
2022/07/24 20:28:20 Index is 7461817048969237094 now active
2022/07/24 20:28:20 In Range Scan for Thread 1: 
2022/07/24 20:28:20 CreateDocs:: Creating mutations
2022/07/24 20:28:20 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
--- PASS: TestRangeWithConcurrentAddMuts (124.29s)
=== RUN   TestRangeWithConcurrentDelMuts
2022/07/24 20:30:20 In TestRangeWithConcurrentDelMuts()
2022/07/24 20:30:20 Generating JSON docs
2022-07-24T20:30:20.743+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:50856->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 20:30:22 Setting initial JSON docs in KV
2022/07/24 20:30:37 All indexers are active
2022/07/24 20:30:37 Creating a 2i
2022/07/24 20:30:37 Index found:  index_company
2022/07/24 20:30:37 In Range Scan for Thread 1: 
2022/07/24 20:30:37 CreateDocs:: Delete mutations
2022/07/24 20:30:38 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
--- PASS: TestRangeWithConcurrentDelMuts (137.43s)
=== RUN   TestScanWithConcurrentIndexOps
2022/07/24 20:32:38 In TestScanWithConcurrentIndexOps()
2022/07/24 20:32:38 Generating JSON docs
2022-07-24T20:32:38.171+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:53330->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 20:32:43 Setting initial JSON docs in KV
2022/07/24 20:33:40 All indexers are active
2022/07/24 20:33:40 Creating a 2i
2022/07/24 20:33:40 Index found:  index_company
2022/07/24 20:33:40 In Range Scan for Thread 1: 
2022/07/24 20:33:40 Create and Drop index operations
2022/07/24 20:33:40 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022/07/24 20:33:58 Created the secondary index index_age. Waiting for it become active
2022/07/24 20:33:58 Index is 1002676298720790011 now active
2022/07/24 20:34:20 Created the secondary index index_firstname. Waiting for it become active
2022/07/24 20:34:20 Index is 5089342218690607212 now active
2022/07/24 20:34:21 Dropping the secondary index index_age
2022/07/24 20:34:21 Index dropped
2022/07/24 20:34:22 Dropping the secondary index index_firstname
2022/07/24 20:34:23 Index dropped
2022/07/24 20:34:41 Created the secondary index index_age. Waiting for it become active
2022/07/24 20:34:41 Index is 15679477645036486852 now active
2022/07/24 20:34:59 Created the secondary index index_firstname. Waiting for it become active
2022/07/24 20:34:59 Index is 6412323617641995849 now active
2022/07/24 20:35:01 Dropping the secondary index index_age
2022/07/24 20:35:01 Index dropped
2022/07/24 20:35:02 Dropping the secondary index index_firstname
2022/07/24 20:35:02 Index dropped
2022/07/24 20:35:23 Created the secondary index index_age. Waiting for it become active
2022/07/24 20:35:23 Index is 12457438805027951127 now active
2022-07-24T20:35:40.479+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57774->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 20:35:41 Created the secondary index index_firstname. Waiting for it become active
2022/07/24 20:35:41 Index is 5607677863310743722 now active
2022/07/24 20:35:43 Dropping the secondary index index_age
2022/07/24 20:35:43 Index dropped
2022/07/24 20:35:44 Dropping the secondary index index_firstname
2022/07/24 20:35:44 Index dropped
--- PASS: TestScanWithConcurrentIndexOps (187.12s)
=== RUN   TestConcurrentScans_SameIndex
2022/07/24 20:35:45 In TestConcurrentScans_SameIndex()
2022/07/24 20:35:45 Generating JSON docs
2022-07-24T20:35:45.295+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57776->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 20:35:50 Setting initial JSON docs in KV
2022/07/24 20:36:46 All indexers are active
2022/07/24 20:36:46 Creating a 2i
2022/07/24 20:36:46 Index found:  index_company
2022/07/24 20:36:46 In Range Scan for Thread 6: 
2022/07/24 20:36:46 In Range Scan for Thread 1: 
2022/07/24 20:36:46 In Range Scan for Thread 5: 
2022/07/24 20:36:46 In Range Scan for Thread 3: 
2022/07/24 20:36:46 In Range Scan for Thread 4: 
2022/07/24 20:36:46 In Range Scan for Thread 2: 
2022/07/24 20:36:46 ListAllSecondaryIndexes() for Thread 3: : Index index_company Bucket default
2022/07/24 20:36:46 ListAllSecondaryIndexes() for Thread 6: : Index index_company Bucket default
2022/07/24 20:36:46 ListAllSecondaryIndexes() for Thread 4: : Index index_company Bucket default
2022/07/24 20:36:46 ListAllSecondaryIndexes() for Thread 2: : Index index_company Bucket default
2022/07/24 20:36:46 ListAllSecondaryIndexes() for Thread 5: : Index index_company Bucket default
2022/07/24 20:36:46 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022-07-24T20:38:46.403+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:59354->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T20:38:46.535+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:59358->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T20:38:46.800+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:59350->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T20:38:47.257+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:59356->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T20:38:47.423+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:59352->127.0.0.1:9106: use of closed network connection. Kill Pipe.
--- PASS: TestConcurrentScans_SameIndex (182.32s)
=== RUN   TestConcurrentScans_MultipleIndexes
2022/07/24 20:38:47 In TestConcurrentScans_MultipleIndexes()
2022/07/24 20:38:47 Generating JSON docs
2022-07-24T20:38:47.611+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:59360->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 20:38:52 Setting initial JSON docs in KV
2022/07/24 20:39:47 All indexers are active
2022/07/24 20:39:47 Creating multiple indexes
2022/07/24 20:39:47 Index found:  index_company
2022/07/24 20:40:14 Created the secondary index index_age. Waiting for it become active
2022/07/24 20:40:14 Index is 3009870461659240570 now active
2022/07/24 20:40:35 Created the secondary index index_firstname. Waiting for it become active
2022/07/24 20:40:35 Index is 18047413737274915309 now active
2022/07/24 20:40:35 In Range Scan for Thread 3: 
2022/07/24 20:40:35 In Range Scan for Thread 1: 
2022/07/24 20:40:35 In Range Scan
2022/07/24 20:40:35 ListAllSecondaryIndexes() for Thread 1: : Index index_firstname Bucket default
2022/07/24 20:40:35 ListAllSecondaryIndexes() for Thread 1: : Index index_age Bucket default
2022/07/24 20:40:35 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022/07/24 20:40:35 ListAllSecondaryIndexes() for Thread 3: : Index index_firstname Bucket default
2022/07/24 20:40:35 ListAllSecondaryIndexes() for Thread 3: : Index index_age Bucket default
2022/07/24 20:40:35 ListAllSecondaryIndexes() for Thread 3: : Index index_company Bucket default
2022-07-24T20:42:35.695+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:32816->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-07-24T20:42:35.981+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:32820->127.0.0.1:9106: use of closed network connection. Kill Pipe.
--- PASS: TestConcurrentScans_MultipleIndexes (228.41s)
=== RUN   TestMutationsWithMultipleIndexBuilds
2022/07/24 20:42:36 In TestMutationsWithMultipleIndexBuilds()
2022/07/24 20:42:36 In DropAllSecondaryIndexes()
2022/07/24 20:42:36 Index found:  index_age
2022-07-24T20:42:36.024+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:32818->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/07/24 20:42:36 Dropped index index_age
2022/07/24 20:42:36 Index found:  index_firstname
2022/07/24 20:42:36 Dropped index index_firstname
2022/07/24 20:42:36 Index found:  index_company
2022/07/24 20:42:36 Dropped index index_company
2022/07/24 20:42:36 Generating JSON docs
2022/07/24 20:42:41 Setting initial JSON docs in KV
2022/07/24 20:43:43 Created the secondary index index_primary. Waiting for it become active
2022/07/24 20:43:43 Index is 18254130785205407637 now active
2022/07/24 20:43:43 Creating multiple indexes in deferred mode
2022/07/24 20:43:43 Build Indexes and wait for indexes to become active: [index_company index_age index_firstname index_lastname]
2022/07/24 20:43:43 Build command issued for the deferred indexes [index_company index_age index_firstname index_lastname]
2022/07/24 20:43:43 Waiting for the index index_company to become active
2022/07/24 20:43:43 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:44 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:45 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:46 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:47 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:48 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:49 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:50 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:51 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:52 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:53 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:54 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:55 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:56 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:57 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:43:58 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:00 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:01 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:02 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:03 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:04 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:05 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:06 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:07 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:08 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:09 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:10 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:11 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:12 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:13 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:14 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:15 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:16 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:17 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:18 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:19 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:20 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:21 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:22 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:23 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:24 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:25 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:26 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:27 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:28 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:29 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:30 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:31 Waiting for index 5142165773899221878 to go active ...
2022/07/24 20:44:32 Index is 5142165773899221878 now active
2022/07/24 20:44:32 Waiting for the index index_age to become active
2022/07/24 20:44:32 Index is 5722451395758441298 now active
2022/07/24 20:44:32 Waiting for the index index_firstname to become active
2022/07/24 20:44:32 Index is 18292986513982112978 now active
2022/07/24 20:44:32 Waiting for the index index_lastname to become active
2022/07/24 20:44:32 Index is 15559820897196018209 now active
--- PASS: TestMutationsWithMultipleIndexBuilds (116.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/tests/largedatatests	980.780s
Indexer Go routine dump logged in /opt/build/ns_server/logs/n_1/indexer_largedata_pprof.log
curl: /opt/build/install/lib/libcurl.so.4: no version information available (required by curl)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 63024    0 63024    0     0  9727k      0 --:--:-- --:--:-- --:--:-- 10.0M

Integration tests

Disabled integration tests

Testing Succeeded


Version: versions-24.07.2022-17.20.cfg
Build Log: make-24.07.2022-17.20.log
Server Log: logs-24.07.2022-17.20.tar.gz

Finished