Building

Started building at 2022/08/01 20:54:50
Using pegged server, 1636 build
Calculating base
Updating mirror
Basing run on 7.2.0-1636 fa1df4e43
Updating tree for run 01.08.2022-20.54
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 7419837, changes since last good build: none
Switching plasma to unstable
plasma is at 0068bd9, changes since last good build: 
fatal: Invalid revision range a6bc03311139c8525a8090b2f80b873f48a2be2d..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 b34cc53, changes since last good build: none
Pulling in uncommitted change 177770 at refs/changes/70/177770/6
Total 5 (delta 4), reused 5 (delta 4)
[unstable bec5d085] 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, 33 insertions(+), 1 deletion(-)
Pulling in uncommitted change 177779 at refs/changes/79/177779/3
Total 11 (delta 8), reused 10 (delta 8)
[unstable 84244bd8] 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 178091 at refs/changes/91/178091/2
Total 5 (delta 4), reused 5 (delta 4)
[unstable 3d9a433a] MB-53048: Update numSliceWriters as per the cgroup setting
 Author: Sai Krishna Teja Kommaraju 
 Date: Thu Jul 28 11:13:13 2022 +0530
 1 file changed, 7 insertions(+)
Pulling in uncommitted change 177256 at refs/changes/56/177256/2
Total 3 (delta 2), reused 3 (delta 2)
[unstable a6b4453] 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 177516 at refs/changes/16/177516/9
Total 17 (delta 8), reused 13 (delta 8)
[unstable 5be6969] MB-52020: Add LSS Snapshot & Copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:49:15 2022 -0700
 6 files changed, 1110 insertions(+), 4 deletions(-)
Pulling in uncommitted change 177517 at refs/changes/17/177517/11
Total 23 (delta 12), reused 18 (delta 12)
[unstable e0470ac] MB-52020: Add Shard Snapshot, Copy & Restore on LFS
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:56:46 2022 -0700
 4 files changed, 1682 insertions(+), 4 deletions(-)
Pulling in uncommitted change 177518 at refs/changes/18/177518/10
Total 27 (delta 17), reused 25 (delta 17)
[unstable e1f0cbb] 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 909f598] 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 06e58d1] 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 a67b6a0] 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/08/01 21:41:20
Testing mode: sanity,unit,functional,integration
Using storage type: memdb
Setting ulimit to 200000

Simple Test

Aug 01 21:41:43 b" 'stop_on_failure': 'True'}"
Aug 01 21:41:43 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'
Aug 01 21:41:43 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-Aug-01_21-41-41/test_1'}"
Aug 01 21:41:43 b'-->result: '
Aug 01 21:41:43 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 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'
Aug 01 21:41:43 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-Aug-01_21-41-41/test_2'}"
Aug 01 21:41:43 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 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'
Aug 01 21:41:43 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-Aug-01_21-41-41/test_3'}"
Aug 01 21:41:43 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 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'
Aug 01 21:41:43 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-Aug-01_21-41-41/test_4'}"
Aug 01 21:41:43 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 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'
Aug 01 21:41:43 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-Aug-01_21-41-41/test_5'}"
Aug 01 21:41:43 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 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
Aug 01 21:41:43 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-Aug-01_21-41-41/test_6'}"
Aug 01 21:41:43 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 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'
Aug 01 21:41:43 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-Aug-01_21-41-41/test_7'}"
Aug 01 21:41:43 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite xdcr.uniXDCR.unidirectional , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 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'
Aug 01 21:41:43 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-Aug-01_21-41-41/test_8'}"
Aug 01 21:41:43 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'summary so far suite xdcr.uniXDCR.unidirectional , pass 0 , fail 2'
Aug 01 21:41:43 b'failures so far...'
Aug 01 21:41:43 b'xdcr.uniXDCR.unidirectional.load_with_failover'
Aug 01 21:41:43 b'Run after suite setup for xdcr.uniXDCR.unidirectional.load_with_failover'
Aug 01 21:41:43 b"('rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops', ' fail ')"
Aug 01 21:41:43 b"('rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops', ' fail ')"
Aug 01 21:41:43 b"('memcapable.WarmUpMemcachedTest.do_warmup_100k', ' fail ')"
Aug 01 21:41:43 b"('view.createdeleteview.CreateDeleteViewTests.test_view_ops', ' fail ')"
Aug 01 21:41:43 b"('view.viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_in', ' fail ')"
Aug 01 21:41:43 b"('view.viewquerytests.ViewQueryTests.test_simple_dataset_stale_queries_data_modification', ' fail ')"
Aug 01 21:41:43 b"('xdcr.uniXDCR.unidirectional.load_with_ops', ' fail ')"
Aug 01 21:41:43 b"('xdcr.uniXDCR.unidirectional.load_with_failover', ' fail ')"
Aug 01 21:41:43 Makefile:28: recipe for target 'simple-test' failed

Unit tests

=== RUN   TestMerger
--- PASS: TestMerger (0.01s)
=== RUN   TestInsert
--- PASS: TestInsert (0.00s)
=== RUN   TestInsertPerf
16000000 items took 24.406208341s -> 655570.9013235618 items/s conflicts 40
--- PASS: TestInsertPerf (24.41s)
=== RUN   TestGetPerf
16000000 items took 5.292385096s -> 3.023211597374659e+06 items/s
--- PASS: TestGetPerf (5.88s)
=== 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.58s)
=== 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 8.414972112s to build 50000000 items, 5.94179e+06 items/sec
Took 437.419576ms to iterate 50000000 items
--- PASS: TestBuilder (8.85s)
=== RUN   TestNodeDCAS
--- PASS: TestNodeDCAS (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/memdb/skiplist	39.942s
=== RUN   TestInsert
Set IO Concurrency: 716
--- PASS: TestInsert (0.01s)
=== RUN   TestInsertPerf
20000000 items took 45.822171549s -> 436469.92981580924 items/s snapshots_created 210 live_snapshots 1
--- PASS: TestInsertPerf (57.96s)
=== RUN   TestInsertDuplicates
--- PASS: TestInsertDuplicates (0.01s)
=== RUN   TestGetPerf
16000000 items took 10.63574492s -> 1.5043610128250425e+06 items/s
--- PASS: TestGetPerf (12.16s)
=== RUN   TestLoadStoreDisk
Inserting 1000000 items took 1.372527551s
{
"node_count":             999999,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       10,
"next_pointers_per_node": 1.3336,
"memory_used":            57337424,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749707,
"level1": 187739,
"level2": 47014,
"level3": 11692,
"level4": 2864,
"level5": 710,
"level6": 196,
"level7": 57,
"level8": 16,
"level9": 3,
"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
}
}
snap count = 1000000
2022-08-01T21:44:04.029+05:30 [Info] MemDB::StoreToDisk: Unexpected amount of data being persisted dir [db.dump] count per shard [[58861 18524 170371 53949 241772 55336 159856 133567 30186 30551 47027 0 0 0 0 0]] total count [1000000] snap count [999999] size per shard [[470888 148192 1362968 431592 1934176 442688 1278848 1068536 241488 244408 376216 0 0 0 0 0]] total size [8000000] memoryInUse [57337424]
2022-08-01T21:44:04.087+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[58861 18524 170371 53949 241772 55336 159856 133567 30186 30551 47027 0 0 0 0 0]] total count [1000000] snap count [999999] size per shard [[470888 148192 1362968 431592 1934176 442688 1278848 1068536 241488 244408 376216 0 0 0 0 0]] total size [8000000] memoryInUse [57337424]
Storing to disk took 354.714414ms
Loading from disk took 283.03553ms
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3339,
"memory_used":            57341968,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750075,
"level1": 186978,
"level2": 47179,
"level3": 11896,
"level4": 2875,
"level5": 725,
"level6": 201,
"level7": 55,
"level8": 12,
"level9": 3,
"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
}
}
--- PASS: TestLoadStoreDisk (3.24s)
=== RUN   TestConcurrentLoadCloseFragmentation
Done Inserting 2000000 items
frag = NaN%
2022-08-01T21:44:09.069+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[57068 194930 172888 169632 123879 103648 110815 32319 128970 108396 102028 74672 84342 140185 75783 320445]] total count [2000000] snap count [2000000] size per shard [[456544 1559440 1383104 1357056 991032 829184 886520 258552 1031760 867168 816224 597376 674736 1121480 606264 2563560]] total size [16000000] memoryInUse [114686048]
Done Storing to disk
frag = NaN%
Done Closing
Done Loading from disk
frag = NaN%
--- PASS: TestConcurrentLoadCloseFragmentation (5.21s)
=== RUN   TestConcurrentLoadCloseFragmentationSmall
Done Inserting 10 items
frag = NaN%
2022-08-01T21:44:10.793+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.07s)
=== RUN   TestConcurrentLoadCloseFragmentationEmpty
Done Inserting 0 items
frag = NaN%
2022-08-01T21:44:10.865+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.08s)
=== RUN   TestConcurrentCloseSingleNode
A
--- PASS: TestConcurrentCloseSingleNode (0.34s)
=== RUN   TestStoreDiskShutdown
Inserting 1000000 items took 1.325078102s
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       11,
"next_pointers_per_node": 1.3337,
"memory_used":            57338960,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749654,
"level1": 187896,
"level2": 46734,
"level3": 11808,
"level4": 2947,
"level5": 729,
"level6": 177,
"level7": 42,
"level8": 10,
"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
}
}
snap count = 1000000
Prepare returns error:  MemDB instance has been shutdown
--- PASS: TestStoreDiskShutdown (1.96s)
=== RUN   TestDelete
{
"node_count":             10,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.2000,
"memory_used":            572,
"node_allocs":            10,
"node_frees":             0,
"level_node_distribution":{
"level0": 8,
"level1": 2,
"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.1000,
"memory_used":            556,
"node_allocs":            20,
"node_frees":             10,
"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
}
}
--- PASS: TestDelete (1.00s)
=== RUN   TestGCPerf
final_node_count = 16000, average_live_node_count = 66592, wait_time_for_collection = 18ms
--- PASS: TestGCPerf (34.13s)
=== RUN   TestMemoryInUse
ItemsCount: 5000, MemoryInUse: 296096, NodesCount: 5000
ItemsCount: 0, MemoryInUse: 64, NodesCount: 0
--- PASS: TestMemoryInUse (1.01s)
=== RUN   TestFullScan
Inserting 1600000 items took 2.215940833s
{
"node_count":             1600001,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       19,
"next_pointers_per_node": 1.3335,
"memory_used":            91738560,
"node_allocs":            1600000,
"node_frees":             0,
"level_node_distribution":{
"level0": 1200085,
"level1": 299578,
"level2": 75323,
"level3": 18748,
"level4": 4694,
"level5": 1138,
"level6": 342,
"level7": 70,
"level8": 21,
"level9": 2,
"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
}
}
Full iteration of 1600000 items took 230.684294ms
--- PASS: TestFullScan (3.49s)
=== RUN   TestVisitor
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3336,
"memory_used":            57337584,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749681,
"level1": 187854,
"level2": 46911,
"level3": 11619,
"level4": 2955,
"level5": 723,
"level6": 187,
"level7": 52,
"level8": 17,
"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
}
}
Took 55.931926ms to iterate 1000000 items, 1.7878876e+07 items/s
shard - 0 count = 18332, range: 0-18331
shard - 1 count = 15452, range: 18332-33783
shard - 2 count = 17671, range: 33784-51454
shard - 3 count = 15627, range: 51455-67081
shard - 4 count = 32317, range: 67082-99398
shard - 5 count = 83939, range: 99399-183337
shard - 6 count = 11748, range: 183338-195085
shard - 7 count = 13799, range: 195086-208884
shard - 8 count = 10302, range: 208885-219186
shard - 9 count = 45639, range: 219187-264825
shard - 10 count = 23178, range: 264826-288003
shard - 11 count = 2562, range: 288004-290565
shard - 12 count = 13710, range: 290566-304275
shard - 13 count = 5188, range: 304276-309463
shard - 14 count = 5575, range: 309464-315038
shard - 15 count = 21228, range: 315039-336266
shard - 16 count = 15679, range: 336267-351945
shard - 17 count = 64727, range: 351946-416672
shard - 18 count = 60832, range: 416673-477504
shard - 19 count = 22536, range: 477505-500040
shard - 20 count = 29155, range: 500041-529195
shard - 21 count = 16669, range: 529196-545864
shard - 22 count = 4015, range: 545865-549879
shard - 23 count = 51130, range: 549880-601009
shard - 24 count = 46877, range: 601010-647886
shard - 25 count = 14733, range: 647887-662619
shard - 26 count = 23720, range: 662620-686339
shard - 27 count = 10828, range: 686340-697167
shard - 28 count = 17664, range: 697168-714831
shard - 29 count = 39407, range: 714832-754238
shard - 30 count = 49660, range: 754239-803898
shard - 31 count = 196101, range: 803899-999999
--- PASS: TestVisitor (1.74s)
=== RUN   TestVisitorError
--- PASS: TestVisitorError (0.12s)
=== RUN   TestLoadDeltaStoreDisk
snap count = 1000000
2022-08-01T21:44:59.048+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[0 0 0 0 0 272 389877 34061 63224 411289 0 0 0 0 0 0]] total count [898723] snap count [1000000] size per shard [[0 0 0 0 0 2176 3119016 272488 505792 3290312 0 0 0 0 0 0]] total size [7189784] memoryInUse [117867620]
Storing to disk took 15.641744761s
Loading from disk took 1.047261142s
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3334,
"memory_used":            57334512,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750133,
"level1": 187303,
"level2": 46803,
"level3": 11856,
"level4": 2919,
"level5": 736,
"level6": 191,
"level7": 47,
"level8": 9,
"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
}
}
Restored 101277
RestoredFailed 316137
--- PASS: TestLoadDeltaStoreDisk (18.53s)
=== RUN   TestExecuteConcurrGCWorkers
--- PASS: TestExecuteConcurrGCWorkers (0.73s)
=== RUN   TestCloseWithActiveIterators
--- PASS: TestCloseWithActiveIterators (11.79s)
=== RUN   TestDiskCorruption
Inserting 100000 items took 93.547999ms
{
"node_count":             99999,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       7,
"next_pointers_per_node": 1.3315,
"memory_used":            5730364,
"node_allocs":            100000,
"node_frees":             0,
"level_node_distribution":{
"level0": 75056,
"level1": 18795,
"level2": 4611,
"level3": 1149,
"level4": 284,
"level5": 81,
"level6": 16,
"level7": 6,
"level8": 1,
"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
}
}
2022-08-01T21:45:25.905+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[10035 12241 4835 4686 15436 1835 13680 6524 6831 4092 4018 7904 7883 0 0 0]] total count [100000] snap count [100000] size per shard [[80280 97928 38680 37488 123488 14680 109440 52192 54648 32736 32144 63232 63064 0 0 0]] total size [800000] memoryInUse [5730364]
Storing to disk took 119.304967ms
Loading from disk took 29.064307ms
--- PASS: TestDiskCorruption (0.30s)
=== RUN   TestSnapshotStats
--- PASS: TestSnapshotStats (0.77s)
=== RUN   TestInsertDeleteConcurrent
total items in snapshot: 8125000  items deleted: 1875000
{
"node_count":             8125000,
"soft_deletes":           0,
"read_conflicts":         9615,
"insert_conflicts":       76,
"next_pointers_per_node": 1.3333,
"memory_used":            465829472,
"node_allocs":            10000000,
"node_frees":             10000002,
"level_node_distribution":{
"level0": 6094232,
"level1": 1522624,
"level2": 381080,
"level3": 95421,
"level4": 23672,
"level5": 6027,
"level6": 1501,
"level7": 354,
"level8": 69,
"level9": 15,
"level10": 4,
"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
}
}
allocs: 20000002 frees: 20000002
--- PASS: TestInsertDeleteConcurrent (18.01s)
=== RUN   TestNodeList
--- PASS: TestNodeList (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/memdb	172.926s
=== 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.035s
Initializing write barrier = 8000
=== RUN   TestForestDBIterator
2022-08-01T21:45:56.274+05:30 [INFO][FDB] Forestdb blockcache size 134217728 initialized in 5963 us

2022-08-01T21:45:56.275+05:30 [INFO][FDB] Forestdb opened database file test
2022-08-01T21:45:56.278+05:30 [INFO][FDB] Forestdb closed database file test
--- PASS: TestForestDBIterator (0.01s)
=== RUN   TestForestDBIteratorSeek
2022-08-01T21:45:56.279+05:30 [INFO][FDB] Forestdb opened database file test
2022-08-01T21:45:56.284+05:30 [INFO][FDB] Forestdb closed database file test
--- PASS: TestForestDBIteratorSeek (0.01s)
=== 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 56.226988323s -> 177850.5358059421 items/s
Incr build: 10000000 items took 2m44.580858342s -> 60760.4073811545 items/s
Main Index: {
"node_count":             18000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       1,
"next_pointers_per_node": 1.3333,
"memory_used":            1695887676,
"node_allocs":            18000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 13500190,
"level1": 3375550,
"level2": 843073,
"level3": 210795,
"level4": 52734,
"level5": 13347,
"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 (220.81s)
=== 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	244.889s
=== RUN   TestConnPoolBasicSanity
2022-08-01T21:50:04.212+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 3 overflow 6 low WM 3 relConn batch size 1 ...
2022-08-01T21:50:04.419+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T21:50:05.213+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestConnPoolBasicSanity (5.00s)
=== RUN   TestConnRelease
2022-08-01T21:50:09.215+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-08-01T21:50:48.971+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T21:50:49.234+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestConnRelease (43.76s)
=== RUN   TestLongevity
2022-08-01T21:50:52.973+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-08-01T21:51:31.380+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T21:51:31.990+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestLongevity (42.41s)
=== RUN   TestSustainedHighConns
2022-08-01T21:51:35.381+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Allocating 16 Connections
cp.curActConns = 0
Returning 3 Connections
cp.curActConns = 11
Returning 2 Connections
cp.curActConns = 11
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 14
Returning 1 Connections
Allocating 12 Connections
cp.curActConns = 23
Returning 1 Connections
cp.curActConns = 24
Allocating 10 Connections
Returning 1 Connections
cp.curActConns = 33
Returning 3 Connections
Allocating 15 Connections
cp.curActConns = 34
Returning 4 Connections
cp.curActConns = 41
Returning 3 Connections
Allocating 8 Connections
cp.curActConns = 46
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 46
Returning 4 Connections
cp.curActConns = 43
Allocating 9 Connections
Returning 3 Connections
cp.curActConns = 49
Returning 2 Connections
Allocating 21 Connections
cp.curActConns = 57
Returning 4 Connections
cp.curActConns = 64
Returning 4 Connections
Allocating 0 Connections
cp.curActConns = 60
Returning 0 Connections
Allocating 13 Connections
cp.curActConns = 69
Returning 3 Connections
cp.curActConns = 70
Allocating 3 Connections
Returning 0 Connections
cp.curActConns = 73
Returning 1 Connections
Allocating 10 Connections
cp.curActConns = 80
Returning 0 Connections
cp.curActConns = 82
Returning 1 Connections
Allocating 16 Connections
cp.curActConns = 92
Returning 3 Connections
cp.curActConns = 94
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 95
Returning 3 Connections
Allocating 21 Connections
cp.curActConns = 104
Returning 3 Connections
cp.curActConns = 110
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 111
Returning 3 Connections
Allocating 22 Connections
cp.curActConns = 116
Returning 4 Connections
cp.curActConns = 126
Returning 2 Connections
Allocating 13 Connections
cp.curActConns = 128
Returning 1 Connections
cp.curActConns = 136
Returning 0 Connections
Allocating 23 Connections
cp.curActConns = 140
Returning 3 Connections
cp.curActConns = 152
Returning 2 Connections
cp.curActConns = 154
Returning 3 Connections
Allocating 16 Connections
cp.curActConns = 163
Returning 4 Connections
cp.curActConns = 163
Allocating 8 Connections
Returning 3 Connections
cp.curActConns = 168
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 169
Returning 3 Connections
Allocating 11 Connections
cp.curActConns = 174
Returning 1 Connections
cp.curActConns = 176
Returning 2 Connections
Allocating 15 Connections
cp.curActConns = 185
Returning 3 Connections
cp.curActConns = 186
Allocating 2 Connections
Returning 3 Connections
cp.curActConns = 185
Allocating 5 Connections
Returning 3 Connections
cp.curActConns = 187
Returning 0 Connections
Allocating 1 Connections
cp.curActConns = 188
Returning 0 Connections
Allocating 7 Connections
cp.curActConns = 195
Returning 2 Connections
Allocating 10 Connections
cp.curActConns = 196
Returning 0 Connections
cp.curActConns = 203
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 203
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 204
Returning 3 Connections
Allocating 1 Connections
cp.curActConns = 202
Returning 2 Connections
Allocating 4 Connections
cp.curActConns = 204
Returning 2 Connections
Allocating 2 Connections
cp.curActConns = 204
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 203
Returning 4 Connections
Allocating 1 Connections
cp.curActConns = 200
Returning 2 Connections
Allocating 6 Connections
cp.curActConns = 204
Returning 4 Connections
Allocating 1 Connections
cp.curActConns = 201
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 204
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 207
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 208
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 208
Returning 0 Connections
Allocating 2 Connections
cp.curActConns = 208
Returning 4 Connections
cp.curActConns = 206
Allocating 3 Connections
Returning 3 Connections
cp.curActConns = 206
Returning 4 Connections
Allocating 3 Connections
cp.curActConns = 205
Allocating 4 Connections
Returning 2 Connections
cp.curActConns = 207
Returning 2 Connections
Allocating 2 Connections
cp.curActConns = 207
Allocating 1 Connections
Returning 4 Connections
cp.curActConns = 204
Allocating 0 Connections
Returning 1 Connections
cp.curActConns = 203
Allocating 1 Connections
Returning 1 Connections
cp.curActConns = 203
Allocating 0 Connections
Returning 1 Connections
cp.curActConns = 202
Returning 4 Connections
Allocating 14 Connections
cp.curActConns = 212
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 215
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 214
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 215
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 214
Returning 3 Connections
Allocating 4 Connections
cp.curActConns = 215
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 216
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 217
Returning 3 Connections
Allocating 3 Connections
cp.curActConns = 217
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 216
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 216
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 214
Returning 2 Connections
Allocating 0 Connections
cp.curActConns = 212
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 215
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 218
Returning 0 Connections
Allocating 4 Connections
cp.curActConns = 219
Returning 0 Connections
cp.curActConns = 222
Returning 3 Connections
Allocating 0 Connections
cp.curActConns = 219
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 217
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 217
Returning 2 Connections
Allocating 4 Connections
cp.curActConns = 219
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 222
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 221
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 220
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 223
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 222
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 221
Returning 0 Connections
Allocating 4 Connections
cp.curActConns = 225
Returning 2 Connections
Allocating 2 Connections
cp.curActConns = 225
Retuning from startDeallocatorRoutine
Retuning from startAllocatorRoutine
2022-08-01T21:52:30.445+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T21:52:31.417+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestSustainedHighConns (59.06s)
=== RUN   TestLowWM
2022-08-01T21:52:34.446+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 20 overflow 5 low WM 10 relConn batch size 2 ...
2022-08-01T21:53:34.460+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] active conns 0, free conns 10
2022-08-01T21:54:34.476+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] active conns 0, free conns 10
2022-08-01T21:54:39.955+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T21:54:40.478+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestLowWM (129.51s)
=== RUN   TestTotalConns
2022-08-01T21:54:43.957+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 120 overflow 5 low WM 10 relConn batch size 10 ...
2022-08-01T21:54:58.139+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T21:54:58.963+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestTotalConns (18.18s)
=== RUN   TestUpdateTickRate
2022-08-01T21:55:02.140+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 40 overflow 5 low WM 2 relConn batch size 2 ...
2022-08-01T21:55:22.990+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T21:55:23.149+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.828s
Starting server: attempt 1

Functional tests

2022/08/01 21:57:33 In TestMain()
2022/08/01 21:57:33 otp node fetch error: json: cannot unmarshal string into Go value of type couchbase.Pool
2022/08/01 21:57:33 Initialising services with role: kv,n1ql on node: 127.0.0.1:9000
2022/08/01 21:57:34 Initialising web UI on node: 127.0.0.1:9000
2022/08/01 21:57:34 InitWebCreds, response is: {"newBaseUri":"http://127.0.0.1:9000/"}
2022/08/01 21:57:35 Setting data quota of 1500M and Index quota of 1500M
2022/08/01 21:57:36 Adding node: https://127.0.0.1:19001 with role: kv,index to the cluster
2022/08/01 21:57:43 AddNode: Successfully added node: 127.0.0.1:9001 (role kv,index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 21:57:48 Rebalance progress: 0
2022/08/01 21:57:53 Rebalance progress: 0
2022/08/01 21:57:58 Rebalance progress: 100
2022/08/01 21:58:03 Created bucket default, responseBody: 
2022/08/01 21:58:08 Cluster status: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 21:58:08 Successfully initialised cluster
2022/08/01 21:58:08 Cluster status: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 21:58:08 Changing config key queryport.client.settings.backfillLimit to value 0
2022/08/01 21:58:08 Changing config key queryport.client.log_level to value Warn
2022/08/01 21:58:08 Changing config key indexer.api.enableTestServer to value true
2022/08/01 21:58:08 Changing config key indexer.settings.persisted_snapshot_init_build.moi.interval to value 60000
2022/08/01 21:58:08 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 60000
2022/08/01 21:58:08 Changing config key indexer.settings.log_level to value info
2022/08/01 21:58:08 Changing config key indexer.settings.storage_mode.disable_upgrade to value true
2022/08/01 21:58:08 Using memory_optimized for creating indexes
2022/08/01 21:58:08 Changing config key indexer.settings.storage_mode to value memory_optimized
2022/08/01 21:58:14 Data file exists. Skipping download
2022/08/01 21:58:14 Data file exists. Skipping download
2022/08/01 21:58:15 In DropAllSecondaryIndexes()
2022/08/01 21:58:15 Emptying the default bucket
2022/08/01 21:58:18 Flush Enabled on bucket default, responseBody: 
2022/08/01 21:58:56 Flushed the bucket default, Response body: 
2022/08/01 21:58:56 Create Index On the empty default Bucket()
2022/08/01 21:58:59 Created the secondary index index_eyeColor. Waiting for it become active
2022/08/01 21:58:59 Index is 14837783971805902292 now active
2022/08/01 21:58:59 Populating the default bucket
=== RUN   TestScanAfterBucketPopulate
2022/08/01 21:59:08 In TestScanAfterBucketPopulate()
2022/08/01 21:59:08 Create an index on empty bucket, populate the bucket and Run a scan on the index
2022/08/01 21:59:08 Using n1ql client
2022-08-01T21:59:08.148+05:30 [Info] creating GsiClient for 127.0.0.1:9000
2022/08/01 21:59:08 Expected and Actual scan responses are the same
--- PASS: TestScanAfterBucketPopulate (0.14s)
=== RUN   TestRestartNilSnapshot
2022/08/01 21:59:08 In TestRestartNilSnapshot()
2022/08/01 21:59:12 Created the secondary index idx_age. Waiting for it become active
2022/08/01 21:59:12 Index is 5939904243187596492 now active
2022/08/01 21:59:12 Restarting indexer process ...
2022/08/01 21:59:12 []
2022-08-01T21:59:12.403+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T21:59:12.403+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T21:59:12.410+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T21:59:12.410+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 22:02:32 Using n1ql client
2022-08-01T22:02:32.379+05:30 [Error] transport error between 127.0.0.1:33680->127.0.0.1:9107: write tcp 127.0.0.1:33680->127.0.0.1:9107: write: broken pipe
2022-08-01T22:02:32.379+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 6776510429412280772 request transport failed `write tcp 127.0.0.1:33680->127.0.0.1:9107: write: broken pipe`
2022-08-01T22:02:32.379+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T22:02:32.379+05:30 [Error] metadataClient:PickRandom: Replicas - [4637835836166111637], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 22:02:32 Expected and Actual scan responses are the same
--- PASS: TestRestartNilSnapshot (204.15s)
=== RUN   TestThreeIndexCreates
2022/08/01 22:02:32 In TestThreeIndexCreates()
2022/08/01 22:02:36 Created the secondary index index_balance. Waiting for it become active
2022/08/01 22:02:36 Index is 12478525784476436588 now active
2022/08/01 22:02:36 Create docs mutations
2022/08/01 22:02:36 Using n1ql client
2022/08/01 22:02:36 Expected and Actual scan responses are the same
2022/08/01 22:02:40 Created the secondary index index_email. Waiting for it become active
2022/08/01 22:02:40 Index is 7394759671242520037 now active
2022/08/01 22:02:40 Create docs mutations
2022/08/01 22:02:41 Using n1ql client
2022/08/01 22:02:41 Expected and Actual scan responses are the same
2022/08/01 22:02:45 Created the secondary index index_pin. Waiting for it become active
2022/08/01 22:02:45 Index is 300039858999286580 now active
2022/08/01 22:02:45 Delete docs mutations
2022/08/01 22:02:45 Using n1ql client
2022/08/01 22:02:45 Expected and Actual scan responses are the same
--- PASS: TestThreeIndexCreates (13.18s)
=== RUN   TestMultipleIndexCreatesDropsWithMutations
2022/08/01 22:02:45 In TestThreeIndexCreates()
2022/08/01 22:02:49 Created the secondary index index_state. Waiting for it become active
2022/08/01 22:02:49 Index is 8227378910565081047 now active
2022/08/01 22:02:49 Create docs mutations
2022/08/01 22:02:49 Using n1ql client
2022/08/01 22:02:50 Expected and Actual scan responses are the same
2022/08/01 22:02:54 Created the secondary index index_registered. Waiting for it become active
2022/08/01 22:02:54 Index is 10655744692050818831 now active
2022/08/01 22:02:54 Create docs mutations
2022/08/01 22:02:54 Using n1ql client
2022/08/01 22:02:54 Expected and Actual scan responses are the same
2022/08/01 22:02:58 Created the secondary index index_gender. Waiting for it become active
2022/08/01 22:02:58 Index is 6923917140165109799 now active
2022/08/01 22:02:58 Create docs mutations
2022/08/01 22:02:58 Using n1ql client
2022/08/01 22:02:58 Expected and Actual scan responses are the same
2022/08/01 22:02:58 Dropping the secondary index index_registered
2022/08/01 22:02:58 Index dropped
2022/08/01 22:02:58 Create docs mutations
2022/08/01 22:02:59 Delete docs mutations
2022/08/01 22:02:59 Using n1ql client
2022/08/01 22:02:59 Expected and Actual scan responses are the same
2022/08/01 22:03:03 Created the secondary index index_longitude. Waiting for it become active
2022/08/01 22:03:03 Index is 6669792411047126553 now active
2022/08/01 22:03:03 Create docs mutations
2022/08/01 22:03:03 Using n1ql client
2022/08/01 22:03:03 Expected and Actual scan responses are the same
--- PASS: TestMultipleIndexCreatesDropsWithMutations (18.18s)
=== RUN   TestCreateDropScan
2022/08/01 22:03:03 In TestCreateDropScan()
2022/08/01 22:03:07 Created the secondary index index_cd. Waiting for it become active
2022/08/01 22:03:07 Index is 15574340034534871766 now active
2022/08/01 22:03:07 Using n1ql client
2022/08/01 22:03:07 Expected and Actual scan responses are the same
2022/08/01 22:03:07 Dropping the secondary index index_cd
2022/08/01 22:03:07 Index dropped
2022/08/01 22:03:07 Using n1ql client
2022/08/01 22:03:07 Scan failed as expected with error: Index Not Found - cause: GSI index index_cd not found.
--- PASS: TestCreateDropScan (4.16s)
=== RUN   TestCreateDropCreate
2022/08/01 22:03:07 In TestCreateDropCreate()
2022/08/01 22:03:11 Created the secondary index index_cdc. Waiting for it become active
2022/08/01 22:03:11 Index is 1237346481607618387 now active
2022/08/01 22:03:11 Using n1ql client
2022/08/01 22:03:12 Expected and Actual scan responses are the same
2022/08/01 22:03:12 Dropping the secondary index index_cdc
2022/08/01 22:03:12 Index dropped
2022/08/01 22:03:12 Using n1ql client
2022/08/01 22:03:12 Scan 2 failed as expected with error: Index Not Found - cause: GSI index index_cdc not found.
2022/08/01 22:03:16 Created the secondary index index_cdc. Waiting for it become active
2022/08/01 22:03:16 Index is 8757433960850508 now active
2022/08/01 22:03:16 Using n1ql client
2022/08/01 22:03:16 Expected and Actual scan responses are the same
2022/08/01 22:03:16 (Inclusion 1) Lengths of expected and actual scan results are 5044 and 5044. Num of docs in bucket = 10402
2022/08/01 22:03:16 Using n1ql client
2022/08/01 22:03:16 Expected and Actual scan responses are the same
2022/08/01 22:03:16 (Inclusion 3) Lengths of expected and actual scan results are 5044 and 5044. Num of docs in bucket = 10402
--- PASS: TestCreateDropCreate (8.46s)
=== RUN   TestCreate2Drop1Scan2
2022/08/01 22:03:16 In TestCreate2Drop1Scan2()
2022/08/01 22:03:20 Created the secondary index index_i1. Waiting for it become active
2022/08/01 22:03:20 Index is 401461388181373246 now active
2022/08/01 22:03:24 Created the secondary index index_i2. Waiting for it become active
2022/08/01 22:03:24 Index is 14004182837270345622 now active
2022/08/01 22:03:24 Using n1ql client
2022/08/01 22:03:24 Expected and Actual scan responses are the same
2022/08/01 22:03:24 Using n1ql client
2022/08/01 22:03:24 Expected and Actual scan responses are the same
2022/08/01 22:03:24 Dropping the secondary index index_i1
2022/08/01 22:03:24 Index dropped
2022/08/01 22:03:24 Using n1ql client
2022/08/01 22:03:24 Expected and Actual scan responses are the same
--- PASS: TestCreate2Drop1Scan2 (8.48s)
=== RUN   TestIndexNameCaseSensitivity
2022/08/01 22:03:24 In TestIndexNameCaseSensitivity()
2022/08/01 22:03:28 Created the secondary index index_age. Waiting for it become active
2022/08/01 22:03:28 Index is 12179396049044686236 now active
2022/08/01 22:03:28 Using n1ql client
2022/08/01 22:03:28 Expected and Actual scan responses are the same
2022/08/01 22:03:28 Using n1ql client
2022/08/01 22:03:28 Scan failed as expected with error: Index Not Found - cause: GSI index index_Age not found.
--- PASS: TestIndexNameCaseSensitivity (4.11s)
=== RUN   TestCreateDuplicateIndex
2022/08/01 22:03:28 In TestCreateDuplicateIndex()
2022/08/01 22:03:33 Created the secondary index index_di1. Waiting for it become active
2022/08/01 22:03:33 Index is 198478053402973056 now active
2022/08/01 22:03:33 Index found:  index_di1
2022/08/01 22:03:33 Create failed as expected with error: Index index_di1 already exists.
--- PASS: TestCreateDuplicateIndex (4.06s)
=== RUN   TestDropNonExistingIndex
2022/08/01 22:03:33 In TestDropNonExistingIndex()
2022/08/01 22:03:33 Dropping the secondary index 123456
2022/08/01 22:03:33 Index drop failed as expected with error: Index does not exist.
--- PASS: TestDropNonExistingIndex (0.02s)
=== RUN   TestCreateIndexNonExistentBucket
2022/08/01 22:03:33 In TestCreateIndexNonExistentBucket()
2022-08-01T22:03:33.589+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-08-01T22:03:43.592+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/08/01 22:03:43 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/08/01 22:03:43 Create an index on empty bucket, populate the bucket and Run a scan on the index
2022/08/01 22:03:43 Changing config key indexer.settings.scan_timeout to value 0
2022/08/01 22:03:43 Using n1ql client
2022/08/01 22:03:43 Expected and Actual scan responses are the same
--- PASS: TestScanWithNoTimeout (0.27s)
=== RUN   TestIndexingOnBinaryBucketMeta
2022/08/01 22:03:43 In TestIndexingOnBinaryBucketMeta()
2022/08/01 22:03:43 	 1. Populate a bucekt with binary docs and create indexs on the `id`, `cas` and `expiration` fields of Metadata
2022/08/01 22:03:43 	 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/08/01 22:03:46 Modified parameters of bucket default, responseBody: 
2022/08/01 22:03:46 Created bucket binaryBucket, responseBody: 
2022/08/01 22:04:05 Created the secondary index index_binary_meta_id. Waiting for it become active
2022/08/01 22:04:05 Index is 6843185209564060946 now active
2022/08/01 22:04:10 items_count stat is 10 for index index_binary_meta_id
2022/08/01 22:04:10 Dropping the secondary index index_binary_meta_id
2022/08/01 22:04:10 Index dropped
2022/08/01 22:04:13 Created the secondary index index_binary_meta_cas. Waiting for it become active
2022/08/01 22:04:13 Index is 1905535259023921301 now active
2022/08/01 22:04:18 items_count stat is 10 for index index_binary_meta_cas
2022/08/01 22:04:18 Dropping the secondary index index_binary_meta_cas
2022/08/01 22:04:18 Index dropped
2022/08/01 22:04:21 Created the secondary index index_binary_meta_expiration. Waiting for it become active
2022/08/01 22:04:21 Index is 15892867991043441226 now active
2022/08/01 22:04:26 items_count stat is 10 for index index_binary_meta_expiration
2022/08/01 22:04:26 Dropping the secondary index index_binary_meta_expiration
2022/08/01 22:04:26 Index dropped
2022/08/01 22:04:28 Deleted bucket binaryBucket, responseBody: 
2022/08/01 22:04:31 Modified parameters of bucket default, responseBody: 
--- PASS: TestIndexingOnBinaryBucketMeta (62.94s)
=== RUN   TestRetainDeleteXATTRBinaryDocs
2022/08/01 22:04:46 In TestRetainDeleteXATTRBinaryDocs()
2022/08/01 22:04:46 	 1. Populate a bucket with binary docs having system XATTRS
2022/08/01 22:04:46 	 2. Create index on the system XATTRS with "retain_deleted_xattr" attribute set to true
2022/08/01 22:04:46 	 3. Delete the documents in the bucket
2022/08/01 22:04:46 	 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/08/01 22:04:49 Modified parameters of bucket default, responseBody: 
2022/08/01 22:04:49 Created bucket binaryBucket, responseBody: 
2022/08/01 22:05:08 Created the secondary index index_system_xattr. Waiting for it become active
2022/08/01 22:05:08 Index is 1124483320631997733 now active
2022/08/01 22:05:13 Deleted all the documents in the bucket: binaryBucket successfully
2022/08/01 22:05:16 Deleted bucket binaryBucket, responseBody: 
2022/08/01 22:05:19 Modified parameters of bucket default, responseBody: 
--- PASS: TestRetainDeleteXATTRBinaryDocs (47.42s)
=== RUN   TestSimpleIndex_FloatDataType
2022/08/01 22:05:34 In TestSimpleIndex_FloatDataType()
2022/08/01 22:05:34 Index found:  index_age
2022/08/01 22:05:34 Using n1ql client
2022/08/01 22:05:34 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_FloatDataType (0.02s)
=== RUN   TestSimpleIndex_StringDataType
2022/08/01 22:05:34 In TestSimpleIndex_StringDataType()
2022/08/01 22:05:38 Created the secondary index index_company. Waiting for it become active
2022/08/01 22:05:38 Index is 1462609357667265061 now active
2022/08/01 22:05:38 Using n1ql client
2022/08/01 22:05:38 Expected and Actual scan responses are the same
2022/08/01 22:05:38 Using n1ql client
2022/08/01 22:05:38 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_StringDataType (4.33s)
=== RUN   TestSimpleIndex_FieldValueCaseSensitivity
2022/08/01 22:05:38 In TestSimpleIndex_StringCaseSensitivity()
2022/08/01 22:05:38 Index found:  index_company
2022/08/01 22:05:38 Using n1ql client
2022/08/01 22:05:38 Expected and Actual scan responses are the same
2022/08/01 22:05:38 Using n1ql client
2022/08/01 22:05:38 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_FieldValueCaseSensitivity (0.08s)
=== RUN   TestSimpleIndex_BoolDataType
2022/08/01 22:05:38 In TestSimpleIndex_BoolDataType()
2022/08/01 22:05:42 Created the secondary index index_isActive. Waiting for it become active
2022/08/01 22:05:42 Index is 12960296056726635075 now active
2022/08/01 22:05:42 Using n1ql client
2022/08/01 22:05:43 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_BoolDataType (4.34s)
=== RUN   TestBasicLookup
2022/08/01 22:05:43 In TestBasicLookup()
2022/08/01 22:05:43 Index found:  index_company
2022/08/01 22:05:43 Using n1ql client
2022/08/01 22:05:43 Expected and Actual scan responses are the same
--- PASS: TestBasicLookup (0.01s)
=== RUN   TestIndexOnNonExistentField
2022/08/01 22:05:43 In TestIndexOnNonExistentField()
2022/08/01 22:05:47 Created the secondary index index_height. Waiting for it become active
2022/08/01 22:05:47 Index is 1904546550804783616 now active
2022/08/01 22:05:47 Using n1ql client
2022/08/01 22:05:47 Expected and Actual scan responses are the same
--- PASS: TestIndexOnNonExistentField (4.28s)
=== RUN   TestIndexPartiallyMissingField
2022/08/01 22:05:47 In TestIndexPartiallyMissingField()
2022/08/01 22:05:51 Created the secondary index index_nationality. Waiting for it become active
2022/08/01 22:05:51 Index is 6846388179957252807 now active
2022/08/01 22:05:51 Using n1ql client
2022/08/01 22:05:51 Expected and Actual scan responses are the same
--- PASS: TestIndexPartiallyMissingField (4.22s)
=== RUN   TestScanNonMatchingDatatype
2022/08/01 22:05:51 In TestScanNonMatchingDatatype()
2022/08/01 22:05:51 Index found:  index_age
2022/08/01 22:05:51 Using n1ql client
2022/08/01 22:05:51 Expected and Actual scan responses are the same
--- PASS: TestScanNonMatchingDatatype (0.01s)
=== RUN   TestInclusionNeither
2022/08/01 22:05:51 In TestInclusionNeither()
2022/08/01 22:05:51 Index found:  index_age
2022/08/01 22:05:51 Using n1ql client
2022/08/01 22:05:51 Expected and Actual scan responses are the same
--- PASS: TestInclusionNeither (0.05s)
=== RUN   TestInclusionLow
2022/08/01 22:05:51 In TestInclusionLow()
2022/08/01 22:05:51 Index found:  index_age
2022/08/01 22:05:51 Using n1ql client
2022/08/01 22:05:51 Expected and Actual scan responses are the same
--- PASS: TestInclusionLow (0.02s)
=== RUN   TestInclusionHigh
2022/08/01 22:05:51 In TestInclusionHigh()
2022/08/01 22:05:51 Index found:  index_age
2022/08/01 22:05:51 Using n1ql client
2022/08/01 22:05:51 Expected and Actual scan responses are the same
--- PASS: TestInclusionHigh (0.02s)
=== RUN   TestInclusionBoth
2022/08/01 22:05:51 In TestInclusionBoth()
2022/08/01 22:05:51 Index found:  index_age
2022/08/01 22:05:51 Using n1ql client
2022/08/01 22:05:51 Expected and Actual scan responses are the same
--- PASS: TestInclusionBoth (0.02s)
=== RUN   TestNestedIndex_String
2022/08/01 22:05:51 In TestNestedIndex_String()
2022/08/01 22:05:55 Created the secondary index index_streetname. Waiting for it become active
2022/08/01 22:05:55 Index is 3303641536889897852 now active
2022/08/01 22:05:55 Using n1ql client
2022/08/01 22:05:55 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_String (4.24s)
=== RUN   TestNestedIndex_Float
2022/08/01 22:05:55 In TestNestedIndex_Float()
2022/08/01 22:06:00 Created the secondary index index_floor. Waiting for it become active
2022/08/01 22:06:00 Index is 14424706672243616027 now active
2022/08/01 22:06:00 Using n1ql client
2022/08/01 22:06:00 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_Float (4.40s)
=== RUN   TestNestedIndex_Bool
2022/08/01 22:06:00 In TestNestedIndex_Bool()
2022/08/01 22:06:04 Created the secondary index index_isresidential. Waiting for it become active
2022/08/01 22:06:04 Index is 13876439303753235811 now active
2022/08/01 22:06:04 Using n1ql client
2022/08/01 22:06:04 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_Bool (4.27s)
=== RUN   TestLookupJsonObject
2022/08/01 22:06:04 In TestLookupJsonObject()
2022/08/01 22:06:10 Created the secondary index index_streetaddress. Waiting for it become active
2022/08/01 22:06:10 Index is 18394205160897803866 now active
2022/08/01 22:06:10 Using n1ql client
2022/08/01 22:06:10 Count of docScanResults is 1
2022/08/01 22:06:10 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/08/01 22:06:10 Count of scanResults is 1
2022/08/01 22:06:10 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/08/01 22:06:10 Expected and Actual scan responses are the same
--- PASS: TestLookupJsonObject (6.12s)
=== RUN   TestLookupObjDifferentOrdering
2022/08/01 22:06:10 In TestLookupObjDifferentOrdering()
2022/08/01 22:06:10 Index found:  index_streetaddress
2022/08/01 22:06:10 Using n1ql client
2022/08/01 22:06:10 Count of docScanResults is 1
2022/08/01 22:06:10 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/08/01 22:06:10 Count of scanResults is 1
2022/08/01 22:06:10 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/08/01 22:06:10 Expected and Actual scan responses are the same
--- PASS: TestLookupObjDifferentOrdering (0.02s)
=== RUN   TestRangeJsonObject
2022/08/01 22:06:10 In TestRangeJsonObject()
2022/08/01 22:06:10 Index found:  index_streetaddress
2022/08/01 22:06:10 Using n1ql client
2022/08/01 22:06:10 Count of scanResults is 2
2022/08/01 22:06:10 Key: string Userbb48952f-f8d1-4e04-a0e1-96b9019706fb  Value: value.Values [{"buildingname":"Rosewood Gardens","doornumber":"514","floor":2,"streetname":"Karweg Place"}] false
2022/08/01 22:06:10 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/08/01 22:06:10 Count of docScanResults is 2
2022/08/01 22:06:10 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/08/01 22:06:10 Key: Userbb48952f-f8d1-4e04-a0e1-96b9019706fb  Value: [map[buildingname:Rosewood Gardens doornumber:514 floor:2 streetname:Karweg Place]]
2022/08/01 22:06:10 Expected and Actual scan responses are the same
--- PASS: TestRangeJsonObject (0.00s)
=== RUN   TestLookupFloatDiffForms
2022/08/01 22:06:10 In TestLookupFloatDiffForms()
2022/08/01 22:06:15 Created the secondary index index_latitude. Waiting for it become active
2022/08/01 22:06:15 Index is 17670201139461685698 now active
2022/08/01 22:06:15 Scan 1
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 2
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 3
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 4
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 5
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 6
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
--- PASS: TestLookupFloatDiffForms (4.59s)
=== RUN   TestRangeFloatInclVariations
2022/08/01 22:06:15 In TestRangeFloatInclVariations()
2022/08/01 22:06:15 Index found:  index_latitude
2022/08/01 22:06:15 Scan 1
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 2
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 3
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 4
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 5
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
2022/08/01 22:06:15 Scan 6
2022/08/01 22:06:15 Using n1ql client
2022/08/01 22:06:15 Expected and Actual scan responses are the same
--- PASS: TestRangeFloatInclVariations (0.03s)
=== RUN   TestScanAll
2022/08/01 22:06:15 In TestScanAll()
2022/08/01 22:06:19 Created the secondary index index_name. Waiting for it become active
2022/08/01 22:06:19 Index is 9447617678821613891 now active
2022/08/01 22:06:19 Length of docScanResults = 10502
2022/08/01 22:06:19 Using n1ql client
2022/08/01 22:06:19 Length of scanResults = 10502
2022/08/01 22:06:19 Expected and Actual scan responses are the same
--- PASS: TestScanAll (4.34s)
=== RUN   TestScanAllNestedField
2022/08/01 22:06:19 In TestScanAllNestedField()
2022/08/01 22:06:19 Index found:  index_streetname
2022/08/01 22:06:19 Length of docScanResults = 2
2022/08/01 22:06:19 Using n1ql client
2022/08/01 22:06:19 Length of scanResults = 2
2022/08/01 22:06:19 Expected and Actual scan responses are the same
--- PASS: TestScanAllNestedField (0.01s)
=== RUN   TestBasicPrimaryIndex
2022/08/01 22:06:19 In TestBasicPrimaryIndex()
2022/08/01 22:06:24 Created the secondary index index_p1. Waiting for it become active
2022/08/01 22:06:24 Index is 10733734552678302294 now active
2022-08-01T22:06:24.416+05:30 [Error] transport error between 127.0.0.1:33022->127.0.0.1:9107: write tcp 127.0.0.1:33022->127.0.0.1:9107: write: broken pipe
2022-08-01T22:06:24.416+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:33022->127.0.0.1:9107: write: broken pipe`
2022-08-01T22:06:24.416+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T22:06:24.416+05:30 [Error] metadataClient:PickRandom: Replicas - [2626113971866247714], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 22:06:24 Expected and Actual scan responses are the same
2022/08/01 22:06:24 CountRange() expected and actual is:  1877 and 1877
2022/08/01 22:06:24 lookupkey for CountLookup() = User77fabb3d-ad3a-44a0-9d55-3d48ba35ac04
2022/08/01 22:06:24 CountLookup() = 1
--- PASS: TestBasicPrimaryIndex (4.86s)
=== RUN   TestBasicNullDataType
2022/08/01 22:06:24 In TestBasicNullDataType()
2022/08/01 22:06:24 Index found:  index_email
2022/08/01 22:06:24 Using n1ql client
2022/08/01 22:06:24 Expected and Actual scan responses are the same
--- PASS: TestBasicNullDataType (0.01s)
=== RUN   TestBasicArrayDataType_ScanAll
2022/08/01 22:06:24 In TestBasicArrayDataType_ScanAll()
2022/08/01 22:06:28 Created the secondary index index_tags. Waiting for it become active
2022/08/01 22:06:28 Index is 10446163779083854188 now active
2022/08/01 22:06:28 Using n1ql client
2022/08/01 22:06:29 Expected and Actual scan responses are the same
--- PASS: TestBasicArrayDataType_ScanAll (4.74s)
=== RUN   TestBasicArrayDataType_Lookup
2022/08/01 22:06:29 In TestBasicArrayDataType_Lookup()
2022/08/01 22:06:31 Index found:  index_tags
2022/08/01 22:06:31 Count of scanResults is 1
2022/08/01 22:06:31 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/08/01 22:06:31 In TestArrayDataType_LookupMissingArrayValue()
2022/08/01 22:06:31 Index found:  index_tags
2022/08/01 22:06:31 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupMissingArrayValue (0.00s)
=== RUN   TestArrayDataType_LookupWrongOrder
2022/08/01 22:06:31 In TestArrayDataType_LookupWrongOrder()
2022/08/01 22:06:31 Index found:  index_tags
2022/08/01 22:06:31 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupWrongOrder (0.00s)
=== RUN   TestArrayDataType_LookupSubset
2022/08/01 22:06:31 In TestArrayDataType_LookupSubset()
2022/08/01 22:06:31 Index found:  index_tags
2022/08/01 22:06:31 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupSubset (0.00s)
=== RUN   TestScanLimitParameter
2022/08/01 22:06:31 In TestScanLimitParameter()
2022/08/01 22:06:31 Index found:  index_age
2022/08/01 22:06:31 Using n1ql client
2022/08/01 22:06:31 Using n1ql client
--- PASS: TestScanLimitParameter (0.01s)
=== RUN   TestCountRange
2022/08/01 22:06:31 In TestRangeCount()
2022/08/01 22:06:31 Index found:  index_age
2022/08/01 22:06:31 Count of expected and actual Range is:  2375 and 2375
2022/08/01 22:06:31 Count of expected and actual Range is: 10002 and 10002
2022/08/01 22:06:31 Count of expected and actual Range are: 0 and 0
2022/08/01 22:06:31 Count of expected and actual Range are: 500 and 500
2022/08/01 22:06:31 Testing CountRange() for key <= val
2022/08/01 22:06:31 Count of expected and actual CountRange for key <= 30 are: 5244 and 5244
2022/08/01 22:06:31 Testing CountRange() for key >= val
2022/08/01 22:06:31 Count of expected and actual CountRange for key >= 25 are: 7665 and 7665
2022/08/01 22:06:31 Testing CountRange() for null < key <= val
2022/08/01 22:06:31 Count of expected and actual CountRange for key > null && key <= 30 are: 5244 and 5244
2022/08/01 22:06:31 Testing CountRange() for val <= key < null 
2022/08/01 22:06:31 Count of expected and actual CountRange for key >= 25 && key < null are: 0 and 0
2022/08/01 22:06:31 Count of expected and actual Range are: 0 and 0
--- PASS: TestCountRange (0.05s)
=== RUN   TestCountLookup
2022/08/01 22:06:31 In TestCountLookup()
2022/08/01 22:06:31 Index found:  index_age
2022/08/01 22:06:31 Count of expected and actual Range are: 506 and 506
2022/08/01 22:06:31 Count of expected and actual Range are: 0 and 0
--- PASS: TestCountLookup (0.01s)
=== RUN   TestRangeStatistics
2022/08/01 22:06:31 In TestRangeCount()
2022/08/01 22:06:31 Index found:  index_age
--- PASS: TestRangeStatistics (0.00s)
=== RUN   TestIndexCreateWithWhere
2022/08/01 22:06:31 In TestIndexCreateWithWhere()
2022/08/01 22:06:35 Created the secondary index index_ageabove30. Waiting for it become active
2022/08/01 22:06:35 Index is 17593145175974703450 now active
2022/08/01 22:06:35 Using n1ql client
2022/08/01 22:06:35 Expected and Actual scan responses are the same
2022/08/01 22:06:35 Lengths of expected and actual scanReuslts are:  4258 and 4258
2022/08/01 22:06:39 Created the secondary index index_ageteens. Waiting for it become active
2022/08/01 22:06:39 Index is 14308637483205407899 now active
2022/08/01 22:06:39 Using n1ql client
2022/08/01 22:06:39 Expected and Actual scan responses are the same
2022/08/01 22:06:39 Lengths of expected and actual scanReuslts are:  0 and 0
2022/08/01 22:06:44 Created the secondary index index_age35to45. Waiting for it become active
2022/08/01 22:06:44 Index is 8610589415282658054 now active
2022/08/01 22:06:44 Using n1ql client
2022/08/01 22:06:44 Expected and Actual scan responses are the same
2022/08/01 22:06:44 Lengths of expected and actual scanReuslts are:  2875 and 2875
--- PASS: TestIndexCreateWithWhere (13.02s)
=== RUN   TestDeferredIndexCreate
2022/08/01 22:06:44 In TestDeferredIndexCreate()
2022/08/01 22:06:44 Created the index index_deferred in deferred mode. Index state is INDEX_STATE_READY
2022/08/01 22:06:46 Build the deferred index index_deferred. Waiting for the index to become active
2022/08/01 22:06:46 Waiting for index 12301909970164045605 to go active ...
2022/08/01 22:06:47 Waiting for index 12301909970164045605 to go active ...
2022/08/01 22:06:48 Waiting for index 12301909970164045605 to go active ...
2022/08/01 22:06:49 Index is 12301909970164045605 now active
2022/08/01 22:06:49 Using n1ql client
2022/08/01 22:06:49 Expected and Actual scan responses are the same
--- PASS: TestDeferredIndexCreate (5.12s)
=== RUN   TestCompositeIndex_NumAndString
2022/08/01 22:06:49 In TestCompositeIndex()
2022/08/01 22:06:53 Created the secondary index index_composite1. Waiting for it become active
2022/08/01 22:06:53 Index is 12095323540652544721 now active
2022/08/01 22:06:53 Using n1ql client
2022/08/01 22:06:54 Using n1ql client
2022/08/01 22:06:54 Using n1ql client
2022/08/01 22:06:54 Expected and Actual scan responses are the same
--- PASS: TestCompositeIndex_NumAndString (4.56s)
=== RUN   TestCompositeIndex_TwoNumberFields
2022/08/01 22:06:54 In TestCompositeIndex()
2022/08/01 22:06:58 Created the secondary index index_composite2. Waiting for it become active
2022/08/01 22:06:58 Index is 18337183314191936481 now active
2022/08/01 22:06:58 Using n1ql client
--- PASS: TestCompositeIndex_TwoNumberFields (4.57s)
=== RUN   TestNumbers_Int64_Float64
2022/08/01 22:06:58 In TestNumbers_Int64_Float64()
2022/08/01 22:07:02 Created the secondary index idx_numbertest. Waiting for it become active
2022/08/01 22:07:02 Index is 17539513060559173709 now active
2022/08/01 22:07:02 
 ==== Int64 test #0
2022/08/01 22:07:02 Using n1ql client
2022/08/01 22:07:02 Expected and Actual scan responses are the same
2022/08/01 22:07:02 
 ==== Int64 test #1
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Int64 test #2
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Int64 test #3
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Int64 test #4
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Int64 test #5
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Int64 test #6
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Int64 test #7
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Int64 test #8
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Float64 test #0
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Float64 test #1
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Float64 test #2
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
2022/08/01 22:07:03 
 ==== Float64 test #3
2022/08/01 22:07:03 Using n1ql client
2022/08/01 22:07:03 Expected and Actual scan responses are the same
--- PASS: TestNumbers_Int64_Float64 (5.05s)
=== RUN   TestRestartIndexer
2022/08/01 22:07:03 In TestRestartIndexer()
2022/08/01 22:07:03 []
2022-08-01T22:07:03.729+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T22:07:03.729+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T22:07:03.729+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T22:07:03.730+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 22:07:23 Using n1ql client
2022-08-01T22:07:23.715+05:30 [Error] transport error between 127.0.0.1:35426->127.0.0.1:9107: write tcp 127.0.0.1:35426->127.0.0.1:9107: write: broken pipe
2022-08-01T22:07:23.715+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 5785134243669025038 request transport failed `write tcp 127.0.0.1:35426->127.0.0.1:9107: write: broken pipe`
2022-08-01T22:07:23.715+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T22:07:23.715+05:30 [Error] metadataClient:PickRandom: Replicas - [16229605785431060501], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 22:07:23 Len of expected and actual scan results are :  10002 and 10002
2022/08/01 22:07:23 Expected and Actual scan responses are the same
--- PASS: TestRestartIndexer (20.09s)
=== RUN   TestCreateDocsMutation
2022/08/01 22:07:23 In TestCreateDocsMutation()
2022/08/01 22:07:23 Index found:  index_age
2022/08/01 22:07:23 Using n1ql client
2022/08/01 22:07:23 Len of expected and actual scan results are :  10002 and 10002
2022/08/01 22:07:23 Expected and Actual scan responses are the same
2022/08/01 22:07:24 Using n1ql client
2022/08/01 22:07:24 Index Scan after mutations took 41.247681ms
2022/08/01 22:07:24 Len of expected and actual scan results are :  10102 and 10102
2022/08/01 22:07:24 Expected and Actual scan responses are the same
--- PASS: TestCreateDocsMutation (0.32s)
=== RUN   TestRestartProjector
2022/08/01 22:07:24 In TestRestartProjector()
2022/08/01 22:07:24 []
2022/08/01 22:07:44 Using n1ql client
2022/08/01 22:07:44 Len of expected and actual scan results are :  10102 and 10102
2022/08/01 22:07:44 Expected and Actual scan responses are the same
--- PASS: TestRestartProjector (20.07s)
=== RUN   TestDeleteDocsMutation
2022/08/01 22:07:44 In TestDeleteDocsMutation()
2022/08/01 22:07:44 Index found:  index_age
2022/08/01 22:07:44 Using n1ql client
2022/08/01 22:07:44 Len of expected and actual scan results are :  10102 and 10102
2022/08/01 22:07:44 Expected and Actual scan responses are the same
2022/08/01 22:07:44 Using n1ql client
2022/08/01 22:07:44 Index Scan after mutations took 56.713894ms
2022/08/01 22:07:44 Len of expected and actual scan results are :  9902 and 9902
2022/08/01 22:07:44 Expected and Actual scan responses are the same
--- PASS: TestDeleteDocsMutation (0.37s)
=== RUN   TestUpdateDocsMutation
2022/08/01 22:07:44 In TestUpdateDocsMutation()
2022/08/01 22:07:44 Index found:  index_age
2022/08/01 22:07:44 Using n1ql client
2022/08/01 22:07:44 Len of expected and actual scan results are :  9424 and 9424
2022/08/01 22:07:44 Expected and Actual scan responses are the same
2022/08/01 22:07:44 Num of keysFromMutDocs: 100
2022/08/01 22:07:44 Updating number of documents: 99
2022/08/01 22:07:44 Using n1ql client
2022/08/01 22:07:44 Index Scan after mutations took 48.993206ms
2022/08/01 22:07:44 Len of expected and actual scan results are :  9427 and 9427
2022/08/01 22:07:44 Expected and Actual scan responses are the same
--- PASS: TestUpdateDocsMutation (0.37s)
=== RUN   TestLargeMutations
2022/08/01 22:07:44 In TestLargeMutations()
2022/08/01 22:07:44 In DropAllSecondaryIndexes()
2022/08/01 22:07:44 Index found:  index_tags
2022/08/01 22:07:44 Dropped index index_tags
2022/08/01 22:07:44 Index found:  index_composite1
2022/08/01 22:07:45 Dropped index index_composite1
2022/08/01 22:07:45 Index found:  index_latitude
2022/08/01 22:07:45 Dropped index index_latitude
2022/08/01 22:07:45 Index found:  index_deferred
2022/08/01 22:07:45 Dropped index index_deferred
2022/08/01 22:07:45 Index found:  index_streetname
2022/08/01 22:07:45 Dropped index index_streetname
2022/08/01 22:07:45 Index found:  index_p1
2022/08/01 22:07:45 Dropped index index_p1
2022/08/01 22:07:45 Index found:  index_floor
2022/08/01 22:07:45 Dropped index index_floor
2022/08/01 22:07:45 Index found:  index_age35to45
2022/08/01 22:07:45 Dropped index index_age35to45
2022/08/01 22:07:45 Index found:  index_pin
2022/08/01 22:07:45 Dropped index index_pin
2022/08/01 22:07:45 Index found:  index_state
2022/08/01 22:07:45 Dropped index index_state
2022/08/01 22:07:45 Index found:  index_height
2022/08/01 22:07:45 Dropped index index_height
2022/08/01 22:07:45 Index found:  index_i2
2022/08/01 22:07:45 Dropped index index_i2
2022/08/01 22:07:45 Index found:  index_isresidential
2022/08/01 22:07:45 Dropped index index_isresidential
2022/08/01 22:07:45 Index found:  index_company
2022/08/01 22:07:46 Dropped index index_company
2022/08/01 22:07:46 Index found:  index_nationality
2022/08/01 22:07:46 Dropped index index_nationality
2022/08/01 22:07:46 Index found:  index_age
2022/08/01 22:07:46 Dropped index index_age
2022/08/01 22:07:46 Index found:  idx_age
2022/08/01 22:07:46 Dropped index idx_age
2022/08/01 22:07:46 Index found:  index_eyeColor
2022/08/01 22:07:46 Dropped index index_eyeColor
2022/08/01 22:07:46 Index found:  index_isActive
2022/08/01 22:07:46 Dropped index index_isActive
2022/08/01 22:07:46 Index found:  index_ageabove30
2022/08/01 22:07:46 Dropped index index_ageabove30
2022/08/01 22:07:46 Index found:  index_name
2022/08/01 22:07:46 Dropped index index_name
2022/08/01 22:07:46 Index found:  index_ageteens
2022/08/01 22:07:46 Dropped index index_ageteens
2022/08/01 22:07:46 Index found:  index_longitude
2022/08/01 22:07:46 Dropped index index_longitude
2022/08/01 22:07:46 Index found:  index_streetaddress
2022/08/01 22:07:46 Dropped index index_streetaddress
2022/08/01 22:07:46 Index found:  index_email
2022/08/01 22:07:46 Dropped index index_email
2022/08/01 22:07:46 Index found:  index_balance
2022/08/01 22:07:46 Dropped index index_balance
2022/08/01 22:07:46 Index found:  index_di1
2022/08/01 22:07:46 Dropped index index_di1
2022/08/01 22:07:46 Index found:  idx_numbertest
2022/08/01 22:07:46 Dropped index idx_numbertest
2022/08/01 22:07:46 Index found:  index_cdc
2022/08/01 22:07:46 Dropped index index_cdc
2022/08/01 22:07:46 Index found:  index_gender
2022/08/01 22:07:47 Dropped index index_gender
2022/08/01 22:07:47 Index found:  index_composite2
2022/08/01 22:07:47 Dropped index index_composite2
2022/08/01 22:08:05 Created the secondary index indexmut_1. Waiting for it become active
2022/08/01 22:08:05 Index is 4771194612320250788 now active
2022/08/01 22:08:05 Using n1ql client
2022/08/01 22:08:06 Expected and Actual scan responses are the same
2022/08/01 22:08:06 Len of expected and actual scan results are :  29902 and 29902
2022/08/01 22:08:06 ITERATION 0
2022/08/01 22:08:22 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:08:22 Index is 3119836631016931066 now active
2022/08/01 22:08:23 Using n1ql client
2022/08/01 22:08:23 Expected and Actual scan responses are the same
2022/08/01 22:08:23 Len of expected and actual scan results are :  39902 and 39902
2022/08/01 22:08:23 Using n1ql client
2022/08/01 22:08:23 Expected and Actual scan responses are the same
2022/08/01 22:08:23 Len of expected and actual scan results are :  39902 and 39902
2022/08/01 22:08:23 Dropping the secondary index indexmut_2
2022/08/01 22:08:23 Index dropped
2022/08/01 22:08:23 ITERATION 1
2022/08/01 22:08:40 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:08:40 Index is 10750644499191147046 now active
2022/08/01 22:08:40 Using n1ql client
2022/08/01 22:08:40 Expected and Actual scan responses are the same
2022/08/01 22:08:40 Len of expected and actual scan results are :  49902 and 49902
2022/08/01 22:08:40 Using n1ql client
2022/08/01 22:08:40 Expected and Actual scan responses are the same
2022/08/01 22:08:40 Len of expected and actual scan results are :  49902 and 49902
2022/08/01 22:08:40 Dropping the secondary index indexmut_2
2022/08/01 22:08:40 Index dropped
2022/08/01 22:08:40 ITERATION 2
2022/08/01 22:08:57 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:08:57 Index is 17481043698002483148 now active
2022/08/01 22:08:57 Using n1ql client
2022/08/01 22:08:58 Expected and Actual scan responses are the same
2022/08/01 22:08:58 Len of expected and actual scan results are :  59902 and 59902
2022/08/01 22:08:58 Using n1ql client
2022/08/01 22:08:58 Expected and Actual scan responses are the same
2022/08/01 22:08:58 Len of expected and actual scan results are :  59902 and 59902
2022/08/01 22:08:58 Dropping the secondary index indexmut_2
2022/08/01 22:08:58 Index dropped
2022/08/01 22:08:58 ITERATION 3
2022/08/01 22:09:16 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:09:16 Index is 6862914988356359647 now active
2022/08/01 22:09:16 Using n1ql client
2022/08/01 22:09:17 Expected and Actual scan responses are the same
2022/08/01 22:09:17 Len of expected and actual scan results are :  69902 and 69902
2022/08/01 22:09:17 Using n1ql client
2022/08/01 22:09:17 Expected and Actual scan responses are the same
2022/08/01 22:09:17 Len of expected and actual scan results are :  69902 and 69902
2022/08/01 22:09:17 Dropping the secondary index indexmut_2
2022/08/01 22:09:17 Index dropped
2022/08/01 22:09:17 ITERATION 4
2022/08/01 22:09:37 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:09:37 Index is 10775510667523447740 now active
2022/08/01 22:09:37 Using n1ql client
2022/08/01 22:09:38 Expected and Actual scan responses are the same
2022/08/01 22:09:38 Len of expected and actual scan results are :  79902 and 79902
2022/08/01 22:09:38 Using n1ql client
2022/08/01 22:09:39 Expected and Actual scan responses are the same
2022/08/01 22:09:39 Len of expected and actual scan results are :  79902 and 79902
2022/08/01 22:09:39 Dropping the secondary index indexmut_2
2022/08/01 22:09:39 Index dropped
2022/08/01 22:09:39 ITERATION 5
2022/08/01 22:09:57 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:09:57 Index is 8437988356903498155 now active
2022/08/01 22:09:57 Using n1ql client
2022/08/01 22:09:57 Expected and Actual scan responses are the same
2022/08/01 22:09:57 Len of expected and actual scan results are :  89902 and 89902
2022/08/01 22:09:57 Using n1ql client
2022/08/01 22:09:58 Expected and Actual scan responses are the same
2022/08/01 22:09:58 Len of expected and actual scan results are :  89902 and 89902
2022/08/01 22:09:58 Dropping the secondary index indexmut_2
2022/08/01 22:09:58 Index dropped
2022/08/01 22:09:58 ITERATION 6
2022/08/01 22:10:17 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:10:17 Index is 1257586144313770616 now active
2022/08/01 22:10:18 Using n1ql client
2022/08/01 22:10:18 Expected and Actual scan responses are the same
2022/08/01 22:10:18 Len of expected and actual scan results are :  99902 and 99902
2022/08/01 22:10:18 Using n1ql client
2022/08/01 22:10:19 Expected and Actual scan responses are the same
2022/08/01 22:10:19 Len of expected and actual scan results are :  99902 and 99902
2022/08/01 22:10:19 Dropping the secondary index indexmut_2
2022/08/01 22:10:19 Index dropped
2022/08/01 22:10:19 ITERATION 7
2022/08/01 22:10:38 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:10:38 Index is 17168059394076256434 now active
2022/08/01 22:10:38 Using n1ql client
2022/08/01 22:10:39 Expected and Actual scan responses are the same
2022/08/01 22:10:39 Len of expected and actual scan results are :  109902 and 109902
2022/08/01 22:10:39 Using n1ql client
2022/08/01 22:10:40 Expected and Actual scan responses are the same
2022/08/01 22:10:40 Len of expected and actual scan results are :  109902 and 109902
2022/08/01 22:10:40 Dropping the secondary index indexmut_2
2022/08/01 22:10:40 Index dropped
2022/08/01 22:10:40 ITERATION 8
2022/08/01 22:11:00 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:11:00 Index is 13211616432946019598 now active
2022/08/01 22:11:00 Using n1ql client
2022/08/01 22:11:01 Expected and Actual scan responses are the same
2022/08/01 22:11:01 Len of expected and actual scan results are :  119902 and 119902
2022/08/01 22:11:01 Using n1ql client
2022/08/01 22:11:03 Expected and Actual scan responses are the same
2022/08/01 22:11:03 Len of expected and actual scan results are :  119902 and 119902
2022/08/01 22:11:03 Dropping the secondary index indexmut_2
2022/08/01 22:11:03 Index dropped
2022/08/01 22:11:03 ITERATION 9
2022/08/01 22:11:24 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:11:24 Index is 3372379129247090068 now active
2022/08/01 22:11:25 Using n1ql client
2022/08/01 22:11:26 Expected and Actual scan responses are the same
2022/08/01 22:11:26 Len of expected and actual scan results are :  129902 and 129902
2022/08/01 22:11:26 Using n1ql client
2022/08/01 22:11:27 Expected and Actual scan responses are the same
2022/08/01 22:11:27 Len of expected and actual scan results are :  129902 and 129902
2022/08/01 22:11:27 Dropping the secondary index indexmut_2
2022/08/01 22:11:27 Index dropped
2022/08/01 22:11:27 ITERATION 10
2022/08/01 22:11:47 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 22:11:47 Index is 10733523596285230807 now active
2022/08/01 22:11:47 Using n1ql client
2022/08/01 22:11:48 Expected and Actual scan responses are the same
2022/08/01 22:11:48 Len of expected and actual scan results are :  139902 and 139902
2022/08/01 22:11:48 Using n1ql client
2022/08/01 22:11:49 Expected and Actual scan responses are the same
2022/08/01 22:11:49 Len of expected and actual scan results are :  139902 and 139902
2022/08/01 22:11:49 Dropping the secondary index indexmut_2
2022/08/01 22:11:49 Index dropped
--- PASS: TestLargeMutations (244.90s)
=== RUN   TestPlanner
2022/08/01 22:11:49 In TestPlanner()
2022/08/01 22:11:49 -------------------------------------------
2022/08/01 22:11:49 initial placement - 20-50M, 10 index, 3 replica, 2x
2022-08-01T22:11:49.814+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:49.821+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:11:49.821+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:11:49.824+05:30 [Info] switched currmeta from 449 -> 451 force true 
2022-08-01T22:11:49.828+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:11:49.828+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:11:49.834+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:11:49.834+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:11:49.835+05:30 [Info] switched currmeta from 451 -> 451 force true 
2022-08-01T22:11:49.837+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-08-01T22:11:49.841+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:11:49.841+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:11:49.842+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-08-01T22:11:49.912+05:30 [Info] Score: 0.026856442725940195
2022-08-01T22:11:49.912+05:30 [Info] Memory Quota: 62576009388 (58.2785G)
2022-08-01T22:11:49.912+05:30 [Info] CPU Quota: 12
2022-08-01T22:11:49.912+05:30 [Info] Indexer Memory Mean 38805444829 (36.1404G)
2022-08-01T22:11:49.912+05:30 [Info] Indexer Memory Deviation 2084352413 (1.9412G) (5.37%)
2022-08-01T22:11:49.912+05:30 [Info] Indexer Memory Utilization 0.6201
2022-08-01T22:11:49.912+05:30 [Info] Indexer CPU Mean 11.2257
2022-08-01T22:11:49.912+05:30 [Info] Indexer CPU Deviation 1.27 (11.28%)
2022-08-01T22:11:49.912+05:30 [Info] Indexer CPU Utilization 0.9355
2022-08-01T22:11:49.912+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:49.912+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:49.912+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:49.912+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:49.912+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:49.912+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:49.912+05:30 [Info] Indexer Data Size Mean 38805444829 (36.1404G)
2022-08-01T22:11:49.912+05:30 [Info] Indexer Data Size Deviation 2084352413 (1.9412G) (5.37%)
2022-08-01T22:11:49.912+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:49.912+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:49.912+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:49.912+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:49 -------------------------------------------
2022/08/01 22:11:49 initial placement - 20-50M, 30 index, 3 replica, 2x
2022-08-01T22:11:49.913+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:50.757+05:30 [Info] Score: 0.03477914460539258
2022-08-01T22:11:50.757+05:30 [Info] Memory Quota: 61179994214 (56.9783G)
2022-08-01T22:11:50.757+05:30 [Info] CPU Quota: 12
2022-08-01T22:11:50.757+05:30 [Info] Indexer Memory Mean 38967684494 (36.2915G)
2022-08-01T22:11:50.757+05:30 [Info] Indexer Memory Deviation 2710525467 (2.52437G) (6.96%)
2022-08-01T22:11:50.757+05:30 [Info] Indexer Memory Utilization 0.6369
2022-08-01T22:11:50.757+05:30 [Info] Indexer CPU Mean 10.8728
2022-08-01T22:11:50.757+05:30 [Info] Indexer CPU Deviation 3.11 (28.56%)
2022-08-01T22:11:50.757+05:30 [Info] Indexer CPU Utilization 0.9061
2022-08-01T22:11:50.757+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:50.757+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:50.757+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:50.757+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:50.758+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:50.758+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:50.758+05:30 [Info] Indexer Data Size Mean 38967684494 (36.2915G)
2022-08-01T22:11:50.758+05:30 [Info] Indexer Data Size Deviation 2710525467 (2.52437G) (6.96%)
2022-08-01T22:11:50.758+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:50.758+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:50.758+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:50.758+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:50 -------------------------------------------
2022/08/01 22:11:50 initial placement - 20-50M, 30 index, 3 replica, 4x
2022-08-01T22:11:50.758+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:50.805+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2022-08-01T22:11:50.810+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:11:50.810+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:11:50.810+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:11:50.810+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:11:50.812+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-08-01T22:11:50.813+05:30 [Info] switched currmeta from 451 -> 451 force true 
2022-08-01T22:11:50.983+05:30 [Info] Score: 0.017276841921421243
2022-08-01T22:11:50.983+05:30 [Info] Memory Quota: 130577314552 (121.61G)
2022-08-01T22:11:50.983+05:30 [Info] CPU Quota: 24
2022-08-01T22:11:50.983+05:30 [Info] Indexer Memory Mean 88208790044 (82.1508G)
2022-08-01T22:11:50.983+05:30 [Info] Indexer Memory Deviation 3047938643 (2.83861G) (3.46%)
2022-08-01T22:11:50.983+05:30 [Info] Indexer Memory Utilization 0.6755
2022-08-01T22:11:50.983+05:30 [Info] Indexer CPU Mean 24.7685
2022-08-01T22:11:50.983+05:30 [Info] Indexer CPU Deviation 2.30 (9.28%)
2022-08-01T22:11:50.983+05:30 [Info] Indexer CPU Utilization 1.0320
2022-08-01T22:11:50.983+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:50.983+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:50.983+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:50.983+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:50.983+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:50.983+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:50.983+05:30 [Info] Indexer Data Size Mean 88208790044 (82.1508G)
2022-08-01T22:11:50.983+05:30 [Info] Indexer Data Size Deviation 3047938643 (2.83861G) (3.46%)
2022-08-01T22:11:50.983+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:50.983+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:50.983+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:50.983+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:50 -------------------------------------------
2022/08/01 22:11:50 initial placement - 200-500M, 10 index, 3 replica, 2x
2022-08-01T22:11:50.984+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:51.029+05:30 [Info] Score: 0.033265500131502236
2022-08-01T22:11:51.029+05:30 [Info] Memory Quota: 487903923884 (454.396G)
2022-08-01T22:11:51.029+05:30 [Info] CPU Quota: 12
2022-08-01T22:11:51.029+05:30 [Info] Indexer Memory Mean 372655142397 (347.062G)
2022-08-01T22:11:51.029+05:30 [Info] Indexer Memory Deviation 24793119376 (23.0904G) (6.65%)
2022-08-01T22:11:51.029+05:30 [Info] Indexer Memory Utilization 0.7638
2022-08-01T22:11:51.029+05:30 [Info] Indexer CPU Mean 10.9736
2022-08-01T22:11:51.029+05:30 [Info] Indexer CPU Deviation 2.63 (23.99%)
2022-08-01T22:11:51.029+05:30 [Info] Indexer CPU Utilization 0.9145
2022-08-01T22:11:51.029+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:51.029+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:51.029+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:51.029+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:51.029+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:51.029+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:51.029+05:30 [Info] Indexer Data Size Mean 372655142397 (347.062G)
2022-08-01T22:11:51.029+05:30 [Info] Indexer Data Size Deviation 24793119376 (23.0904G) (6.65%)
2022-08-01T22:11:51.029+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:51.029+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:51.029+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:51.029+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:51 -------------------------------------------
2022/08/01 22:11:51 initial placement - 200-500M, 30 index, 3 replica, 2x
2022-08-01T22:11:51.030+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:52.099+05:30 [Info] Score: 0.03536647898712393
2022-08-01T22:11:52.099+05:30 [Info] Memory Quota: 496521841718 (462.422G)
2022-08-01T22:11:52.099+05:30 [Info] CPU Quota: 12
2022-08-01T22:11:52.099+05:30 [Info] Indexer Memory Mean 381554330983 (355.35G)
2022-08-01T22:11:52.099+05:30 [Info] Indexer Memory Deviation 26988466458 (25.135G) (7.07%)
2022-08-01T22:11:52.099+05:30 [Info] Indexer Memory Utilization 0.7685
2022-08-01T22:11:52.099+05:30 [Info] Indexer CPU Mean 10.0773
2022-08-01T22:11:52.100+05:30 [Info] Indexer CPU Deviation 2.89 (28.66%)
2022-08-01T22:11:52.100+05:30 [Info] Indexer CPU Utilization 0.8398
2022-08-01T22:11:52.100+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:52.100+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:52.100+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:52.100+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.100+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:52.100+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.100+05:30 [Info] Indexer Data Size Mean 381554330983 (355.35G)
2022-08-01T22:11:52.100+05:30 [Info] Indexer Data Size Deviation 26988466458 (25.135G) (7.07%)
2022-08-01T22:11:52.100+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:52.100+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:52.100+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:52.100+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:52 -------------------------------------------
2022/08/01 22:11:52 initial placement - mixed small/medium, 30 index, 3 replica, 1.5/4x
2022-08-01T22:11:52.100+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:52.395+05:30 [Info] Score: 0.012978941508047402
2022-08-01T22:11:52.395+05:30 [Info] Memory Quota: 372600395464 (347.011G)
2022-08-01T22:11:52.395+05:30 [Info] CPU Quota: 12
2022-08-01T22:11:52.395+05:30 [Info] Indexer Memory Mean 285553217149 (265.942G)
2022-08-01T22:11:52.395+05:30 [Info] Indexer Memory Deviation 7412357005 (6.9033G) (2.60%)
2022-08-01T22:11:52.395+05:30 [Info] Indexer Memory Utilization 0.7664
2022-08-01T22:11:52.395+05:30 [Info] Indexer CPU Mean 9.6317
2022-08-01T22:11:52.395+05:30 [Info] Indexer CPU Deviation 4.77 (49.57%)
2022-08-01T22:11:52.395+05:30 [Info] Indexer CPU Utilization 0.8026
2022-08-01T22:11:52.395+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:52.395+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:52.395+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:52.395+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.395+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:52.395+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.395+05:30 [Info] Indexer Data Size Mean 285553217149 (265.942G)
2022-08-01T22:11:52.395+05:30 [Info] Indexer Data Size Deviation 7412357005 (6.9033G) (2.60%)
2022-08-01T22:11:52.395+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:52.395+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:52.395+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:52.395+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:52 -------------------------------------------
2022/08/01 22:11:52 initial placement - mixed all, 30 index, 3 replica, 1.5/4x
2022-08-01T22:11:52.396+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:52.773+05:30 [Info] Score: 0.02251656595823504
2022-08-01T22:11:52.773+05:30 [Info] Memory Quota: 378211152322 (352.237G)
2022-08-01T22:11:52.773+05:30 [Info] CPU Quota: 20
2022-08-01T22:11:52.773+05:30 [Info] Indexer Memory Mean 288206481073 (268.413G)
2022-08-01T22:11:52.773+05:30 [Info] Indexer Memory Deviation 12978840481 (12.0875G) (4.50%)
2022-08-01T22:11:52.773+05:30 [Info] Indexer Memory Utilization 0.7620
2022-08-01T22:11:52.773+05:30 [Info] Indexer CPU Mean 10.1006
2022-08-01T22:11:52.773+05:30 [Info] Indexer CPU Deviation 3.55 (35.19%)
2022-08-01T22:11:52.773+05:30 [Info] Indexer CPU Utilization 0.5050
2022-08-01T22:11:52.773+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:52.773+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:52.773+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:52.773+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.773+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:52.773+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.773+05:30 [Info] Indexer Data Size Mean 288206481073 (268.413G)
2022-08-01T22:11:52.773+05:30 [Info] Indexer Data Size Deviation 12978840481 (12.0875G) (4.50%)
2022-08-01T22:11:52.773+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:52.773+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:52.773+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:52.773+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:52 -------------------------------------------
2022/08/01 22:11:52 initial placement - 6 2M index, 1 replica, 2x
2022-08-01T22:11:52.783+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:52.797+05:30 [Info] Score: 0
2022-08-01T22:11:52.797+05:30 [Info] Memory Quota: 4848128000 (4.51517G)
2022-08-01T22:11:52.797+05:30 [Info] CPU Quota: 2
2022-08-01T22:11:52.797+05:30 [Info] Indexer Memory Mean 2080000000 (1.93715G)
2022-08-01T22:11:52.797+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:52.797+05:30 [Info] Indexer Memory Utilization 0.4290
2022-08-01T22:11:52.797+05:30 [Info] Indexer CPU Mean 1.2000
2022-08-01T22:11:52.797+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:52.797+05:30 [Info] Indexer CPU Utilization 0.6000
2022-08-01T22:11:52.797+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:52.797+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:52.797+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:52.797+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.797+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:52.797+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.797+05:30 [Info] Indexer Data Size Mean 2080000000 (1.93715G)
2022-08-01T22:11:52.797+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:52.797+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:52.797+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:52.797+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:52.797+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:52 -------------------------------------------
2022/08/01 22:11:52 initial placement - 5 20M primary index, 2 replica, 2x
2022-08-01T22:11:52.806+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:52.843+05:30 [Info] Score: 0
2022-08-01T22:11:52.843+05:30 [Info] Memory Quota: 14310128000 (13.3273G)
2022-08-01T22:11:52.843+05:30 [Info] CPU Quota: 2
2022-08-01T22:11:52.843+05:30 [Info] Indexer Memory Mean 10960000000 (10.2073G)
2022-08-01T22:11:52.843+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:52.843+05:30 [Info] Indexer Memory Utilization 0.7659
2022-08-01T22:11:52.843+05:30 [Info] Indexer CPU Mean 1.2000
2022-08-01T22:11:52.843+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:52.843+05:30 [Info] Indexer CPU Utilization 0.6000
2022-08-01T22:11:52.843+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:52.843+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:52.844+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:52.844+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.844+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:52.844+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.844+05:30 [Info] Indexer Data Size Mean 10960000000 (10.2073G)
2022-08-01T22:11:52.844+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:52.844+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:52.844+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:52.844+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:52.844+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:52 -------------------------------------------
2022/08/01 22:11:52 initial placement - 5 20M array index, 2 replica, 2x
2022-08-01T22:11:52.853+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:52.890+05:30 [Info] Score: 0
2022-08-01T22:11:52.890+05:30 [Info] Memory Quota: 237416768000 (221.112G)
2022-08-01T22:11:52.890+05:30 [Info] CPU Quota: 2
2022-08-01T22:11:52.890+05:30 [Info] Indexer Memory Mean 191440000000 (178.292G)
2022-08-01T22:11:52.890+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:52.890+05:30 [Info] Indexer Memory Utilization 0.8063
2022-08-01T22:11:52.890+05:30 [Info] Indexer CPU Mean 1.2000
2022-08-01T22:11:52.890+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:52.890+05:30 [Info] Indexer CPU Utilization 0.6000
2022-08-01T22:11:52.890+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:52.890+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:52.890+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:52.890+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.890+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:52.890+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.890+05:30 [Info] Indexer Data Size Mean 191440000000 (178.292G)
2022-08-01T22:11:52.890+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:52.890+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:52.890+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:52.890+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:52.890+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:52 -------------------------------------------
2022/08/01 22:11:52 initial placement - 3 replica constraint, 2 index, 2x
2022-08-01T22:11:52.893+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:52.929+05:30 [Info] Score: 0
2022-08-01T22:11:52.929+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-08-01T22:11:52.929+05:30 [Info] CPU Quota: 2
2022-08-01T22:11:52.929+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-08-01T22:11:52.929+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:52.929+05:30 [Info] Indexer Memory Utilization 0.0049
2022-08-01T22:11:52.929+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:52.929+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:52.929+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:52.929+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:52.929+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:52.929+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:52.929+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.929+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:52.929+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:52.929+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-08-01T22:11:52.929+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:52.929+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:52.929+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:52.929+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:52.929+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:52 -------------------------------------------
2022/08/01 22:11:52 incr placement - 20-50M, 5 2M index, 1 replica, 1x
2022-08-01T22:11:52.938+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.03659284047840999
2022-08-01T22:11:53.073+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:53.074+05:30 [Info] Score: 0.007189938568471697
2022-08-01T22:11:53.074+05:30 [Info] Memory Quota: 125233041042 (116.632G)
2022-08-01T22:11:53.074+05:30 [Info] CPU Quota: 27
2022-08-01T22:11:53.074+05:30 [Info] Indexer Memory Mean 71117238485 (66.2331G)
2022-08-01T22:11:53.074+05:30 [Info] Indexer Memory Deviation 1022657151 (975.282M) (1.44%)
2022-08-01T22:11:53.074+05:30 [Info] Indexer Memory Utilization 0.5679
2022-08-01T22:11:53.074+05:30 [Info] Indexer CPU Mean 20.1734
2022-08-01T22:11:53.074+05:30 [Info] Indexer CPU Deviation 1.87 (9.29%)
2022-08-01T22:11:53.074+05:30 [Info] Indexer CPU Utilization 0.7472
2022-08-01T22:11:53.074+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:53.074+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:53.074+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:53.074+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.074+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:53.074+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.074+05:30 [Info] Indexer Data Size Mean 71117238485 (66.2331G)
2022-08-01T22:11:53.074+05:30 [Info] Indexer Data Size Deviation 1022657151 (975.282M) (1.44%)
2022-08-01T22:11:53.074+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:53.074+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:53.074+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:53.074+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:53 -------------------------------------------
2022/08/01 22:11:53 incr placement - mixed small/medium, 6 2M index, 1 replica, 1x
2022-08-01T22:11:53.085+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.002693338274783417
2022-08-01T22:11:53.301+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:53.301+05:30 [Info] Score: 0.00043718596495524715
2022-08-01T22:11:53.301+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-08-01T22:11:53.301+05:30 [Info] CPU Quota: 20
2022-08-01T22:11:53.301+05:30 [Info] Indexer Memory Mean 393025602195 (366.034G)
2022-08-01T22:11:53.301+05:30 [Info] Indexer Memory Deviation 343650554 (327.731M) (0.09%)
2022-08-01T22:11:53.301+05:30 [Info] Indexer Memory Utilization 0.7321
2022-08-01T22:11:53.301+05:30 [Info] Indexer CPU Mean 14.2305
2022-08-01T22:11:53.301+05:30 [Info] Indexer CPU Deviation 0.95 (6.65%)
2022-08-01T22:11:53.301+05:30 [Info] Indexer CPU Utilization 0.7115
2022-08-01T22:11:53.301+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:53.301+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:53.301+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:53.301+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.301+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:53.301+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.301+05:30 [Info] Indexer Data Size Mean 393025602195 (366.034G)
2022-08-01T22:11:53.301+05:30 [Info] Indexer Data Size Deviation 343650554 (327.731M) (0.09%)
2022-08-01T22:11:53.301+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:53.301+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:53.301+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:53.301+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:53 -------------------------------------------
2022/08/01 22:11:53 incr placement - 3 server group, 3 replica, 1x
2022-08-01T22:11:53.304+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.816496580927726
2022-08-01T22:11:53.329+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:53.329+05:30 [Info] Score: 0
2022-08-01T22:11:53.329+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-08-01T22:11:53.329+05:30 [Info] CPU Quota: 16
2022-08-01T22:11:53.329+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-08-01T22:11:53.329+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:53.329+05:30 [Info] Indexer Memory Utilization 0.0049
2022-08-01T22:11:53.329+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:53.329+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:53.329+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:53.329+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:53.329+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:53.329+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:53.329+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.329+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:53.329+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.329+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-08-01T22:11:53.329+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:53.329+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:53.329+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:53.329+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:53.329+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:53 -------------------------------------------
2022/08/01 22:11:53 incr placement - 2 server group, 3 replica, 1x
2022-08-01T22:11:53.331+05:30 [Warn] Index has more replica than server group. Index=index1 0 Bucket=bucket2 Scope= Collection=
2022-08-01T22:11:53.331+05:30 [Warn] Index has more replica than server group. Index=index1 0 (replica 1) Bucket=bucket2 Scope= Collection=
2022-08-01T22:11:53.331+05:30 [Warn] Index has more replica than server group. Index=index1 0 (replica 2) Bucket=bucket2 Scope= Collection=
2022-08-01T22:11:53.331+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.816496580927726
2022-08-01T22:11:53.356+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:53.356+05:30 [Info] Score: 0
2022-08-01T22:11:53.356+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-08-01T22:11:53.356+05:30 [Info] CPU Quota: 16
2022-08-01T22:11:53.356+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-08-01T22:11:53.356+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:53.356+05:30 [Info] Indexer Memory Utilization 0.0049
2022-08-01T22:11:53.356+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:53.356+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:53.356+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:53.356+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:53.356+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:53.356+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:53.356+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.356+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:53.356+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.356+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-08-01T22:11:53.356+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:53.356+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:53.356+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:53.356+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:53.356+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:53 -------------------------------------------
2022/08/01 22:11:53 rebalance - 20-50M, 90 index, 20% shuffle, 1x, utilization 90%+
2022-08-01T22:11:53.358+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.23224675661469676
2022-08-01T22:11:53.358+05:30 [Info] Planner::initial temperature: initial resource variation 0.23224675661469676 temp 0.023224675661469678
2022-08-01T22:11:53.523+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:53.523+05:30 [Info] Score: 0.19389179517745275
2022-08-01T22:11:53.523+05:30 [Info] Memory Quota: 139586437120 (130G)
2022-08-01T22:11:53.523+05:30 [Info] CPU Quota: 30
2022-08-01T22:11:53.523+05:30 [Info] Indexer Memory Mean 88876568718 (82.7728G)
2022-08-01T22:11:53.523+05:30 [Info] Indexer Memory Deviation 1954285252 (1.82007G) (2.20%)
2022-08-01T22:11:53.523+05:30 [Info] Indexer Memory Utilization 0.6367
2022-08-01T22:11:53.523+05:30 [Info] Indexer CPU Mean 24.0538
2022-08-01T22:11:53.523+05:30 [Info] Indexer CPU Deviation 2.36 (9.81%)
2022-08-01T22:11:53.523+05:30 [Info] Indexer CPU Utilization 0.8018
2022-08-01T22:11:53.523+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:53.523+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:53.523+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:53.523+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.523+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:53.523+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.523+05:30 [Info] Indexer Data Size Mean 88876568718 (82.7728G)
2022-08-01T22:11:53.523+05:30 [Info] Indexer Data Size Deviation 1954285252 (1.82007G) (2.20%)
2022-08-01T22:11:53.523+05:30 [Info] Total Index Data (from non-deleted node) 993.273G
2022-08-01T22:11:53.523+05:30 [Info] Index Data Moved (exclude new node) 378.806G (38.14%)
2022-08-01T22:11:53.523+05:30 [Info] No. Index (from non-deleted node) 90
2022-08-01T22:11:53.523+05:30 [Info] No. Index Moved (exclude new node) 33 (36.67%)
2022/08/01 22:11:53 -------------------------------------------
2022/08/01 22:11:53 rebalance - mixed small/medium, 90 index, 20% shuffle, 1x
2022-08-01T22:11:53.525+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.39217210132506236
2022-08-01T22:11:53.525+05:30 [Info] Planner::initial temperature: initial resource variation 0.39217210132506236 temp 0.03921721013250624
2022-08-01T22:11:53.707+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:53.707+05:30 [Info] Score: 0.18003414548952165
2022-08-01T22:11:53.707+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-08-01T22:11:53.707+05:30 [Info] CPU Quota: 20
2022-08-01T22:11:53.707+05:30 [Info] Indexer Memory Mean 392505602195 (365.549G)
2022-08-01T22:11:53.707+05:30 [Info] Indexer Memory Deviation 17924282171 (16.6933G) (4.57%)
2022-08-01T22:11:53.707+05:30 [Info] Indexer Memory Utilization 0.7311
2022-08-01T22:11:53.707+05:30 [Info] Indexer CPU Mean 13.9305
2022-08-01T22:11:53.707+05:30 [Info] Indexer CPU Deviation 4.10 (29.47%)
2022-08-01T22:11:53.707+05:30 [Info] Indexer CPU Utilization 0.6965
2022-08-01T22:11:53.707+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:53.707+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:53.707+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:53.707+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.707+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:53.707+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.707+05:30 [Info] Indexer Data Size Mean 392505602195 (365.549G)
2022-08-01T22:11:53.707+05:30 [Info] Indexer Data Size Deviation 17924282171 (16.6933G) (4.57%)
2022-08-01T22:11:53.707+05:30 [Info] Total Index Data (from non-deleted node) 4.28378T
2022-08-01T22:11:53.707+05:30 [Info] Index Data Moved (exclude new node) 1.82301T (42.56%)
2022-08-01T22:11:53.707+05:30 [Info] No. Index (from non-deleted node) 90
2022-08-01T22:11:53.707+05:30 [Info] No. Index Moved (exclude new node) 21 (23.33%)
2022/08/01 22:11:53 -------------------------------------------
2022/08/01 22:11:53 rebalance - travel sample, 10% shuffle, 1x
2022-08-01T22:11:53.708+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.02262031463671501
2022-08-01T22:11:53.708+05:30 [Info] Planner::initial temperature: initial resource variation 0.02262031463671501 temp 0.0022620314636715012
2022-08-01T22:11:53.709+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:53.709+05:30 [Info] Score: 0.005655078659178752
2022-08-01T22:11:53.709+05:30 [Info] Memory Quota: 536870912 (512M)
2022-08-01T22:11:53.709+05:30 [Info] CPU Quota: 8
2022-08-01T22:11:53.709+05:30 [Info] Indexer Memory Mean 17503138 (16.6923M)
2022-08-01T22:11:53.709+05:30 [Info] Indexer Memory Deviation 395926 (386.646K) (2.26%)
2022-08-01T22:11:53.709+05:30 [Info] Indexer Memory Utilization 0.0326
2022-08-01T22:11:53.709+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:53.709+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:53.709+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:53.709+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:53.709+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:53.709+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:53.709+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.709+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:53.709+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.709+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-08-01T22:11:53.709+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:53.709+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:53.709+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:53.709+05:30 [Info] No. Index (from non-deleted node) 10
2022-08-01T22:11:53.709+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:53 -------------------------------------------
2022/08/01 22:11:53 rebalance - 20-50M, 90 index, swap 2, 1x
2022-08-01T22:11:53.711+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4095843409677649
2022-08-01T22:11:53.711+05:30 [Info] Planner::initial temperature: initial resource variation 0.4095843409677649 temp 0.04095843409677649
2022-08-01T22:11:53.864+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:53.865+05:30 [Info] Score: 0.014286523078667818
2022-08-01T22:11:53.865+05:30 [Info] Memory Quota: 139586437120 (130G)
2022-08-01T22:11:53.865+05:30 [Info] CPU Quota: 30
2022-08-01T22:11:53.865+05:30 [Info] Indexer Memory Mean 88876568718 (82.7728G)
2022-08-01T22:11:53.865+05:30 [Info] Indexer Memory Deviation 2539474300 (2.36507G) (2.86%)
2022-08-01T22:11:53.865+05:30 [Info] Indexer Memory Utilization 0.6367
2022-08-01T22:11:53.865+05:30 [Info] Indexer CPU Mean 24.0538
2022-08-01T22:11:53.865+05:30 [Info] Indexer CPU Deviation 1.09 (4.53%)
2022-08-01T22:11:53.865+05:30 [Info] Indexer CPU Utilization 0.8018
2022-08-01T22:11:53.865+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:53.865+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:53.865+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:53.865+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.865+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:53.865+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:53.865+05:30 [Info] Indexer Data Size Mean 88876568718 (82.7728G)
2022-08-01T22:11:53.865+05:30 [Info] Indexer Data Size Deviation 2539474300 (2.36507G) (2.86%)
2022-08-01T22:11:53.865+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:53.865+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:53.865+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:53.865+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:53 -------------------------------------------
2022/08/01 22:11:53 rebalance - mixed small/medium, 90 index, swap 2, 1x
2022-08-01T22:11:53.866+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4082556623939647
2022-08-01T22:11:53.867+05:30 [Info] Planner::initial temperature: initial resource variation 0.4082556623939647 temp 0.040825566239396475
2022-08-01T22:11:54.025+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:54.025+05:30 [Info] Score: 0.0017064295614169721
2022-08-01T22:11:54.025+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-08-01T22:11:54.025+05:30 [Info] CPU Quota: 20
2022-08-01T22:11:54.025+05:30 [Info] Indexer Memory Mean 392505602195 (365.549G)
2022-08-01T22:11:54.025+05:30 [Info] Indexer Memory Deviation 1339566325 (1.24757G) (0.34%)
2022-08-01T22:11:54.025+05:30 [Info] Indexer Memory Utilization 0.7311
2022-08-01T22:11:54.025+05:30 [Info] Indexer CPU Mean 13.9305
2022-08-01T22:11:54.026+05:30 [Info] Indexer CPU Deviation 1.66 (11.89%)
2022-08-01T22:11:54.026+05:30 [Info] Indexer CPU Utilization 0.6965
2022-08-01T22:11:54.026+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:54.026+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:54.026+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:54.026+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.026+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:54.026+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.026+05:30 [Info] Indexer Data Size Mean 392505602195 (365.549G)
2022-08-01T22:11:54.026+05:30 [Info] Indexer Data Size Deviation 1339566325 (1.24757G) (0.34%)
2022-08-01T22:11:54.026+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:54.026+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:54.026+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:54.026+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:54 -------------------------------------------
2022/08/01 22:11:54 rebalance - travel sample, swap 2, 1x
2022-08-01T22:11:54.026+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1.0086622738872069
2022-08-01T22:11:54.026+05:30 [Info] Planner::initial temperature: initial resource variation 1.0086622738872069 temp 0.1008662273887207
2022-08-01T22:11:54.156+05:30 [Info] Score: 0.0003181929343700274
2022-08-01T22:11:54.156+05:30 [Info] Memory Quota: 536870912 (512M)
2022-08-01T22:11:54.156+05:30 [Info] CPU Quota: 8
2022-08-01T22:11:54.156+05:30 [Info] Indexer Memory Mean 17503138 (16.6923M)
2022-08-01T22:11:54.156+05:30 [Info] Indexer Memory Deviation 22277 (21.7549K) (0.13%)
2022-08-01T22:11:54.156+05:30 [Info] Indexer Memory Utilization 0.0326
2022-08-01T22:11:54.156+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:54.156+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:54.156+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:54.156+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:54.156+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:54.156+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:54.156+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.156+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:54.156+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.156+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-08-01T22:11:54.156+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.156+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:54.156+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:54.156+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:54.156+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:54 -------------------------------------------
2022/08/01 22:11:54 rebalance - 8 identical index, add 4, 1x
2022-08-01T22:11:54.157+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1
2022-08-01T22:11:54.157+05:30 [Info] Planner::initial temperature: initial resource variation 1 temp 0.1
2022-08-01T22:11:54.173+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:54.173+05:30 [Info] Score: 0
2022-08-01T22:11:54.173+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-08-01T22:11:54.173+05:30 [Info] CPU Quota: 2
2022-08-01T22:11:54.173+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-08-01T22:11:54.173+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.173+05:30 [Info] Indexer Memory Utilization 0.0049
2022-08-01T22:11:54.173+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:54.173+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:54.173+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:54.173+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:54.173+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:54.173+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:54.173+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.174+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:54.174+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.174+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-08-01T22:11:54.174+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.174+05:30 [Info] Total Index Data (from non-deleted node) 19.8364M
2022-08-01T22:11:54.174+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:54.174+05:30 [Info] No. Index (from non-deleted node) 8
2022-08-01T22:11:54.174+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:54 -------------------------------------------
2022/08/01 22:11:54 rebalance - 8 identical index, delete 2, 2x
2022-08-01T22:11:54.174+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:54.174+05:30 [Info] Planner::initial temperature: initial resource variation 0 temp 1e-05
2022-08-01T22:11:54.221+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:54.221+05:30 [Info] Score: 0
2022-08-01T22:11:54.221+05:30 [Info] Memory Quota: 1060588000 (1011.46M)
2022-08-01T22:11:54.221+05:30 [Info] CPU Quota: 4
2022-08-01T22:11:54.221+05:30 [Info] Indexer Memory Mean 10400000 (9.91821M)
2022-08-01T22:11:54.221+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.221+05:30 [Info] Indexer Memory Utilization 0.0098
2022-08-01T22:11:54.221+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:54.221+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:54.221+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:54.221+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:54.221+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:54.221+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:54.221+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.221+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:54.221+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.221+05:30 [Info] Indexer Data Size Mean 10400000 (9.91821M)
2022-08-01T22:11:54.221+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.221+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:54.221+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:54.221+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:54.221+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:54 -------------------------------------------
2022/08/01 22:11:54 rebalance - drop replcia - 3 replica, 3 zone, delete 1, 2x
2022-08-01T22:11:54.222+05:30 [Warn] There is more replica than available nodes.  Will not move index replica (default,,,country) from ejected node 127.0.0.1:9003
2022-08-01T22:11:54.222+05:30 [Info] Planner::planSingleRun Initial variance of the solution: NaN
2022-08-01T22:11:54.222+05:30 [Info] Planner::initial temperature: initial resource variation NaN temp NaN
2022-08-01T22:11:54.222+05:30 [Info] Score: 0
2022-08-01T22:11:54.222+05:30 [Info] Memory Quota: 536870912 (512M)
2022-08-01T22:11:54.222+05:30 [Info] CPU Quota: 16
2022-08-01T22:11:54.222+05:30 [Info] Indexer Memory Mean 0 (0)
2022-08-01T22:11:54.222+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.222+05:30 [Info] Indexer Memory Utilization 0.0000
2022-08-01T22:11:54.222+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:54.222+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:54.222+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:54.222+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:54.222+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:54.222+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:54.222+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.222+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:54.222+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.222+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-08-01T22:11:54.222+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.222+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:54.222+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:54.222+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:54.222+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:54 -------------------------------------------
2022/08/01 22:11:54 rebalance - rebuid replica - 3 replica, 3 zone, add 1, delete 1, 1x
2022-08-01T22:11:54.223+05:30 [Info] Planner::planSingleRun Initial variance of the solution: NaN
2022-08-01T22:11:54.223+05:30 [Info] Planner::initial temperature: initial resource variation NaN temp NaN
2022-08-01T22:11:54.223+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-08-01T22:11:54.223+05:30 [Info] Score: 0
2022-08-01T22:11:54.223+05:30 [Info] Memory Quota: 268435456 (256M)
2022-08-01T22:11:54.223+05:30 [Info] CPU Quota: 8
2022-08-01T22:11:54.223+05:30 [Info] Indexer Memory Mean 0 (0)
2022-08-01T22:11:54.223+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.223+05:30 [Info] Indexer Memory Utilization 0.0000
2022-08-01T22:11:54.223+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T22:11:54.223+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T22:11:54.223+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T22:11:54.223+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T22:11:54.223+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T22:11:54.223+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T22:11:54.223+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.223+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T22:11:54.223+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T22:11:54.223+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-08-01T22:11:54.223+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T22:11:54.223+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T22:11:54.223+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T22:11:54.223+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T22:11:54.223+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 22:11:54 -------------------------------------------
2022/08/01 22:11:54 Minimum memory test 1: min memory = 0
2022-08-01T22:11:54.224+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-08-01T22:11:54.224+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022-08-01T22:11:54.227+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/08/01 22:11:54 -------------------------------------------
2022/08/01 22:11:54 Minimum memory test 2: min memory > quota
2022-08-01T22:11:54.228+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-08-01T22:11:54.228+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=5us
2022-08-01T22:11:54.228+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=4us
2022-08-01T22:11:54.228+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-08-01T22:11:54.228+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022/08/01 22:11:55 -------------------------------------------
2022/08/01 22:11:55 Minimum memory test 3: min memory < quota
2022-08-01T22:11:55.172+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-08-01T22:11:55.172+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022-08-01T22:11:55.810+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2022-08-01T22:11:55.815+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:11:55.815+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:11:55.815+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:11:55.815+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:11:55.816+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-08-01T22:11:55.817+05:30 [Info] switched currmeta from 451 -> 451 force true 
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Minimum memory test 4: replica repair with min memory > quota
2022-08-01T22:11:56.517+05:30 [Info] Rebuilding lost replica for (default,,,country,0)
2022-08-01T22:11:56.517+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=11us
2022-08-01T22:11:56.517+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=9us
2022-08-01T22:11:56.517+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=7us
2022-08-01T22:11:56.518+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-08-01T22:11:56.518+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-08-01T22:11:56.518+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-08-01T22:11:56.518+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:56.518+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=266us
2022-08-01T22:11:56.518+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-08-01T22:11:56.518+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-08-01T22:11:56.518+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-08-01T22:11:56.518+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:56.518+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=271us
2022-08-01T22:11:56.518+05:30 [Info] Cannot rebuild lost replica due to resource constraint in cluster.  Will not rebuild lost replica.
2022-08-01T22:11:56.518+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-08-01T22:11:56.518+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T22:11:56.518+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-08-01T22:11:56.518+05:30 [Info] Planner::initial temperature: initial resource variation 0 temp 1e-05
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Minimum memory test 5: replica repair with min memory < quota
2022-08-01T22:11:56.519+05:30 [Info] Rebuilding lost replica for (default,,,country,0)
2022-08-01T22:11:56.519+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-08-01T22:11:56.519+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-08-01T22:11:56.532+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Minimum memory test 6: rebalance with min memory > quota
2022-08-01T22:11:56.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-08-01T22:11:56.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=7us
2022-08-01T22:11:56.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=7us
2022-08-01T22:11:56.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=6us
2022-08-01T22:11:56.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=6us
2022-08-01T22:11:56.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=7us
2022-08-01T22:11:56.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=6us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=8us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=7us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=6us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=7us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=7us
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Minimum memory test 7: rebalance-out with min memory > quota
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=6us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=6us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=5us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=8us
2022-08-01T22:11:56.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=7us
2022-08-01T22:11:56.533+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-08-01T22:11:56.533+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-08-01T22:11:56.533+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022-08-01T22:11:56.534+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Minimum memory test 8: plan with min memory > quota
2022-08-01T22:11:56.540+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.375
2022-08-01T22:11:56.541+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-08-01T22:11:56.541+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:56.541+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=978us
2022-08-01T22:11:56.541+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=8us
2022-08-01T22:11:56.541+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=7us
2022-08-01T22:11:56.541+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=6us
2022-08-01T22:11:56.541+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=6us
2022-08-01T22:11:56.541+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=7us
2022-08-01T22:11:56.541+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-08-01T22:11:56.541+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.375
2022-08-01T22:11:56.541+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Minimum memory test 9: single node rebalance with min memory > quota
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=6us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=6us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=5us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=6us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=7us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=5us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=7us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=7us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=6us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=6us
2022-08-01T22:11:56.542+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=5us
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Minimum memory test 10: plan with partitioned index on empty cluster
2022-08-01T22:11:56.544+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.7071067811865476
2022-08-01T22:11:56.598+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 iterationTest :: Remove one node - failure
2022-08-01T22:11:56.599+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3980398802983148
2022-08-01T22:11:56.680+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:56.681+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.681+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.681+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.681+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.681+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.16035289121191626).
2022-08-01T22:11:56.681+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=352us
2022-08-01T22:11:56.681+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.681+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.681+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.681+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.681+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.18787680143869567).
2022-08-01T22:11:56.681+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=315us
2022-08-01T22:11:56.681+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.681+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.681+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.681+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.682+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1091854261436861).
2022-08-01T22:11:56.682+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=297us
2022-08-01T22:11:56.682+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.682+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.682+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.682+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.682+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1545312508187137).
2022-08-01T22:11:56.682+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=297us
2022-08-01T22:11:56.682+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.682+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.682+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.682+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.682+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.11000570597671246).
2022-08-01T22:11:56.682+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=308us
2022-08-01T22:11:56.682+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.682+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.682+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.682+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.683+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.16064852393517012).
2022-08-01T22:11:56.683+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=293us
2022-08-01T22:11:56.683+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-08-01T22:11:56.683+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.683+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.683+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.683+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.683+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.18315919677116144).
2022-08-01T22:11:56.683+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=303us
2022-08-01T22:11:56.683+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.683+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.683+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.683+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.683+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.18107028937643496).
2022-08-01T22:11:56.683+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=303us
2022-08-01T22:11:56.683+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.683+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.683+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.684+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.684+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.18197722509064806).
2022-08-01T22:11:56.684+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=322us
2022-08-01T22:11:56.684+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.684+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.684+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.684+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.684+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.17149226343949028).
2022-08-01T22:11:56.684+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=356us
2022-08-01T22:11:56.684+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.684+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.684+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.684+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.684+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1290233118245437).
2022-08-01T22:11:56.684+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=327us
2022-08-01T22:11:56.684+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.003131673816810887
2022-08-01T22:11:56.685+05:30 [Info] Planner::initial temperature: initial resource variation 0.003131673816810887 temp 0.03468683261831891
2022-08-01T22:11:56.685+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.685+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T22:11:56.685+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.20233655182818974).
2022-08-01T22:11:56.685+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=371us
2022-08-01T22:11:56.685+05:30 [Error] 
MemoryQuota: 5302940000000
CpuQuota: 6
--- Violations for index <10168079603385574083, bucket1, , > (mem 18.5102G, cpu 4.0193200000000004) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63715T, free cpu -34.11752)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64106T, free cpu -26.944440000000007)
--- Violations for index <14425091202763094739, bucket1, , > (mem 15.7668G, cpu 3.07328) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63715T, free cpu -34.11752)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64106T, free cpu -26.944440000000007)
--- Violations for index <15281174794844043148, bucket1, , > (mem 18.0986G, cpu 1.82) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63715T, free cpu -34.11752)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64106T, free cpu -26.944440000000007)
--- Violations for index <6634589534061936899, bucket1, , > (mem 13.3535G, cpu 2.20872) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63715T, free cpu -34.11752)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64106T, free cpu -26.944440000000007)
--- Violations for index <14135209018133422840, bucket1, , > (mem 14.9318G, cpu 3.61044) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63715T, free cpu -34.11752)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64106T, free cpu -26.944440000000007)
--- Violations for index <17322967974395037589, bucket1, , > (mem 17.4525G, cpu 3.19172) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63715T, free cpu -34.11752)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64106T, free cpu -26.944440000000007)
--- Violations for index <3486405696733644288, bucket1, , > (mem 13.2508G, cpu 4.20444) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63715T, free cpu -34.11752)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64106T, free cpu -26.944440000000007)
--- Violations for index <5549063231314939854, bucket1, , > (mem 10.9634G, cpu 4.85092) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.63715T, free cpu -34.11752)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64106T, free cpu -26.944440000000007)
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 iterationTest :: Remove one node - success
2022-08-01T22:11:56.685+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.44249281845610916
2022-08-01T22:11:56.759+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:56.759+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.006463446297991346
2022-08-01T22:11:56.759+05:30 [Info] Planner::initial temperature: initial resource variation 0.006463446297991346 temp 0.02435365537020087
2022-08-01T22:11:56.760+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T22:11:56.760+05:30 [Info] Planner::Finished planner run after 10 iterations.
2022-08-01T22:11:56.760+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.11258458261537735).
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 iterationTest :: Index rebuild - success
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i0,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i5,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i10,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i13,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i15,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i18,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i22,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i11,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i24,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i26,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i28,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i2,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i4,1)
2022-08-01T22:11:56.762+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i8,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i1,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i3,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i6,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i12,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i14,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i20,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i23,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i27,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i25,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i29,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i7,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i9,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i16,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i17,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i19,1)
2022-08-01T22:11:56.763+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i21,1)
2022-08-01T22:11:56.764+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.5792715732327589
2022-08-01T22:11:56.764+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-08-01T22:11:56.764+05:30 [Info] Planner::initial temperature: initial resource variation 0.5792715732327589 temp 0.022072842676724116
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 iterationTest :: Index rebuild - initial placement - success
2022-08-01T22:11:56.765+05:30 [Info] Rebuilding lost replica for (default,,,idx1,1)
2022-08-01T22:11:56.765+05:30 [Info] Rebuilding lost replica for (default,,,idx2,1)
2022-08-01T22:11:56.765+05:30 [Info] Rebuilding lost replica for (default,,,idx3,1)
2022-08-01T22:11:56.765+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.6236095644623236
2022-08-01T22:11:56.765+05:30 [Info] Planner::initial temperature: initial resource variation 0.6236095644623236 temp 0.03663904355376764
2022-08-01T22:11:56.765+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (0, 0) exceeded.
2022-08-01T22:11:56.765+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:56.765+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.6236095644623236).
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 iterationTest :: Index rebuild - initial placement - numReplica > numSG - success
2022-08-01T22:11:56.766+05:30 [Info] Rebuilding lost replica for (default,,,idx1,2)
2022-08-01T22:11:56.766+05:30 [Info] Rebuilding lost replica for (default,,,idx1,1)
2022-08-01T22:11:56.766+05:30 [Info] Rebuilding lost replica for (default,,,idx2,1)
2022-08-01T22:11:56.766+05:30 [Info] Rebuilding lost replica for (default,,,idx2,2)
2022-08-01T22:11:56.766+05:30 [Info] Rebuilding lost replica for (default,,,idx3,1)
2022-08-01T22:11:56.766+05:30 [Info] Rebuilding lost replica for (default,,,idx3,2)
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx2 0 Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx1 0 Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx3 0 Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx2 0 Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx1 0 Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx3 0 Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T22:11:56.766+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4581228472908511
2022-08-01T22:11:56.766+05:30 [Info] Planner::initial temperature: initial resource variation 0.4581228472908511 temp 0.053187715270914884
2022-08-01T22:11:56.766+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (0, 0) exceeded.
2022-08-01T22:11:56.766+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T22:11:56.766+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.4581228472908511).
--- PASS: TestPlanner (6.95s)
=== RUN   TestGreedyPlanner
2022/08/01 22:11:56 In TestGreedyPlanner()
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Single Index Instance - 3 empty nodes - 1 SG
2022-08-01T22:11:56.769+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Single Index Instance - 2 empty nodes, 1 non-empty node - 1 SG
2022-08-01T22:11:56.771+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Single Index Instance - 1 empty node, 2 non-empty nodes - 1 SG
2022-08-01T22:11:56.773+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Single Index Instance - 3 non-empty nodes - 1 SG
2022-08-01T22:11:56.775+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 1 Replica - 3 empty nodes - 1 SG
2022-08-01T22:11:56.777+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 1 Replica - 2 empty nodes, 1 non-empty node - 1 SG
2022-08-01T22:11:56.778+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 1 Replica - 1 empty node, 2 non-empty nodes - 1 SG
2022-08-01T22:11:56.780+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 1 Replica - 3 non-empty nodes - 1 SG
2022-08-01T22:11:56.782+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 2 Replica - 3 empty nodes - 1 SG
2022-08-01T22:11:56.784+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 2 Replica - 3 non-empty nodes - 1 SG
2022-08-01T22:11:56.785+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 1 Replica - 2 empty nodes, 1 non-empty node - 2 SG
2022-08-01T22:11:56.787+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 1 Replica - 1 empty node, 2 non-empty nodes - 2 SG
2022-08-01T22:11:56.789+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Index With 1 Replica - 3 non-empty nodes - 2 SG
2022-08-01T22:11:56.791+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Equivalent Index Without any replica - 3 non-empty nodes - 1 SG
2022-08-01T22:11:56.794+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Equivalent Index With 1 Replica - 3 non-empty nodes - 1 SG - Skip least loaded node
2022-08-01T22:11:56.796+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place Equivalent Index With 1 Replica - 3 non-empty nodes - 1 SG - Use least loaded node
2022-08-01T22:11:56.798+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place 60 index instaces on 3 empty nodes - 1 SG
2022-08-01T22:11:56.800+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T22:11:56.801+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T22:11:56.803+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T22:11:56.805+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T22:11:56.806+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T22:11:56.808+05:30 [Info] Using greedy index placement for index 1005987654
2022-08-01T22:11:56.810+05:30 [Info] Using greedy index placement for index 1006987654
2022-08-01T22:11:56.811+05:30 [Info] Using greedy index placement for index 1007987654
2022-08-01T22:11:56.813+05:30 [Info] Using greedy index placement for index 1008987654
2022-08-01T22:11:56.815+05:30 [Info] Using greedy index placement for index 1009987654
2022-08-01T22:11:56.817+05:30 [Info] Using greedy index placement for index 1010987654
2022-08-01T22:11:56.818+05:30 [Info] Using greedy index placement for index 1011987654
2022-08-01T22:11:56.820+05:30 [Info] Using greedy index placement for index 1012987654
2022-08-01T22:11:56.822+05:30 [Info] Using greedy index placement for index 1013987654
2022-08-01T22:11:56.823+05:30 [Info] Using greedy index placement for index 1014987654
2022-08-01T22:11:56.825+05:30 [Info] Using greedy index placement for index 1015987654
2022-08-01T22:11:56.827+05:30 [Info] Using greedy index placement for index 1016987654
2022-08-01T22:11:56.829+05:30 [Info] Using greedy index placement for index 1017987654
2022-08-01T22:11:56.830+05:30 [Info] Using greedy index placement for index 1018987654
2022-08-01T22:11:56.832+05:30 [Info] Using greedy index placement for index 1019987654
2022-08-01T22:11:56.834+05:30 [Info] Using greedy index placement for index 1020987654
2022-08-01T22:11:56.835+05:30 [Info] Using greedy index placement for index 1021987654
2022-08-01T22:11:56.837+05:30 [Info] Using greedy index placement for index 1022987654
2022-08-01T22:11:56.839+05:30 [Info] Using greedy index placement for index 1023987654
2022-08-01T22:11:56.840+05:30 [Info] Using greedy index placement for index 1024987654
2022-08-01T22:11:56.842+05:30 [Info] Using greedy index placement for index 1025987654
2022-08-01T22:11:56.844+05:30 [Info] Using greedy index placement for index 1026987654
2022-08-01T22:11:56.845+05:30 [Info] Using greedy index placement for index 1027987654
2022-08-01T22:11:56.847+05:30 [Info] Using greedy index placement for index 1028987654
2022-08-01T22:11:56.849+05:30 [Info] Using greedy index placement for index 1029987654
2022-08-01T22:11:56.850+05:30 [Info] Using greedy index placement for index 1030987654
2022-08-01T22:11:56.852+05:30 [Info] Using greedy index placement for index 1031987654
2022-08-01T22:11:56.854+05:30 [Info] Using greedy index placement for index 1032987654
2022-08-01T22:11:56.855+05:30 [Info] Using greedy index placement for index 1033987654
2022-08-01T22:11:56.857+05:30 [Info] Using greedy index placement for index 1034987654
2022-08-01T22:11:56.859+05:30 [Info] Using greedy index placement for index 1035987654
2022-08-01T22:11:56.860+05:30 [Info] Using greedy index placement for index 1036987654
2022-08-01T22:11:56.862+05:30 [Info] Using greedy index placement for index 1037987654
2022-08-01T22:11:56.864+05:30 [Info] Using greedy index placement for index 1038987654
2022-08-01T22:11:56.865+05:30 [Info] Using greedy index placement for index 1039987654
2022-08-01T22:11:56.867+05:30 [Info] Using greedy index placement for index 1040987654
2022-08-01T22:11:56.869+05:30 [Info] Using greedy index placement for index 1041987654
2022-08-01T22:11:56.870+05:30 [Info] Using greedy index placement for index 1042987654
2022-08-01T22:11:56.872+05:30 [Info] Using greedy index placement for index 1043987654
2022-08-01T22:11:56.874+05:30 [Info] Using greedy index placement for index 1044987654
2022-08-01T22:11:56.875+05:30 [Info] Using greedy index placement for index 1045987654
2022-08-01T22:11:56.877+05:30 [Info] Using greedy index placement for index 1046987654
2022-08-01T22:11:56.879+05:30 [Info] Using greedy index placement for index 1047987654
2022-08-01T22:11:56.881+05:30 [Info] Using greedy index placement for index 1048987654
2022-08-01T22:11:56.883+05:30 [Info] Using greedy index placement for index 1049987654
2022-08-01T22:11:56.884+05:30 [Info] Using greedy index placement for index 1050987654
2022-08-01T22:11:56.886+05:30 [Info] Using greedy index placement for index 1051987654
2022-08-01T22:11:56.888+05:30 [Info] Using greedy index placement for index 1052987654
2022-08-01T22:11:56.890+05:30 [Info] Using greedy index placement for index 1053987654
2022-08-01T22:11:56.892+05:30 [Info] Using greedy index placement for index 1054987654
2022-08-01T22:11:56.893+05:30 [Info] Using greedy index placement for index 1055987654
2022-08-01T22:11:56.895+05:30 [Info] Using greedy index placement for index 1056987654
2022-08-01T22:11:56.897+05:30 [Info] Using greedy index placement for index 1057987654
2022-08-01T22:11:56.899+05:30 [Info] Using greedy index placement for index 1058987654
2022-08-01T22:11:56.900+05:30 [Info] Using greedy index placement for index 1059987654
2022-08-01T22:11:56.900+05:30 [Info] Actual variance of deferred index count across nodes is 0
2022/08/01 22:11:56 -------------------------------------------
2022/08/01 22:11:56 Place 60 index instaces on 1 empty and 1 10 percent filled node - 1 SG
2022-08-01T22:11:56.903+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T22:11:56.904+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T22:11:56.906+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T22:11:56.907+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T22:11:56.909+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T22:11:56.911+05:30 [Info] Using greedy index placement for index 1005987654
2022-08-01T22:11:56.913+05:30 [Info] Using greedy index placement for index 1006987654
2022-08-01T22:11:56.914+05:30 [Info] Using greedy index placement for index 1007987654
2022-08-01T22:11:56.916+05:30 [Info] Using greedy index placement for index 1008987654
2022-08-01T22:11:56.918+05:30 [Info] Using greedy index placement for index 1009987654
2022-08-01T22:11:56.919+05:30 [Info] Using greedy index placement for index 1010987654
2022-08-01T22:11:56.921+05:30 [Info] Using greedy index placement for index 1011987654
2022-08-01T22:11:56.923+05:30 [Info] Using greedy index placement for index 1012987654
2022-08-01T22:11:56.925+05:30 [Info] Using greedy index placement for index 1013987654
2022-08-01T22:11:56.926+05:30 [Info] Using greedy index placement for index 1014987654
2022-08-01T22:11:56.928+05:30 [Info] Using greedy index placement for index 1015987654
2022-08-01T22:11:56.930+05:30 [Info] Using greedy index placement for index 1016987654
2022-08-01T22:11:56.931+05:30 [Info] Using greedy index placement for index 1017987654
2022-08-01T22:11:56.933+05:30 [Info] Using greedy index placement for index 1018987654
2022-08-01T22:11:56.935+05:30 [Info] Using greedy index placement for index 1019987654
2022-08-01T22:11:56.936+05:30 [Info] Using greedy index placement for index 1020987654
2022-08-01T22:11:56.938+05:30 [Info] Using greedy index placement for index 1021987654
2022-08-01T22:11:56.940+05:30 [Info] Using greedy index placement for index 1022987654
2022-08-01T22:11:56.941+05:30 [Info] Using greedy index placement for index 1023987654
2022-08-01T22:11:56.943+05:30 [Info] Using greedy index placement for index 1024987654
2022-08-01T22:11:56.945+05:30 [Info] Using greedy index placement for index 1025987654
2022-08-01T22:11:56.946+05:30 [Info] Using greedy index placement for index 1026987654
2022-08-01T22:11:56.948+05:30 [Info] Using greedy index placement for index 1027987654
2022-08-01T22:11:56.950+05:30 [Info] Using greedy index placement for index 1028987654
2022-08-01T22:11:56.951+05:30 [Info] Using greedy index placement for index 1029987654
2022-08-01T22:11:56.953+05:30 [Info] Using greedy index placement for index 1030987654
2022-08-01T22:11:56.955+05:30 [Info] Using greedy index placement for index 1031987654
2022-08-01T22:11:56.956+05:30 [Info] Using greedy index placement for index 1032987654
2022-08-01T22:11:56.958+05:30 [Info] Using greedy index placement for index 1033987654
2022-08-01T22:11:56.960+05:30 [Info] Using greedy index placement for index 1034987654
2022-08-01T22:11:56.962+05:30 [Info] Using greedy index placement for index 1035987654
2022-08-01T22:11:56.963+05:30 [Info] Using greedy index placement for index 1036987654
2022-08-01T22:11:56.965+05:30 [Info] Using greedy index placement for index 1037987654
2022-08-01T22:11:56.967+05:30 [Info] Using greedy index placement for index 1038987654
2022-08-01T22:11:56.969+05:30 [Info] Using greedy index placement for index 1039987654
2022-08-01T22:11:56.970+05:30 [Info] Using greedy index placement for index 1040987654
2022-08-01T22:11:56.972+05:30 [Info] Using greedy index placement for index 1041987654
2022-08-01T22:11:56.974+05:30 [Info] Using greedy index placement for index 1042987654
2022-08-01T22:11:56.975+05:30 [Info] Using greedy index placement for index 1043987654
2022-08-01T22:11:56.977+05:30 [Info] Using greedy index placement for index 1044987654
2022-08-01T22:11:56.979+05:30 [Info] Using greedy index placement for index 1045987654
2022-08-01T22:11:56.981+05:30 [Info] Using greedy index placement for index 1046987654
2022-08-01T22:11:56.982+05:30 [Info] Using greedy index placement for index 1047987654
2022-08-01T22:11:56.984+05:30 [Info] Using greedy index placement for index 1048987654
2022-08-01T22:11:56.986+05:30 [Info] Using greedy index placement for index 1049987654
2022-08-01T22:11:56.987+05:30 [Info] Using greedy index placement for index 1050987654
2022-08-01T22:11:56.989+05:30 [Info] Using greedy index placement for index 1051987654
2022-08-01T22:11:56.991+05:30 [Info] Using greedy index placement for index 1052987654
2022-08-01T22:11:56.993+05:30 [Info] Using greedy index placement for index 1053987654
2022-08-01T22:11:56.994+05:30 [Info] Using greedy index placement for index 1054987654
2022-08-01T22:11:56.996+05:30 [Info] Using greedy index placement for index 1055987654
2022-08-01T22:11:56.998+05:30 [Info] Using greedy index placement for index 1056987654
2022-08-01T22:11:57.000+05:30 [Info] Using greedy index placement for index 1057987654
2022-08-01T22:11:57.002+05:30 [Info] Using greedy index placement for index 1058987654
2022-08-01T22:11:57.004+05:30 [Info] Using greedy index placement for index 1059987654
2022-08-01T22:11:57.004+05:30 [Info] Actual variance of deferred index count across nodes is 8
2022/08/01 22:11:57 -------------------------------------------
2022/08/01 22:11:57 Place 60 index instaces on 1 empty and 1 30 percent filled node - 1 SG
2022-08-01T22:11:57.006+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T22:11:57.007+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T22:11:57.009+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T22:11:57.011+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T22:11:57.012+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T22:11:57.014+05:30 [Info] Using greedy index placement for index 1005987654
2022-08-01T22:11:57.016+05:30 [Info] Using greedy index placement for index 1006987654
2022-08-01T22:11:57.017+05:30 [Info] Using greedy index placement for index 1007987654
2022-08-01T22:11:57.019+05:30 [Info] Using greedy index placement for index 1008987654
2022-08-01T22:11:57.020+05:30 [Info] Using greedy index placement for index 1009987654
2022-08-01T22:11:57.022+05:30 [Info] Using greedy index placement for index 1010987654
2022-08-01T22:11:57.024+05:30 [Info] Using greedy index placement for index 1011987654
2022-08-01T22:11:57.025+05:30 [Info] Using greedy index placement for index 1012987654
2022-08-01T22:11:57.027+05:30 [Info] Using greedy index placement for index 1013987654
2022-08-01T22:11:57.029+05:30 [Info] Using greedy index placement for index 1014987654
2022-08-01T22:11:57.030+05:30 [Info] Using greedy index placement for index 1015987654
2022-08-01T22:11:57.032+05:30 [Info] Using greedy index placement for index 1016987654
2022-08-01T22:11:57.034+05:30 [Info] Using greedy index placement for index 1017987654
2022-08-01T22:11:57.035+05:30 [Info] Using greedy index placement for index 1018987654
2022-08-01T22:11:57.037+05:30 [Info] Using greedy index placement for index 1019987654
2022-08-01T22:11:57.039+05:30 [Info] Using greedy index placement for index 1020987654
2022-08-01T22:11:57.040+05:30 [Info] Using greedy index placement for index 1021987654
2022-08-01T22:11:57.042+05:30 [Info] Using greedy index placement for index 1022987654
2022-08-01T22:11:57.044+05:30 [Info] Using greedy index placement for index 1023987654
2022-08-01T22:11:57.045+05:30 [Info] Using greedy index placement for index 1024987654
2022-08-01T22:11:57.047+05:30 [Info] Using greedy index placement for index 1025987654
2022-08-01T22:11:57.049+05:30 [Info] Using greedy index placement for index 1026987654
2022-08-01T22:11:57.050+05:30 [Info] Using greedy index placement for index 1027987654
2022-08-01T22:11:57.052+05:30 [Info] Using greedy index placement for index 1028987654
2022-08-01T22:11:57.054+05:30 [Info] Using greedy index placement for index 1029987654
2022-08-01T22:11:57.055+05:30 [Info] Using greedy index placement for index 1030987654
2022-08-01T22:11:57.057+05:30 [Info] Using greedy index placement for index 1031987654
2022-08-01T22:11:57.059+05:30 [Info] Using greedy index placement for index 1032987654
2022-08-01T22:11:57.060+05:30 [Info] Using greedy index placement for index 1033987654
2022-08-01T22:11:57.062+05:30 [Info] Using greedy index placement for index 1034987654
2022-08-01T22:11:57.064+05:30 [Info] Using greedy index placement for index 1035987654
2022-08-01T22:11:57.066+05:30 [Info] Using greedy index placement for index 1036987654
2022-08-01T22:11:57.068+05:30 [Info] Using greedy index placement for index 1037987654
2022-08-01T22:11:57.069+05:30 [Info] Using greedy index placement for index 1038987654
2022-08-01T22:11:57.071+05:30 [Info] Using greedy index placement for index 1039987654
2022-08-01T22:11:57.073+05:30 [Info] Using greedy index placement for index 1040987654
2022-08-01T22:11:57.075+05:30 [Info] Using greedy index placement for index 1041987654
2022-08-01T22:11:57.077+05:30 [Info] Using greedy index placement for index 1042987654
2022-08-01T22:11:57.078+05:30 [Info] Using greedy index placement for index 1043987654
2022-08-01T22:11:57.080+05:30 [Info] Using greedy index placement for index 1044987654
2022-08-01T22:11:57.082+05:30 [Info] Using greedy index placement for index 1045987654
2022-08-01T22:11:57.083+05:30 [Info] Using greedy index placement for index 1046987654
2022-08-01T22:11:57.085+05:30 [Info] Using greedy index placement for index 1047987654
2022-08-01T22:11:57.087+05:30 [Info] Using greedy index placement for index 1048987654
2022-08-01T22:11:57.089+05:30 [Info] Using greedy index placement for index 1049987654
2022-08-01T22:11:57.090+05:30 [Info] Using greedy index placement for index 1050987654
2022-08-01T22:11:57.092+05:30 [Info] Using greedy index placement for index 1051987654
2022-08-01T22:11:57.094+05:30 [Info] Using greedy index placement for index 1052987654
2022-08-01T22:11:57.095+05:30 [Info] Using greedy index placement for index 1053987654
2022-08-01T22:11:57.097+05:30 [Info] Using greedy index placement for index 1054987654
2022-08-01T22:11:57.099+05:30 [Info] Using greedy index placement for index 1055987654
2022-08-01T22:11:57.101+05:30 [Info] Using greedy index placement for index 1056987654
2022-08-01T22:11:57.102+05:30 [Info] Using greedy index placement for index 1057987654
2022-08-01T22:11:57.104+05:30 [Info] Using greedy index placement for index 1058987654
2022-08-01T22:11:57.106+05:30 [Info] Using greedy index placement for index 1059987654
2022-08-01T22:11:57.106+05:30 [Info] Actual variance of deferred index count across nodes is 98
2022/08/01 22:11:57 -------------------------------------------
2022/08/01 22:11:57 Place 5 index instaces on 1 empty and 1 60 percent filled node - 1 SG
2022-08-01T22:11:57.108+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T22:11:57.110+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T22:11:57.111+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T22:11:57.113+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T22:11:57.114+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T22:11:57.115+05:30 [Info] Actual variance of deferred index count across nodes is 4.5
2022/08/01 22:11:57 -------------------------------------------
2022/08/01 22:11:57 Place 60 index instaces on 1 empty and 1 60 percent filled node - 1 SG
2022-08-01T22:11:57.116+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T22:11:57.118+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T22:11:57.120+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T22:11:57.121+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T22:11:57.123+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T22:11:57.125+05:30 [Info] Using greedy index placement for index 1005987654
2022-08-01T22:11:57.127+05:30 [Info] Using greedy index placement for index 1006987654
2022-08-01T22:11:57.129+05:30 [Info] Using greedy index placement for index 1007987654
2022-08-01T22:11:57.137+05:30 [Info] Using greedy index placement for index 1008987654
2022-08-01T22:11:57.139+05:30 [Info] Using greedy index placement for index 1009987654
2022-08-01T22:11:57.141+05:30 [Info] Using greedy index placement for index 1010987654
2022-08-01T22:11:57.143+05:30 [Info] Using greedy index placement for index 1011987654
2022-08-01T22:11:57.145+05:30 [Info] Using greedy index placement for index 1012987654
2022-08-01T22:11:57.146+05:30 [Info] Using greedy index placement for index 1013987654
2022-08-01T22:11:57.148+05:30 [Info] Using greedy index placement for index 1014987654
2022-08-01T22:11:57.150+05:30 [Info] Using greedy index placement for index 1015987654
2022-08-01T22:11:57.152+05:30 [Info] Using greedy index placement for index 1016987654
2022-08-01T22:11:57.153+05:30 [Info] Using greedy index placement for index 1017987654
2022-08-01T22:11:57.155+05:30 [Info] Using greedy index placement for index 1018987654
2022-08-01T22:11:57.157+05:30 [Info] Using greedy index placement for index 1019987654
2022-08-01T22:11:57.158+05:30 [Info] Using greedy index placement for index 1020987654
2022-08-01T22:11:57.160+05:30 [Info] Using greedy index placement for index 1021987654
2022-08-01T22:11:57.162+05:30 [Info] Using greedy index placement for index 1022987654
2022-08-01T22:11:57.164+05:30 [Info] Using greedy index placement for index 1023987654
2022-08-01T22:11:57.165+05:30 [Info] Using greedy index placement for index 1024987654
2022-08-01T22:11:57.167+05:30 [Info] Using greedy index placement for index 1025987654
2022-08-01T22:11:57.169+05:30 [Info] Using greedy index placement for index 1026987654
2022-08-01T22:11:57.171+05:30 [Info] Using greedy index placement for index 1027987654
2022-08-01T22:11:57.172+05:30 [Info] Using greedy index placement for index 1028987654
2022-08-01T22:11:57.174+05:30 [Info] Using greedy index placement for index 1029987654
2022-08-01T22:11:57.176+05:30 [Info] Using greedy index placement for index 1030987654
2022-08-01T22:11:57.178+05:30 [Info] Using greedy index placement for index 1031987654
2022-08-01T22:11:57.179+05:30 [Info] Using greedy index placement for index 1032987654
2022-08-01T22:11:57.181+05:30 [Info] Using greedy index placement for index 1033987654
2022-08-01T22:11:57.183+05:30 [Info] Using greedy index placement for index 1034987654
2022-08-01T22:11:57.185+05:30 [Info] Using greedy index placement for index 1035987654
2022-08-01T22:11:57.187+05:30 [Info] Using greedy index placement for index 1036987654
2022-08-01T22:11:57.189+05:30 [Info] Using greedy index placement for index 1037987654
2022-08-01T22:11:57.191+05:30 [Info] Using greedy index placement for index 1038987654
2022-08-01T22:11:57.192+05:30 [Info] Using greedy index placement for index 1039987654
2022-08-01T22:11:57.194+05:30 [Info] Using greedy index placement for index 1040987654
2022-08-01T22:11:57.196+05:30 [Info] Using greedy index placement for index 1041987654
2022-08-01T22:11:57.197+05:30 [Info] Using greedy index placement for index 1042987654
2022-08-01T22:11:57.199+05:30 [Info] Using greedy index placement for index 1043987654
2022-08-01T22:11:57.201+05:30 [Info] Using greedy index placement for index 1044987654
2022-08-01T22:11:57.203+05:30 [Info] Using greedy index placement for index 1045987654
2022-08-01T22:11:57.204+05:30 [Info] Using greedy index placement for index 1046987654
2022-08-01T22:11:57.206+05:30 [Info] Using greedy index placement for index 1047987654
2022-08-01T22:11:57.208+05:30 [Info] Using greedy index placement for index 1048987654
2022-08-01T22:11:57.210+05:30 [Info] Using greedy index placement for index 1049987654
2022-08-01T22:11:57.211+05:30 [Info] Using greedy index placement for index 1050987654
2022-08-01T22:11:57.213+05:30 [Info] Using greedy index placement for index 1051987654
2022-08-01T22:11:57.215+05:30 [Info] Using greedy index placement for index 1052987654
2022-08-01T22:11:57.217+05:30 [Info] Using greedy index placement for index 1053987654
2022-08-01T22:11:57.219+05:30 [Info] Using greedy index placement for index 1054987654
2022-08-01T22:11:57.220+05:30 [Info] Using greedy index placement for index 1055987654
2022-08-01T22:11:57.222+05:30 [Info] Using greedy index placement for index 1056987654
2022-08-01T22:11:57.224+05:30 [Info] Using greedy index placement for index 1057987654
2022-08-01T22:11:57.226+05:30 [Info] Using greedy index placement for index 1058987654
2022-08-01T22:11:57.227+05:30 [Info] Using greedy index placement for index 1059987654
2022-08-01T22:11:57.228+05:30 [Info] Actual variance of deferred index count across nodes is 648
--- PASS: TestGreedyPlanner (0.46s)
=== RUN   TestRestfulAPI
2022/08/01 22:11:57 In TestRestfulAPI()
2022/08/01 22:11:57 In DropAllSecondaryIndexes()
2022/08/01 22:11:57 Index found:  indexmut_1
2022/08/01 22:11:57 Dropped index indexmut_1
2022/08/01 22:11:57 Setting JSON docs in KV
2022/08/01 22:11:58 GET all indexes
2022/08/01 22:11:58 200 OK
2022/08/01 22:11:58 FOUND indexes: []
2022/08/01 22:11:58 DROP index: badindexid
2022/08/01 22:11:58 status: 400 Bad Request
2022/08/01 22:11:58 DROP index: 23544142
2022/08/01 22:11:58 status: 500 Internal Server Error
2022/08/01 22:11:58 TEST: malformed body
2022/08/01 22:11:58 400 Bad Request "invalid request body ({name:), unmarshal failed invalid character 'n' looking for beginning of object key string"

2022/08/01 22:11:58 TEST: missing field ``name``
2022/08/01 22:11:58 400 Bad Request "missing field name"
2022/08/01 22:11:58 TEST: empty field ``name``
2022/08/01 22:11:58 400 Bad Request "empty field name"
2022/08/01 22:11:58 TEST: missing field ``bucket``
2022/08/01 22:11:58 400 Bad Request "missing field bucket"
2022/08/01 22:11:58 TEST: empty field ``bucket``
2022/08/01 22:11:58 400 Bad Request "empty field bucket"
2022/08/01 22:11:58 TEST: missing field ``secExprs``
2022/08/01 22:11:58 400 Bad Request "missing field secExprs"
2022/08/01 22:11:58 TEST: empty field ``secExprs``
2022/08/01 22:11:58 400 Bad Request "empty field secExprs"
2022/08/01 22:11:58 TEST: incomplete field ``desc``
2022/08/01 22:11:58 400 Bad Request "incomplete desc information [true]"
2022/08/01 22:11:58 TEST: invalid field ``desc``
2022/08/01 22:11:58 400 Bad Request "incomplete desc information [1]"
2022/08/01 22:11:58 
2022/08/01 22:11:58 CREATE INDEX: idx1
2022/08/01 22:12:09 status : 201 Created
2022/08/01 22:12:09 {"id": "9553805001327233237"} 
2022/08/01 22:12:09 CREATE INDEX: idx2 (defer)
2022/08/01 22:12:09 status : 201 Created
2022/08/01 22:12:09 {"id": "232402656022999792"} 
2022/08/01 22:12:09 CREATE INDEX: idx3 (defer)
2022/08/01 22:12:09 status : 201 Created
2022/08/01 22:12:09 {"id": "4718184121877294083"} 
2022/08/01 22:12:09 CREATE INDEX: idx4 (defer)
2022/08/01 22:12:09 status : 201 Created
2022/08/01 22:12:09 {"id": "3276006452718262422"} 
2022/08/01 22:12:09 CREATE INDEX: idx5
2022/08/01 22:12:20 status : 201 Created
2022/08/01 22:12:20 {"id": "6623439145569685664"} 
2022/08/01 22:12:20 BUILD single deferred index
2022/08/01 22:12:21 202 Accepted
2022/08/01 22:12:21 GET all indexes
2022/08/01 22:12:21 200 OK
2022/08/01 22:12:21 index idx1 in INDEX_STATE_ACTIVE
2022/08/01 22:12:21 GET all indexes
2022/08/01 22:12:21 200 OK
2022/08/01 22:12:21 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:22 GET all indexes
2022/08/01 22:12:22 200 OK
2022/08/01 22:12:22 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:23 GET all indexes
2022/08/01 22:12:23 200 OK
2022/08/01 22:12:23 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:24 GET all indexes
2022/08/01 22:12:24 200 OK
2022/08/01 22:12:24 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:25 GET all indexes
2022/08/01 22:12:25 200 OK
2022/08/01 22:12:25 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:26 GET all indexes
2022/08/01 22:12:26 200 OK
2022/08/01 22:12:26 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:27 GET all indexes
2022/08/01 22:12:27 200 OK
2022/08/01 22:12:27 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:28 GET all indexes
2022/08/01 22:12:28 200 OK
2022/08/01 22:12:28 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:29 GET all indexes
2022/08/01 22:12:29 200 OK
2022/08/01 22:12:29 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:30 GET all indexes
2022/08/01 22:12:30 200 OK
2022/08/01 22:12:30 index idx2 in INDEX_STATE_INITIAL
2022/08/01 22:12:31 GET all indexes
2022/08/01 22:12:31 200 OK
2022/08/01 22:12:31 index idx2 in INDEX_STATE_CATCHUP
2022/08/01 22:12:32 GET all indexes
2022/08/01 22:12:32 200 OK
2022/08/01 22:12:32 index idx2 in INDEX_STATE_ACTIVE
2022/08/01 22:12:32 BUILD many deferred index
2022/08/01 22:12:32 202 Accepted 
2022/08/01 22:12:32 GET all indexes
2022/08/01 22:12:32 200 OK
2022/08/01 22:12:32 index idx1 in INDEX_STATE_ACTIVE
2022/08/01 22:12:32 GET all indexes
2022/08/01 22:12:32 200 OK
2022/08/01 22:12:32 index idx2 in INDEX_STATE_ACTIVE
2022/08/01 22:12:32 GET all indexes
2022/08/01 22:12:32 200 OK
2022/08/01 22:12:32 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:33 GET all indexes
2022/08/01 22:12:33 200 OK
2022/08/01 22:12:33 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:35 GET all indexes
2022/08/01 22:12:35 200 OK
2022/08/01 22:12:35 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:36 GET all indexes
2022/08/01 22:12:36 200 OK
2022/08/01 22:12:36 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:37 GET all indexes
2022/08/01 22:12:37 200 OK
2022/08/01 22:12:37 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:38 GET all indexes
2022/08/01 22:12:38 200 OK
2022/08/01 22:12:38 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:39 GET all indexes
2022/08/01 22:12:39 200 OK
2022/08/01 22:12:39 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:40 GET all indexes
2022/08/01 22:12:40 200 OK
2022/08/01 22:12:40 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:41 GET all indexes
2022/08/01 22:12:41 200 OK
2022/08/01 22:12:41 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:42 GET all indexes
2022/08/01 22:12:42 200 OK
2022/08/01 22:12:42 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:43 GET all indexes
2022/08/01 22:12:43 200 OK
2022/08/01 22:12:43 index idx3 in INDEX_STATE_INITIAL
2022/08/01 22:12:44 GET all indexes
2022/08/01 22:12:44 200 OK
2022/08/01 22:12:44 index idx3 in INDEX_STATE_CATCHUP
2022/08/01 22:12:45 GET all indexes
2022/08/01 22:12:45 200 OK
2022/08/01 22:12:45 index idx3 in INDEX_STATE_ACTIVE
2022/08/01 22:12:45 GET all indexes
2022/08/01 22:12:45 200 OK
2022/08/01 22:12:45 index idx4 in INDEX_STATE_ACTIVE
2022/08/01 22:12:45 GET all indexes
2022/08/01 22:12:45 200 OK
2022/08/01 22:12:45 index idx5 in INDEX_STATE_ACTIVE
2022/08/01 22:12:45 GET all indexes
2022/08/01 22:12:45 200 OK
2022/08/01 22:12:45 CREATED indexes: [9553805001327233237 232402656022999792 4718184121877294083 3276006452718262422 6623439145569685664]
2022/08/01 22:12:45 
2022/08/01 22:12:45 LOOKUP missing index
2022/08/01 22:12:45 status : 404 Not Found
2022/08/01 22:12:45 LOOKUP Pyongyang
2022/08/01 22:12:45 status : 200 OK
2022/08/01 22:12:45 number of entries 579
2022/08/01 22:12:45 Expected and Actual scan responses are the same
2022/08/01 22:12:45 LOOKUP with stale as false
2022/08/01 22:12:45 status : 200 OK
2022/08/01 22:12:45 number of entries 579
2022/08/01 22:12:45 Expected and Actual scan responses are the same
2022/08/01 22:12:45 LOOKUP with Rome
2022/08/01 22:12:45 status : 200 OK
2022/08/01 22:12:45 number of entries 552
2022/08/01 22:12:45 Expected and Actual scan responses are the same
2022/08/01 22:12:45 RANGE missing index
2022/08/01 22:12:45 Status : 404 Not Found
2022/08/01 22:12:45 RANGE cities - none
2022/08/01 22:12:45 Status : 200 OK
2022/08/01 22:12:50 number of entries 140902
2022/08/01 22:12:51 Expected and Actual scan responses are the same
2022/08/01 22:12:51 RANGE cities -low
2022/08/01 22:12:51 Status : 200 OK
2022/08/01 22:12:55 number of entries 140902
2022/08/01 22:12:56 Expected and Actual scan responses are the same
2022/08/01 22:12:56 RANGE cities -high
2022/08/01 22:12:56 Status : 200 OK
2022/08/01 22:13:00 number of entries 140902
2022/08/01 22:13:01 Expected and Actual scan responses are the same
2022/08/01 22:13:01 RANGE cities - both
2022/08/01 22:13:01 Status : 200 OK
2022/08/01 22:13:06 number of entries 140902
2022/08/01 22:13:07 Expected and Actual scan responses are the same
2022/08/01 22:13:07 RANGE missing cities
2022/08/01 22:13:07 Status : 200 OK
2022/08/01 22:13:07 number of entries 0
2022/08/01 22:13:07 Expected and Actual scan responses are the same
2022/08/01 22:13:07 
2022/08/01 22:13:07 SCANALL missing index
2022/08/01 22:13:07 {"limit":1000000,"stale":"ok"}
2022/08/01 22:13:07 Status : 404 Not Found
2022/08/01 22:13:07 SCANALL stale ok
2022/08/01 22:13:07 {"limit":1000000,"stale":"ok"}
2022/08/01 22:13:07 Status : 200 OK
2022/08/01 22:13:12 number of entries 140902
2022/08/01 22:13:13 Expected and Actual scan responses are the same
2022/08/01 22:13:13 SCANALL stale false
2022/08/01 22:13:13 {"limit":1000000,"stale":"false"}
2022/08/01 22:13:13 Status : 200 OK
2022/08/01 22:13:17 number of entries 140902
2022/08/01 22:13:17 Expected and Actual scan responses are the same
2022/08/01 22:13:17 
2022/08/01 22:13:17 COUNT missing index
2022/08/01 22:13:17 Status : 404 Not Found
2022/08/01 22:13:17 COUNT cities - none
2022/08/01 22:13:17 Status : 200 OK
2022/08/01 22:13:17 number of entries 140902
2022/08/01 22:13:18 COUNT cities -low
2022/08/01 22:13:18 Status : 200 OK
2022/08/01 22:13:18 number of entries 140902
2022/08/01 22:13:18 COUNT cities -high
2022/08/01 22:13:18 Status : 200 OK
2022/08/01 22:13:18 number of entries 140902
2022/08/01 22:13:18 COUNT cities - both
2022/08/01 22:13:18 Status : 200 OK
2022/08/01 22:13:18 number of entries 140902
2022/08/01 22:13:18 COUNT missing cities
2022/08/01 22:13:18 Status : 200 OK
2022/08/01 22:13:18 number of entries 0
2022/08/01 22:13:19 
2022/08/01 22:13:20 STATS: Testing URLs with valid authentication
2022/08/01 22:13:20 STATS: Testing URLs with invalid authentication
2022/08/01 22:13:20 STATS: Testing invalid URLs
2022/08/01 22:13:20 STATS: Testing unsupported methods
2022/08/01 22:13:20 
--- PASS: TestRestfulAPI (83.05s)
=== RUN   TestStatIndexInstFilter
2022/08/01 22:13:20 CREATE INDEX: statIdx1
2022/08/01 22:13:31 status : 201 Created
2022/08/01 22:13:31 {"id": "7561686775451336786"} 
2022/08/01 22:13:31 CREATE INDEX: statIdx2
2022/08/01 22:13:41 status : 201 Created
2022/08/01 22:13:41 {"id": "1596165416003741154"} 
2022/08/01 22:13:41 Instance Id for statIdx2 is 9159763499341940030, common.IndexInstId
--- PASS: TestStatIndexInstFilter (21.44s)
=== RUN   TestBucketDefaultDelete
2022-08-01T22:13:41.843+05:30 [Warn] Client:runObserveStreamingEndpoint streaming endpoint for /pools/default/bs/default returned err EOF
2022-08-01T22:13:41.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/08/01 22:13:43 Deleted bucket default, responseBody: 
2022/08/01 22:13:58 Created bucket default, responseBody: 
2022/08/01 22:14:14 Populating the default bucket
2022/08/01 22:14:22 Using n1ql client
2022-08-01T22:14:22.317+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:14:22.317+05:30 [Info] GSIC[default/default-_default-_default-1659372262315713093] started ...
2022/08/01 22:14:22 Scan failed as expected with error: Index Not Found - cause: GSI index index_isActive not found.
2022/08/01 22:14:22 Populating the default bucket after it was deleted
2022/08/01 22:14:31 Created the secondary index index_isActive. Waiting for it become active
2022/08/01 22:14:31 Index is 15332961004352659497 now active
2022/08/01 22:14:31 Using n1ql client
2022/08/01 22:14:31 Expected and Actual scan responses are the same
--- PASS: TestBucketDefaultDelete (49.59s)
=== RUN   TestMixedDatatypesScanAll
2022/08/01 22:14:31 In TestMixedDatatypesScanAll()
2022/08/01 22:14:31 Before test begin: Length of kv docs is 10002
2022/08/01 22:14:31 In DropAllSecondaryIndexes()
2022/08/01 22:14:31 Index found:  index_isActive
2022/08/01 22:14:31 Dropped index index_isActive
2022/08/01 22:14:31 Number of number fields is: 267
2022/08/01 22:14:31 Number of string fields is: 248
2022/08/01 22:14:31 Number of json fields is: 253
2022/08/01 22:14:31 Number of true bool fields is: 126
2022/08/01 22:14:31 Number of false bool fields is: 106
2022/08/01 22:14:31 After generate docs: Length of kv docs is 11002
2022/08/01 22:14:31 Setting mixed datatypes JSON docs in KV
2022/08/01 22:14:35 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 22:14:35 Index is 2361068766399164835 now active
2022/08/01 22:14:35 Using n1ql client
2022/08/01 22:14:35 Expected and Actual scan responses are the same
2022/08/01 22:14:35 Lengths of expected and actual scan results are:  1000 and 1000
2022/08/01 22:14:35 End: Length of kv docs is 11002
--- PASS: TestMixedDatatypesScanAll (4.44s)
=== RUN   TestMixedDatatypesRange_Float
2022/08/01 22:14:35 In TestMixedDatatypesRange_Float()
2022/08/01 22:14:35 In DropAllSecondaryIndexes()
2022/08/01 22:14:35 Index found:  index_mixeddt
2022/08/01 22:14:35 Dropped index index_mixeddt
2022/08/01 22:14:36 Number of number fields is: 241
2022/08/01 22:14:36 Number of string fields is: 250
2022/08/01 22:14:36 Number of json fields is: 253
2022/08/01 22:14:36 Number of true bool fields is: 136
2022/08/01 22:14:36 Number of false bool fields is: 120
2022/08/01 22:14:36 Setting mixed datatypes JSON docs in KV
2022/08/01 22:14:40 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 22:14:40 Index is 15059329546510516376 now active
2022/08/01 22:14:40 Using n1ql client
2022/08/01 22:14:40 Expected and Actual scan responses are the same
2022/08/01 22:14:40 Lengths of expected and actual scan results are:  16 and 16
2022/08/01 22:14:40 Using n1ql client
2022/08/01 22:14:40 Expected and Actual scan responses are the same
2022/08/01 22:14:40 Lengths of expected and actual scan results are:  1 and 1
2022/08/01 22:14:40 Length of kv docs is 12002
--- PASS: TestMixedDatatypesRange_Float (4.84s)
=== RUN   TestMixedDatatypesRange_String
2022/08/01 22:14:40 In TestMixedDatatypesRange_String()
2022/08/01 22:14:40 In DropAllSecondaryIndexes()
2022/08/01 22:14:40 Index found:  index_mixeddt
2022/08/01 22:14:40 Dropped index index_mixeddt
2022/08/01 22:14:40 Number of number fields is: 272
2022/08/01 22:14:40 Number of string fields is: 245
2022/08/01 22:14:40 Number of json fields is: 237
2022/08/01 22:14:40 Number of true bool fields is: 126
2022/08/01 22:14:40 Number of false bool fields is: 120
2022/08/01 22:14:40 Setting mixed datatypes JSON docs in KV
2022/08/01 22:14:45 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 22:14:45 Index is 10782937620146036826 now active
2022/08/01 22:14:45 Using n1ql client
2022/08/01 22:14:45 Expected and Actual scan responses are the same
2022/08/01 22:14:45 Lengths of expected and actual scan results are:  203 and 203
2022/08/01 22:14:45 Length of kv docs is 13002
--- PASS: TestMixedDatatypesRange_String (4.82s)
=== RUN   TestMixedDatatypesRange_Json
2022/08/01 22:14:45 In TestMixedDatatypesRange_Json()
2022/08/01 22:14:45 In DropAllSecondaryIndexes()
2022/08/01 22:14:45 Index found:  index_mixeddt
2022/08/01 22:14:45 Dropped index index_mixeddt
2022/08/01 22:14:45 Number of number fields is: 272
2022/08/01 22:14:45 Number of string fields is: 238
2022/08/01 22:14:45 Number of json fields is: 234
2022/08/01 22:14:45 Number of true bool fields is: 136
2022/08/01 22:14:45 Number of false bool fields is: 120
2022/08/01 22:14:45 Setting mixed datatypes JSON docs in KV
2022/08/01 22:14:49 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 22:14:49 Index is 16451699391346318134 now active
2022/08/01 22:14:49 Using n1ql client
2022/08/01 22:14:49 Expected and Actual scan responses are the same
2022/08/01 22:14:49 Lengths of expected and actual scan results are:  724 and 724
2022/08/01 22:14:49 Length of kv docs is 14002
--- PASS: TestMixedDatatypesRange_Json (4.58s)
=== RUN   TestMixedDatatypesScan_Bool
2022/08/01 22:14:49 In TestMixedDatatypesScan_Bool()
2022/08/01 22:14:49 In DropAllSecondaryIndexes()
2022/08/01 22:14:49 Index found:  index_mixeddt
2022/08/01 22:14:50 Dropped index index_mixeddt
2022/08/01 22:14:50 Number of number fields is: 282
2022/08/01 22:14:50 Number of string fields is: 216
2022/08/01 22:14:50 Number of json fields is: 248
2022/08/01 22:14:50 Number of true bool fields is: 149
2022/08/01 22:14:50 Number of false bool fields is: 105
2022/08/01 22:14:50 Setting mixed datatypes JSON docs in KV
2022/08/01 22:14:54 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 22:14:54 Index is 1615287618236464821 now active
2022/08/01 22:14:54 Using n1ql client
2022/08/01 22:14:54 Expected and Actual scan responses are the same
2022/08/01 22:14:54 Lengths of expected and actual scan results are:  547 and 547
2022/08/01 22:14:54 Using n1ql client
2022/08/01 22:14:54 Expected and Actual scan responses are the same
2022/08/01 22:14:54 Lengths of expected and actual scan results are:  465 and 465
2022/08/01 22:14:54 Length of kv docs is 15002
--- PASS: TestMixedDatatypesScan_Bool (4.67s)
=== RUN   TestLargeSecondaryKeyLength
2022/08/01 22:14:54 In TestLargeSecondaryKeyLength()
2022/08/01 22:14:54 In DropAllSecondaryIndexes()
2022/08/01 22:14:54 Index found:  index_mixeddt
2022/08/01 22:14:54 Dropped index index_mixeddt
2022/08/01 22:14:55 Setting JSON docs in KV
2022/08/01 22:14:59 Created the secondary index index_LongSecField. Waiting for it become active
2022/08/01 22:14:59 Index is 14481361801573143298 now active
2022/08/01 22:14:59 Using n1ql client
2022/08/01 22:14:59 ScanAll: Lengths of expected and actual scan results are:  1000 and 1000
2022/08/01 22:14:59 Expected and Actual scan responses are the same
2022/08/01 22:14:59 Using n1ql client
2022/08/01 22:14:59 Range: Lengths of expected and actual scan results are:  818 and 818
2022/08/01 22:14:59 Expected and Actual scan responses are the same
2022/08/01 22:14:59 End: Length of kv docs is 16002
--- PASS: TestLargeSecondaryKeyLength (5.34s)
=== RUN   TestLargePrimaryKeyLength
2022/08/01 22:14:59 In TestLargePrimaryKeyLength()
2022/08/01 22:14:59 In DropAllSecondaryIndexes()
2022/08/01 22:14:59 Index found:  index_LongSecField
2022/08/01 22:15:00 Dropped index index_LongSecField
2022/08/01 22:15:00 Setting JSON docs in KV
2022/08/01 22:15:04 Created the secondary index index_LongPrimaryField. Waiting for it become active
2022/08/01 22:15:04 Index is 8452646211178575307 now active
2022/08/01 22:15:04 Using n1ql client
2022/08/01 22:15:06 Lengths of num of docs and scanResults are:  17002 and 17002
2022/08/01 22:15:06 End: Length of kv docs is 17002
--- PASS: TestLargePrimaryKeyLength (6.36s)
=== RUN   TestUpdateMutations_DeleteField
2022/08/01 22:15:06 In TestUpdateMutations_DeleteField()
2022/08/01 22:15:06 Setting JSON docs in KV
2022/08/01 22:15:13 Created the secondary index index_bal. Waiting for it become active
2022/08/01 22:15:13 Index is 1388544115229774008 now active
2022/08/01 22:15:13 Using n1ql client
2022/08/01 22:15:13 Expected and Actual scan responses are the same
2022/08/01 22:15:13 Using n1ql client
2022/08/01 22:15:13 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_DeleteField (7.17s)
=== RUN   TestUpdateMutations_AddField
2022/08/01 22:15:13 In TestUpdateMutations_AddField()
2022/08/01 22:15:13 Setting JSON docs in KV
2022/08/01 22:15:19 Created the secondary index index_newField. Waiting for it become active
2022/08/01 22:15:19 Index is 17080604150698589550 now active
2022/08/01 22:15:19 Using n1ql client
2022/08/01 22:15:19 Count of scan results before add field mutations:  0
2022/08/01 22:15:19 Expected and Actual scan responses are the same
2022/08/01 22:15:20 Using n1ql client
2022/08/01 22:15:20 Count of scan results after add field mutations:  300
2022/08/01 22:15:20 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_AddField (6.53s)
=== RUN   TestUpdateMutations_DataTypeChange
2022/08/01 22:15:20 In TestUpdateMutations_DataTypeChange()
2022/08/01 22:15:20 Setting JSON docs in KV
2022/08/01 22:15:28 Created the secondary index index_isUserActive. Waiting for it become active
2022/08/01 22:15:28 Index is 15897058323787587995 now active
2022/08/01 22:15:28 Using n1ql client
2022/08/01 22:15:28 Expected and Actual scan responses are the same
2022/08/01 22:15:28 Using n1ql client
2022/08/01 22:15:28 Expected and Actual scan responses are the same
2022/08/01 22:15:28 Using n1ql client
2022/08/01 22:15:28 Expected and Actual scan responses are the same
2022/08/01 22:15:28 Using n1ql client
2022/08/01 22:15:28 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_DataTypeChange (8.69s)
=== RUN   TestMultipleBuckets
2022/08/01 22:15:28 In TestMultipleBuckets()
2022/08/01 22:15:28 In DropAllSecondaryIndexes()
2022/08/01 22:15:28 Index found:  index_newField
2022/08/01 22:15:28 Dropped index index_newField
2022/08/01 22:15:28 Index found:  index_bal
2022/08/01 22:15:28 Dropped index index_bal
2022/08/01 22:15:28 Index found:  index_LongPrimaryField
2022/08/01 22:15:28 Dropped index index_LongPrimaryField
2022/08/01 22:15:28 Index found:  index_isUserActive
2022/08/01 22:15:29 Dropped index index_isUserActive
2022/08/01 22:16:05 Flushed the bucket default, Response body: 
2022/08/01 22:16:08 Modified parameters of bucket default, responseBody: 
2022/08/01 22:16:08 Created bucket testbucket2, responseBody: 
2022/08/01 22:16:08 Created bucket testbucket3, responseBody: 
2022/08/01 22:16:09 Created bucket testbucket4, responseBody: 
2022/08/01 22:16:24 Generating docs and Populating all the buckets
2022/08/01 22:16:27 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 22:16:27 Index is 8808982665063297989 now active
2022/08/01 22:16:33 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 22:16:33 Index is 13125500038416656203 now active
2022/08/01 22:16:39 Created the secondary index bucket3_gender. Waiting for it become active
2022/08/01 22:16:39 Index is 1248879035085718039 now active
2022/08/01 22:16:45 Created the secondary index bucket4_balance. Waiting for it become active
2022/08/01 22:16:45 Index is 2474995187173456615 now active
2022/08/01 22:16:48 Using n1ql client
2022/08/01 22:16:48 Expected and Actual scan responses are the same
2022/08/01 22:16:48 Using n1ql client
2022-08-01T22:16:48.732+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:16:48.733+05:30 [Info] GSIC[default/testbucket2-_default-_default-1659372408730223200] started ...
2022/08/01 22:16:48 Expected and Actual scan responses are the same
2022/08/01 22:16:48 Using n1ql client
2022-08-01T22:16:48.741+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:16:48.741+05:30 [Info] GSIC[default/testbucket3-_default-_default-1659372408739241067] started ...
2022/08/01 22:16:48 Expected and Actual scan responses are the same
2022/08/01 22:16:48 Using n1ql client
2022-08-01T22:16:48.753+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:16:48.754+05:30 [Info] GSIC[default/testbucket4-_default-_default-1659372408751619768] started ...
2022/08/01 22:16:48 Expected and Actual scan responses are the same
2022/08/01 22:16:50 Deleted bucket testbucket2, responseBody: 
2022/08/01 22:16:52 Deleted bucket testbucket3, responseBody: 
2022/08/01 22:16:54 Deleted bucket testbucket4, responseBody: 
2022/08/01 22:16:57 Modified parameters of bucket default, responseBody: 
--- PASS: TestMultipleBuckets (104.10s)
=== RUN   TestBucketFlush
2022/08/01 22:17:12 In TestBucketFlush()
2022/08/01 22:17:12 In DropAllSecondaryIndexes()
2022/08/01 22:17:12 Index found:  bucket1_age
2022/08/01 22:17:12 Dropped index bucket1_age
2022/08/01 22:17:50 Flushed the bucket default, Response body: 
2022/08/01 22:17:54 Created the secondary index index_age. Waiting for it become active
2022/08/01 22:17:54 Index is 8318133570928194005 now active
2022/08/01 22:17:54 Using n1ql client
2022/08/01 22:17:54 Expected and Actual scan responses are the same
2022/08/01 22:17:59 Created the secondary index index_gender. Waiting for it become active
2022/08/01 22:17:59 Index is 11333785690116822335 now active
2022/08/01 22:17:59 Using n1ql client
2022/08/01 22:17:59 Expected and Actual scan responses are the same
2022/08/01 22:18:03 Created the secondary index index_city. Waiting for it become active
2022/08/01 22:18:03 Index is 6605063319826238390 now active
2022/08/01 22:18:03 Using n1ql client
2022/08/01 22:18:03 Expected and Actual scan responses are the same
2022/08/01 22:18:41 Flushed the bucket default, Response body: 
2022/08/01 22:18:41 TestBucketFlush:: Flushed the bucket
2022/08/01 22:18:41 Using n1ql client
2022/08/01 22:18:41 Using n1ql client
2022/08/01 22:18:41 Using n1ql client
--- PASS: TestBucketFlush (88.28s)
=== RUN   TestLargeDocumentSize
2022/08/01 22:18:41 In TestLargeDocumentSize()
2022/08/01 22:18:41 Data file exists. Skipping download
2022/08/01 22:18:41 Length of docs and largeDocs = 200 and 200
2022/08/01 22:18:45 Created the secondary index index_userscreenname. Waiting for it become active
2022/08/01 22:18:45 Index is 17146233463166531850 now active
2022/08/01 22:18:45 Using n1ql client
2022/08/01 22:18:45 Expected and Actual scan responses are the same
--- PASS: TestLargeDocumentSize (4.53s)
=== RUN   TestFieldsWithSpecialCharacters
2022/08/01 22:18:45 In TestFieldsWithSpecialCharacters()
2022/08/01 22:18:50 Created the secondary index index_specialchar. Waiting for it become active
2022/08/01 22:18:50 Index is 3631523068477729326 now active
2022/08/01 22:18:50 Looking up for value ƒ™®£€z†
2022/08/01 22:18:50 Using n1ql client
2022/08/01 22:18:50 Expected and Actual scan responses are the same
--- PASS: TestFieldsWithSpecialCharacters (5.19s)
=== RUN   TestLargeKeyLookup
2022/08/01 22:18:50 In TestLargeKeyLookup()
2022/08/01 22:18:57 Created the secondary index index_largeKeyLookup. Waiting for it become active
2022/08/01 22:18:57 Index is 14857647017707040606 now active
2022/08/01 22:18:57 Looking up for a large key
2022/08/01 22:18:57 Using n1ql client
2022/08/01 22:18:57 Expected and Actual scan responses are the same
--- PASS: TestLargeKeyLookup (6.25s)
=== RUN   TestIndexNameValidation
2022/08/01 22:18:57 In TestIndexNameValidation()
2022/08/01 22:18:57 Setting JSON docs in KV
2022/08/01 22:18:58 Creation of index with invalid name ÌñÐÉx&(abc_% failed as expected
2022/08/01 22:19:02 Created the secondary index #primary-Index_test. Waiting for it become active
2022/08/01 22:19:02 Index is 5087105741616224960 now active
2022/08/01 22:19:02 Using n1ql client
2022/08/01 22:19:02 Expected and Actual scan responses are the same
--- PASS: TestIndexNameValidation (5.51s)
=== RUN   TestSameFieldNameAtDifferentLevels
2022/08/01 22:19:02 In TestSameFieldNameAtDifferentLevels()
2022/08/01 22:19:02 Setting JSON docs in KV
2022/08/01 22:19:08 Created the secondary index cityindex. Waiting for it become active
2022/08/01 22:19:08 Index is 8460684131586411902 now active
2022/08/01 22:19:08 Using n1ql client
2022/08/01 22:19:08 Expected and Actual scan responses are the same
--- PASS: TestSameFieldNameAtDifferentLevels (5.80s)
=== RUN   TestSameIndexNameInTwoBuckets
2022/08/01 22:19:08 In TestSameIndexNameInTwoBuckets()
2022/08/01 22:19:08 In DropAllSecondaryIndexes()
2022/08/01 22:19:08 Index found:  index_specialchar
2022/08/01 22:19:08 Dropped index index_specialchar
2022/08/01 22:19:08 Index found:  index_largeKeyLookup
2022/08/01 22:19:08 Dropped index index_largeKeyLookup
2022/08/01 22:19:08 Index found:  #primary-Index_test
2022/08/01 22:19:08 Dropped index #primary-Index_test
2022/08/01 22:19:08 Index found:  cityindex
2022/08/01 22:19:08 Dropped index cityindex
2022/08/01 22:19:08 Index found:  index_userscreenname
2022/08/01 22:19:08 Dropped index index_userscreenname
2022/08/01 22:19:08 Index found:  index_gender
2022/08/01 22:19:08 Dropped index index_gender
2022/08/01 22:19:08 Index found:  index_city
2022/08/01 22:19:08 Dropped index index_city
2022/08/01 22:19:08 Index found:  index_age
2022/08/01 22:19:08 Dropped index index_age
2022/08/01 22:19:46 Flushed the bucket default, Response body: 
2022/08/01 22:19:49 Modified parameters of bucket default, responseBody: 
2022/08/01 22:19:49 Created bucket buck2, responseBody: 
2022/08/01 22:20:04 Generating docs and Populating all the buckets
2022/08/01 22:20:08 Created the secondary index b_idx. Waiting for it become active
2022/08/01 22:20:08 Index is 3721722747389574996 now active
2022/08/01 22:20:14 Created the secondary index b_idx. Waiting for it become active
2022/08/01 22:20:14 Index is 10528811992479505285 now active
2022/08/01 22:20:17 Using n1ql client
2022/08/01 22:20:17 Expected and Actual scan responses are the same
2022/08/01 22:20:17 Using n1ql client
2022-08-01T22:20:17.852+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:20:17.852+05:30 [Info] GSIC[default/buck2-_default-_default-1659372617849100428] started ...
2022/08/01 22:20:17 Expected and Actual scan responses are the same
2022/08/01 22:20:20 Modified parameters of bucket default, responseBody: 
2022/08/01 22:20:23 Deleted bucket buck2, responseBody: 
--- PASS: TestSameIndexNameInTwoBuckets (89.72s)
=== RUN   TestLargeKeysSplChars
2022/08/01 22:20:38 In TestLargeKeysSplChars()
2022/08/01 22:20:47 Created the secondary index idspl1. Waiting for it become active
2022/08/01 22:20:47 Index is 10045672753326340625 now active
2022/08/01 22:20:53 Created the secondary index idspl2. Waiting for it become active
2022/08/01 22:20:53 Index is 8192150485292134600 now active
2022/08/01 22:20:57 Created the secondary index idspl3. Waiting for it become active
2022/08/01 22:20:57 Index is 39197773510318585 now active
2022/08/01 22:20:57 Using n1ql client
2022/08/01 22:20:57 Expected and Actual scan responses are the same
2022-08-01T22:20:57.737+05:30 [Error] transport error between 127.0.0.1:39076->127.0.0.1:9107: write tcp 127.0.0.1:39076->127.0.0.1:9107: write: broken pipe
2022-08-01T22:20:57.737+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:39076->127.0.0.1:9107: write: broken pipe`
2022-08-01T22:20:57.738+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T22:20:57.738+05:30 [Error] metadataClient:PickRandom: Replicas - [10448968345331151789], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 22:20:58 Expected and Actual scan responses are the same
2022/08/01 22:20:58 Using n1ql client
2022/08/01 22:20:58 Expected and Actual scan responses are the same
--- PASS: TestLargeKeysSplChars (20.02s)
=== RUN   TestVeryLargeIndexKey
2022/08/01 22:20:58 In DropAllSecondaryIndexes()
2022/08/01 22:20:58 Index found:  idspl2
2022/08/01 22:20:58 Dropped index idspl2
2022/08/01 22:20:58 Index found:  idspl3
2022/08/01 22:20:58 Dropped index idspl3
2022/08/01 22:20:58 Index found:  b_idx
2022/08/01 22:20:58 Dropped index b_idx
2022/08/01 22:20:58 Index found:  idspl1
2022/08/01 22:20:58 Dropped index idspl1
2022/08/01 22:21:36 Flushed the bucket default, Response body: 
2022/08/01 22:21:36 TestVeryLargeIndexKey:: Flushed the bucket
2022/08/01 22:21:36 clusterconfig.KVAddress = 127.0.0.1:9000
2022/08/01 22:21:41 Created the secondary index i1. Waiting for it become active
2022/08/01 22:21:41 Index is 11643838954462551990 now active
2022/08/01 22:21:41 Using n1ql client
2022/08/01 22:21:41 Expected and Actual scan responses are the same
2022/08/01 22:21:46 Created the secondary index i2. Waiting for it become active
2022/08/01 22:21:46 Index is 1089954696301238936 now active
2022/08/01 22:21:46 Using n1ql client
2022/08/01 22:21:47 Expected and Actual scan responses are the same
2022/08/01 22:21:47 In DropAllSecondaryIndexes()
2022/08/01 22:21:47 Index found:  i2
2022/08/01 22:21:47 Dropped index i2
2022/08/01 22:21:47 Index found:  i1
2022/08/01 22:21:47 Dropped index i1
2022/08/01 22:22:25 Flushed the bucket default, Response body: 
--- PASS: TestVeryLargeIndexKey (87.40s)
=== RUN   TestTempBufScanResult
2022/08/01 22:22:25 In DropAllSecondaryIndexes()
2022/08/01 22:23:03 Flushed the bucket default, Response body: 
2022/08/01 22:23:03 TestTempBufScanResult:: Flushed the bucket
2022/08/01 22:23:06 Created the secondary index index_idxKey. Waiting for it become active
2022/08/01 22:23:06 Index is 9019587134776560646 now active
2022/08/01 22:23:06 Using n1ql client
2022/08/01 22:23:07 Expected and Actual scan responses are the same
2022/08/01 22:23:07 In DropAllSecondaryIndexes()
2022/08/01 22:23:07 Index found:  index_idxKey
2022/08/01 22:23:07 Dropped index index_idxKey
2022/08/01 22:23:45 Flushed the bucket default, Response body: 
--- PASS: TestTempBufScanResult (80.28s)
=== RUN   TestBuildDeferredAnotherBuilding
2022/08/01 22:23:45 In TestBuildDeferredAnotherBuilding()
2022/08/01 22:23:45 In DropAllSecondaryIndexes()
2022/08/01 22:24:27 Setting JSON docs in KV
2022/08/01 22:26:09 Build the deferred index id_age1. Waiting for the index to become active
2022/08/01 22:26:09 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:10 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:11 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:12 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:13 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:14 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:15 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:16 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:17 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:18 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:19 Waiting for index 4756007400844725285 to go active ...
2022/08/01 22:26:20 Index is 4756007400844725285 now active
2022/08/01 22:26:20 Build command issued for the deferred indexes [7190209989782323288]
2022/08/01 22:26:22 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/08/01 22:26:22 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:23 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:24 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:25 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:26 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:27 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:28 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:29 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:30 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:31 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:32 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:33 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:34 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:35 Waiting for index 7190209989782323288 to go active ...
2022/08/01 22:26:36 Index is 7190209989782323288 now active
2022/08/01 22:26:36 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:37 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:38 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:39 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:40 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:41 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:42 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:43 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:44 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:45 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:46 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:47 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:48 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:49 Waiting for index 8965034539127675742 to go active ...
2022/08/01 22:26:50 Index is 8965034539127675742 now active
2022/08/01 22:26:50 Using n1ql client
2022/08/01 22:26:50 Expected and Actual scan responses are the same
2022/08/01 22:26:51 Using n1ql client
2022/08/01 22:26:51 Expected and Actual scan responses are the same
--- PASS: TestBuildDeferredAnotherBuilding (185.59s)
=== RUN   TestMultipleBucketsDeferredBuild
2022/08/01 22:26:51 In TestMultipleBucketsDeferredBuild()
2022/08/01 22:26:51 In DropAllSecondaryIndexes()
2022/08/01 22:26:51 Index found:  id_company
2022/08/01 22:26:51 Dropped index id_company
2022/08/01 22:26:51 Index found:  id_age
2022/08/01 22:26:51 Dropped index id_age
2022/08/01 22:26:51 Index found:  id_age1
2022/08/01 22:26:51 Dropped index id_age1
2022/08/01 22:27:28 Flushed the bucket default, Response body: 
2022/08/01 22:27:31 Modified parameters of bucket default, responseBody: 
2022/08/01 22:27:31 http://127.0.0.1:9000/pools/default/buckets/defertest_buck2
2022/08/01 22:27: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/08/01 22:27: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:[Mon, 01 Aug 2022 16:57: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]] 0xc03cbe4a00 31 [] false false map[] 0xc03c4ea800 }
2022/08/01 22:27:31 DeleteBucket failed for bucket defertest_buck2 
2022/08/01 22:27:31 Deleted bucket defertest_buck2, responseBody: Requested resource not found.
2022/08/01 22:27:31 Created bucket defertest_buck2, responseBody: 
2022/08/01 22:27:46 Setting JSON docs in KV
2022/08/01 22:28:51 Build command issued for the deferred indexes [11681817545454339194]
2022/08/01 22:28:52 Build command issued for the deferred indexes [12653283124834314082 11956479483772389258]
2022/08/01 22:28:52 Index state of 11956479483772389258 is INDEX_STATE_READY
2022/08/01 22:28:52 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:28:53 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:28:54 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:28:55 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:28:56 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:28:57 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:28:58 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:28:59 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:29:00 Waiting for index 11681817545454339194 to go active ...
2022/08/01 22:29:01 Index is 11681817545454339194 now active
2022/08/01 22:29:01 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:02 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:03 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:04 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:05 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:06 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:07 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:08 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:09 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:10 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:11 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:12 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:13 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:14 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:15 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:16 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:17 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:18 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:19 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:20 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:21 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:22 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:23 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:24 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:25 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:26 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:27 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:28 Waiting for index 12653283124834314082 to go active ...
2022/08/01 22:29:29 Index is 12653283124834314082 now active
2022/08/01 22:29:29 Using n1ql client
2022/08/01 22:29:29 Expected and Actual scan responses are the same
2022/08/01 22:29:29 Using n1ql client
2022/08/01 22:29:29 Expected and Actual scan responses are the same
2022/08/01 22:29:29 Using n1ql client
2022-08-01T22:29:29.466+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:29:29.467+05:30 [Info] GSIC[default/defertest_buck2-_default-_default-1659373169465051865] started ...
2022/08/01 22:29:29 Expected and Actual scan responses are the same
2022/08/01 22:29:32 Modified parameters of bucket default, responseBody: 
2022/08/01 22:29:34 Deleted bucket defertest_buck2, responseBody: 
--- PASS: TestMultipleBucketsDeferredBuild (168.51s)
=== RUN   TestCreateDropCreateDeferredIndex
2022/08/01 22:29:39 In TestCreateDropCreateDeferredIndex()
2022/08/01 22:29:39 In DropAllSecondaryIndexes()
2022/08/01 22:29:39 Index found:  buck1_id1
2022/08/01 22:29:39 Dropped index buck1_id1
2022/08/01 22:29:39 Index found:  buck1_id2
2022/08/01 22:29:40 Dropped index buck1_id2
2022/08/01 22:29:42 Setting JSON docs in KV
2022/08/01 22:29:53 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:29:53 Index is 7902385661539509971 now active
2022/08/01 22:29:54 Dropping the secondary index id_age
2022/08/01 22:29:54 Index dropped
2022/08/01 22:29:58 Setting JSON docs in KV
2022/08/01 22:30:05 Using n1ql client
2022/08/01 22:30:06 Expected and Actual scan responses are the same
--- PASS: TestCreateDropCreateDeferredIndex (26.12s)
=== RUN   TestMultipleDeferredIndexes_BuildTogether
2022/08/01 22:30:06 In TestMultipleDeferredIndexes_BuildTogether()
2022/08/01 22:30:06 In DropAllSecondaryIndexes()
2022/08/01 22:30:06 Index found:  id_company
2022/08/01 22:30:06 Dropped index id_company
2022/08/01 22:30:08 Setting JSON docs in KV
2022/08/01 22:30:21 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:30:21 Index is 3706152915434345557 now active
2022/08/01 22:30:22 Build command issued for the deferred indexes [id_age id_gender id_isActive]
2022/08/01 22:30:22 Waiting for the index id_age to become active
2022/08/01 22:30:22 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:23 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:24 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:25 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:26 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:27 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:28 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:29 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:30 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:31 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:32 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:33 Waiting for index 10001255277448722469 to go active ...
2022/08/01 22:30:34 Index is 10001255277448722469 now active
2022/08/01 22:30:34 Waiting for the index id_gender to become active
2022/08/01 22:30:34 Index is 10550161064524323413 now active
2022/08/01 22:30:34 Waiting for the index id_isActive to become active
2022/08/01 22:30:34 Index is 6648039020270300890 now active
2022/08/01 22:30:34 Using n1ql client
2022/08/01 22:30:34 Expected and Actual scan responses are the same
2022/08/01 22:30:36 Setting JSON docs in KV
2022/08/01 22:30:44 Using n1ql client
2022/08/01 22:30:45 Expected and Actual scan responses are the same
2022/08/01 22:30:45 Using n1ql client
2022/08/01 22:30:45 Expected and Actual scan responses are the same
--- PASS: TestMultipleDeferredIndexes_BuildTogether (39.67s)
=== RUN   TestMultipleDeferredIndexes_BuildOneByOne
2022/08/01 22:30:45 In TestMultipleDeferredIndexes_BuildOneByOne()
2022/08/01 22:30:45 In DropAllSecondaryIndexes()
2022/08/01 22:30:45 Index found:  id_isActive
2022/08/01 22:30:45 Dropped index id_isActive
2022/08/01 22:30:45 Index found:  id_company
2022/08/01 22:30:45 Dropped index id_company
2022/08/01 22:30:45 Index found:  id_gender
2022/08/01 22:30:46 Dropped index id_gender
2022/08/01 22:30:46 Index found:  id_age
2022/08/01 22:30:46 Dropped index id_age
2022/08/01 22:30:49 Setting JSON docs in KV
2022/08/01 22:31:03 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:31:03 Index is 17544760218167705427 now active
2022/08/01 22:31:05 Build command issued for the deferred indexes [id_age]
2022/08/01 22:31:05 Waiting for the index id_age to become active
2022/08/01 22:31:05 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:06 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:07 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:08 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:09 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:10 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:11 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:12 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:13 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:14 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:15 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:16 Waiting for index 9550236127055094168 to go active ...
2022/08/01 22:31:17 Index is 9550236127055094168 now active
2022/08/01 22:31:17 Build command issued for the deferred indexes [id_gender]
2022/08/01 22:31:17 Waiting for the index id_gender to become active
2022/08/01 22:31:17 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:18 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:19 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:20 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:21 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:22 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:23 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:24 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:25 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:26 Waiting for index 14513180442203581497 to go active ...
2022/08/01 22:31:27 Index is 14513180442203581497 now active
2022/08/01 22:31:27 Build command issued for the deferred indexes [id_isActive]
2022/08/01 22:31:27 Waiting for the index id_isActive to become active
2022/08/01 22:31:27 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:28 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:29 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:30 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:31 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:32 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:33 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:34 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:35 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:36 Waiting for index 14470299010396151609 to go active ...
2022/08/01 22:31:37 Index is 14470299010396151609 now active
2022/08/01 22:31:37 Using n1ql client
2022/08/01 22:31:37 Expected and Actual scan responses are the same
2022/08/01 22:31:39 Setting JSON docs in KV
2022/08/01 22:31:47 Using n1ql client
2022/08/01 22:31:48 Expected and Actual scan responses are the same
2022/08/01 22:31:48 Using n1ql client
2022/08/01 22:31:48 Expected and Actual scan responses are the same
--- PASS: TestMultipleDeferredIndexes_BuildOneByOne (62.91s)
=== RUN   TestDropDeferredIndexWhileOthersBuilding
2022/08/01 22:31:48 In TestDropDeferredIndexWhileOthersBuilding()
2022/08/01 22:31:48 In DropAllSecondaryIndexes()
2022/08/01 22:31:48 Index found:  id_company
2022/08/01 22:31:48 Dropped index id_company
2022/08/01 22:31:48 Index found:  id_age
2022/08/01 22:31:48 Dropped index id_age
2022/08/01 22:31:48 Index found:  id_isActive
2022/08/01 22:31:48 Dropped index id_isActive
2022/08/01 22:31:48 Index found:  id_gender
2022/08/01 22:31:48 Dropped index id_gender
2022/08/01 22:31:51 Setting JSON docs in KV
2022/08/01 22:32:05 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:32:05 Index is 10735367515084287040 now active
2022/08/01 22:32:07 Build command issued for the deferred indexes [9446660808757834010 526981737562568295]
2022/08/01 22:32:09 Dropping the secondary index id_isActive
2022/08/01 22:32:09 Index dropped
2022/08/01 22:32:09 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:10 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:11 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:12 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:13 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:14 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:15 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:16 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:17 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:18 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:19 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:20 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:21 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:22 Waiting for index 9446660808757834010 to go active ...
2022/08/01 22:32:23 Index is 9446660808757834010 now active
2022/08/01 22:32:23 Index is 526981737562568295 now active
2022/08/01 22:32:24 Using n1ql client
2022/08/01 22:32:24 Expected and Actual scan responses are the same
2022/08/01 22:32:24 Using n1ql client
2022/08/01 22:32:24 Expected and Actual scan responses are the same
2022/08/01 22:32:26 Setting JSON docs in KV
2022/08/01 22:32:34 Using n1ql client
2022/08/01 22:32:34 Expected and Actual scan responses are the same
--- PASS: TestDropDeferredIndexWhileOthersBuilding (46.28s)
=== RUN   TestDropBuildingDeferredIndex
2022/08/01 22:32:34 In TestDropBuildingDeferredIndex()
2022/08/01 22:32:34 In DropAllSecondaryIndexes()
2022/08/01 22:32:34 Index found:  id_age
2022/08/01 22:32:35 Dropped index id_age
2022/08/01 22:32:35 Index found:  id_gender
2022/08/01 22:32:35 Dropped index id_gender
2022/08/01 22:32:35 Index found:  id_company
2022/08/01 22:32:35 Dropped index id_company
2022/08/01 22:32:37 Setting JSON docs in KV
2022/08/01 22:32:42 Build command issued for the deferred indexes [6510405171178539378 14178044844335664448]
2022/08/01 22:32:43 Dropping the secondary index id_age
2022/08/01 22:32:43 Index dropped
2022/08/01 22:32:43 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:44 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:45 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:46 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:47 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:48 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:49 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:50 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:51 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:52 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:53 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:54 Waiting for index 6510405171178539378 to go active ...
2022/08/01 22:32:55 Index is 6510405171178539378 now active
2022/08/01 22:32:55 Build command issued for the deferred indexes [id_gender]
2022/08/01 22:32:55 Waiting for the index id_gender to become active
2022/08/01 22:32:55 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:32:56 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:32:57 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:32:58 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:32:59 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:00 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:01 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:02 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:03 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:04 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:05 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:06 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:07 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:08 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:09 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:10 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:11 Waiting for index 8819810987225058458 to go active ...
2022/08/01 22:33:12 Index is 8819810987225058458 now active
2022/08/01 22:33:13 Using n1ql client
2022/08/01 22:33:14 Expected and Actual scan responses are the same
2022/08/01 22:33:14 Using n1ql client
2022/08/01 22:33:14 Expected and Actual scan responses are the same
2022/08/01 22:33:16 Setting JSON docs in KV
2022/08/01 22:33:24 Using n1ql client
2022/08/01 22:33:25 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingDeferredIndex (50.97s)
=== RUN   TestDropMultipleBuildingDeferredIndexes
2022/08/01 22:33:25 In TestDropMultipleBuildingDeferredIndexes()
2022/08/01 22:33:25 In DropAllSecondaryIndexes()
2022/08/01 22:33:25 Index found:  id_company
2022/08/01 22:33:25 Dropped index id_company
2022/08/01 22:33:25 Index found:  id_gender
2022/08/01 22:33:26 Dropped index id_gender
2022/08/01 22:33:32 Setting JSON docs in KV
2022/08/01 22:34:01 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:34:01 Index is 17767570004156657215 now active
2022/08/01 22:34:03 Build command issued for the deferred indexes [3971259686776968506 10128418268409753894]
2022/08/01 22:34:04 Dropping the secondary index id_age
2022/08/01 22:34:04 Index dropped
2022/08/01 22:34:04 Dropping the secondary index id_gender
2022/08/01 22:34:19 Index dropped
2022/08/01 22:34:19 Build command issued for the deferred indexes [id_isActive]
2022/08/01 22:34:19 Waiting for the index id_isActive to become active
2022/08/01 22:34:19 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:20 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:21 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:22 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:23 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:24 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:25 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:26 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:27 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:28 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:29 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:30 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:31 Waiting for index 9808327013738019641 to go active ...
2022/08/01 22:34:32 Index is 9808327013738019641 now active
2022/08/01 22:34:42 Using n1ql client
2022/08/01 22:34:43 Expected and Actual scan responses are the same
2022/08/01 22:34:43 Number of docScanResults and scanResults = 180000 and 180000
2022/08/01 22:34:43 Using n1ql client
2022/08/01 22:34:45 Expected and Actual scan responses are the same
2022/08/01 22:34:45 Number of docScanResults and scanResults = 180000 and 180000
--- PASS: TestDropMultipleBuildingDeferredIndexes (79.64s)
=== RUN   TestDropOneIndexSecondDeferBuilding
2022/08/01 22:34:45 In TestDropOneIndexSecondDeferBuilding()
2022/08/01 22:34:45 In DropAllSecondaryIndexes()
2022/08/01 22:34:45 Index found:  id_company
2022/08/01 22:34:45 Dropped index id_company
2022/08/01 22:34:45 Index found:  id_isActive
2022/08/01 22:34:45 Dropped index id_isActive
2022/08/01 22:34:47 Setting JSON docs in KV
2022/08/01 22:34:52 Build command issued for the deferred indexes [id_company]
2022/08/01 22:34:52 Waiting for the index id_company to become active
2022/08/01 22:34:52 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:34:53 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:34:54 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:34:55 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:34:56 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:34:57 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:34:58 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:34:59 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:35:00 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:35:01 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:35:02 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:35:03 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:35:04 Waiting for index 14640702364751679297 to go active ...
2022/08/01 22:35:05 Index is 14640702364751679297 now active
2022/08/01 22:35:05 Build command issued for the deferred indexes [3108856479640491208]
2022/08/01 22:35:06 Dropping the secondary index id_company
2022/08/01 22:35:06 Index dropped
2022/08/01 22:35:13 Setting JSON docs in KV
2022/08/01 22:35:27 Index is 3108856479640491208 now active
2022/08/01 22:35:27 Build command issued for the deferred indexes [id_gender]
2022/08/01 22:35:27 Waiting for the index id_gender to become active
2022/08/01 22:35:27 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:28 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:29 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:30 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:31 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:32 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:33 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:34 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:35 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:36 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:37 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:38 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:39 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:40 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:41 Waiting for index 1181822344238890067 to go active ...
2022/08/01 22:35:42 Index is 1181822344238890067 now active
2022/08/01 22:35:43 Using n1ql client
2022/08/01 22:35:43 Expected and Actual scan responses are the same
2022/08/01 22:35:43 Using n1ql client
2022/08/01 22:35:44 Expected and Actual scan responses are the same
--- PASS: TestDropOneIndexSecondDeferBuilding (58.98s)
=== RUN   TestDropSecondIndexSecondDeferBuilding
2022/08/01 22:35:44 In TestDropSecondIndexSecondDeferBuilding()
2022/08/01 22:35:44 In DropAllSecondaryIndexes()
2022/08/01 22:35:44 Index found:  id_age
2022/08/01 22:35:44 Dropped index id_age
2022/08/01 22:35:44 Index found:  id_gender
2022/08/01 22:35:44 Dropped index id_gender
2022/08/01 22:35:47 Setting JSON docs in KV
2022/08/01 22:35:52 Build command issued for the deferred indexes [id_company]
2022/08/01 22:35:52 Waiting for the index id_company to become active
2022/08/01 22:35:52 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:35:53 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:35:54 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:35:55 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:35:56 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:35:57 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:35:58 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:35:59 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:36:00 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:36:01 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:36:02 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:36:03 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:36:04 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:36:05 Waiting for index 14612472660918005943 to go active ...
2022/08/01 22:36:06 Index is 14612472660918005943 now active
2022/08/01 22:36:06 Build command issued for the deferred indexes [1951565853061484494]
2022/08/01 22:36:07 Dropping the secondary index id_age
2022/08/01 22:36:07 Index dropped
2022/08/01 22:36:12 Setting JSON docs in KV
2022/08/01 22:36:22 Build command issued for the deferred indexes [id_gender]
2022/08/01 22:36:22 Waiting for the index id_gender to become active
2022/08/01 22:36:22 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:23 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:24 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:25 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:26 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:27 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:28 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:29 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:30 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:31 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:32 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:33 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:34 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:35 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:36 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:37 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:38 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:39 Waiting for index 5532580058707310698 to go active ...
2022/08/01 22:36:40 Index is 5532580058707310698 now active
2022/08/01 22:36:40 Using n1ql client
2022/08/01 22:36:40 Expected and Actual scan responses are the same
2022/08/01 22:36:41 Using n1ql client
2022/08/01 22:36:42 Expected and Actual scan responses are the same
--- PASS: TestDropSecondIndexSecondDeferBuilding (58.47s)
=== RUN   TestCreateAfterDropWhileIndexBuilding
2022/08/01 22:36:42 In TestCreateAfterDropWhileIndexBuilding()
2022/08/01 22:36:42 In DropAllSecondaryIndexes()
2022/08/01 22:36:42 Index found:  id_company
2022/08/01 22:36:43 Dropped index id_company
2022/08/01 22:36:43 Index found:  id_gender
2022/08/01 22:36:43 Dropped index id_gender
2022/08/01 22:37:04 Setting JSON docs in KV
2022/08/01 22:37:58 Build command issued for the deferred indexes [9019109204701325020]
2022/08/01 22:37:59 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:00 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:01 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:02 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:03 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:04 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:05 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:06 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:07 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:08 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:09 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:10 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:11 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:12 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:13 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:14 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:15 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:16 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:17 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:18 Waiting for index 9019109204701325020 to go active ...
2022/08/01 22:38:19 Index is 9019109204701325020 now active
2022/08/01 22:38:19 Build command issued for the deferred indexes [13714195850022850706]
2022/08/01 22:38:20 Dropping the secondary index id_company
2022/08/01 22:38:20 Index dropped
2022/08/01 22:38:20 Dropping the secondary index id_age
2022/08/01 22:38:23 Index dropped
2022/08/01 22:38:28 Build command issued for the deferred indexes [id_gender]
2022/08/01 22:38:28 Waiting for the index id_gender to become active
2022/08/01 22:38:28 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:29 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:30 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:31 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:32 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:33 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:34 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:35 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:36 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:37 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:38 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:39 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:40 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:41 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:42 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:43 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:44 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:45 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:46 Waiting for index 15534598845832060088 to go active ...
2022/08/01 22:38:47 Index is 15534598845832060088 now active
2022/08/01 22:38:48 Index is 15534598845832060088 now active
2022/08/01 22:38:48 Using n1ql client
2022/08/01 22:38:50 Expected and Actual scan responses are the same
--- PASS: TestCreateAfterDropWhileIndexBuilding (127.40s)
=== RUN   TestDropBuildingIndex1
2022/08/01 22:38:50 In TestDropBuildingIndex1()
2022/08/01 22:38:50 In DropAllSecondaryIndexes()
2022/08/01 22:38:50 Index found:  id_gender
2022/08/01 22:38:50 Dropped index id_gender
2022/08/01 22:38:54 Setting JSON docs in KV
2022/08/01 22:39:24 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:39:24 Index is 3926298861131830697 now active
2022/08/01 22:39:47 Dropping the secondary index id_age
2022/08/01 22:39:47 Index dropped
2022/08/01 22:40:07 Created the secondary index id_age. Waiting for it become active
2022/08/01 22:40:07 Index is 10544029849232899626 now active
2022/08/01 22:40:09 Setting JSON docs in KV
2022/08/01 22:40:17 Using n1ql client
2022/08/01 22:40:18 Expected and Actual scan responses are the same
2022/08/01 22:40:18 Using n1ql client
2022/08/01 22:40:18 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingIndex1 (88.54s)
=== RUN   TestDropBuildingIndex2
2022/08/01 22:40:18 In TestDropBuildingIndex2()
2022/08/01 22:40:18 In DropAllSecondaryIndexes()
2022/08/01 22:40:18 Index found:  id_age
2022/08/01 22:40:18 Dropped index id_age
2022/08/01 22:40:18 Index found:  id_company
2022/08/01 22:40:19 Dropped index id_company
2022/08/01 22:40:24 Setting JSON docs in KV
2022/08/01 22:40:57 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:40:57 Index is 7710603775042471873 now active
2022/08/01 22:41:25 Dropping the secondary index id_company
2022/08/01 22:41:25 Index dropped
2022/08/01 22:41:25 Index is 6077180984871543543 now active
2022/08/01 22:41:45 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:41:45 Index is 11361593860625389813 now active
2022/08/01 22:41:47 Setting JSON docs in KV
2022/08/01 22:41:55 Using n1ql client
2022/08/01 22:41:55 Expected and Actual scan responses are the same
2022/08/01 22:41:56 Using n1ql client
2022/08/01 22:41:56 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingIndex2 (97.92s)
=== RUN   TestDropIndexWithDataLoad
2022/08/01 22:41:56 In TestDropIndexWithDataLoad()
2022/08/01 22:41:56 In DropAllSecondaryIndexes()
2022/08/01 22:41:56 Index found:  id_age
2022/08/01 22:41:56 Dropped index id_age
2022/08/01 22:41:56 Index found:  id_company
2022/08/01 22:41:57 Dropped index id_company
2022/08/01 22:42:00 Setting JSON docs in KV
2022/08/01 22:42:27 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:42:27 Index is 17319092601657167923 now active
2022/08/01 22:42:51 Created the secondary index id_age. Waiting for it become active
2022/08/01 22:42:51 Index is 6151611760409190801 now active
2022/08/01 22:43:15 Created the secondary index id_gender. Waiting for it become active
2022/08/01 22:43:15 Index is 7268045146645398990 now active
2022/08/01 22:43:37 Created the secondary index id_isActive. Waiting for it become active
2022/08/01 22:43:37 Index is 6264310370847154849 now active
2022/08/01 22:43:45 Setting JSON docs in KV
2022/08/01 22:43:45 In LoadKVBucket
2022/08/01 22:43:45 Bucket name = default
2022/08/01 22:43:45 In DropIndexWhileKVLoad
2022/08/01 22:43:46 Dropping the secondary index id_company
2022/08/01 22:43:46 Index dropped
2022/08/01 22:44:09 Using n1ql client
2022/08/01 22:44:10 Expected and Actual scan responses are the same
2022/08/01 22:44:10 Number of docScanResults and scanResults = 96752 and 96752
2022/08/01 22:44:11 Using n1ql client
2022/08/01 22:44:13 Expected and Actual scan responses are the same
2022/08/01 22:44:13 Number of docScanResults and scanResults = 420000 and 420000
--- PASS: TestDropIndexWithDataLoad (137.12s)
=== RUN   TestDropAllIndexesWithDataLoad
2022/08/01 22:44:13 In TestDropAllIndexesWithDataLoad()
2022/08/01 22:44:13 In DropAllSecondaryIndexes()
2022/08/01 22:44:13 Index found:  id_gender
2022/08/01 22:44:14 Dropped index id_gender
2022/08/01 22:44:14 Index found:  id_isActive
2022/08/01 22:44:14 Dropped index id_isActive
2022/08/01 22:44:14 Index found:  id_age
2022/08/01 22:44:14 Dropped index id_age
2022/08/01 22:44:16 Setting JSON docs in KV
2022/08/01 22:44:47 Created the secondary index id_company. Waiting for it become active
2022/08/01 22:44:47 Index is 7846661519858524552 now active
2022/08/01 22:45:14 Created the secondary index id_age. Waiting for it become active
2022/08/01 22:45:14 Index is 14272844641550520623 now active
2022/08/01 22:45:37 Created the secondary index id_gender. Waiting for it become active
2022/08/01 22:45:37 Index is 13025317611002217583 now active
2022/08/01 22:46:02 Created the secondary index id_isActive. Waiting for it become active
2022/08/01 22:46:02 Index is 11171776328549036300 now active
2022/08/01 22:46:09 Setting JSON docs in KV
2022/08/01 22:46:09 In LoadKVBucket
2022/08/01 22:46:09 In DropIndexWhileKVLoad
2022/08/01 22:46:09 In DropIndexWhileKVLoad
2022/08/01 22:46:09 Bucket name = default
2022/08/01 22:46:09 In DropIndexWhileKVLoad
2022/08/01 22:46:09 In DropIndexWhileKVLoad
2022/08/01 22:46:10 Dropping the secondary index id_company
2022/08/01 22:46:10 Dropping the secondary index id_age
2022/08/01 22:46:10 Dropping the secondary index id_gender
2022/08/01 22:46:10 Dropping the secondary index id_isActive
2022/08/01 22:46:10 Index dropped
2022/08/01 22:46:10 Index dropped
2022/08/01 22:46:10 Index dropped
2022/08/01 22:46:11 Index dropped
2022/08/01 22:46:25 Using n1ql client
2022/08/01 22:46:25 Scan failed as expected with error: Index Not Found - cause: GSI index id_company not found.
--- PASS: TestDropAllIndexesWithDataLoad (131.61s)
=== RUN   TestCreateBucket_AnotherIndexBuilding
2022/08/01 22:46:25 In TestCreateBucket_AnotherIndexBuilding()
2022/08/01 22:46:25 In DropAllSecondaryIndexes()
2022/08/01 22:47:03 Flushed the bucket default, Response body: 
2022/08/01 22:47:06 Modified parameters of bucket default, responseBody: 
2022/08/01 22:47:06 http://127.0.0.1:9000/pools/default/buckets/multi_buck2
2022/08/01 22:47:06 &{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/08/01 22:47:06 &{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:[Mon, 01 Aug 2022 17:17:05 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]] 0xc0ad278640 31 [] false false map[] 0xc009368500 }
2022/08/01 22:47:06 DeleteBucket failed for bucket multi_buck2 
2022/08/01 22:47:06 Deleted bucket multi_buck2, responseBody: Requested resource not found.
2022/08/01 22:47:21 Setting JSON docs in KV
2022/08/01 22:49:13 Created bucket multi_buck2, responseBody: 
2022/08/01 22:49:36 Index is 12783796653618091259 now active
2022/08/01 22:49:36 Index is 11104013616623368210 now active
2022/08/01 22:49:36 Using n1ql client
2022-08-01T22:49:36.301+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:49:36.301+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:49:36.301+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:49:36.301+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:49:36.308+05:30 [Info] switched currmeta from 1211 -> 1211 force true 
2022-08-01T22:49:36.313+05:30 [Info] switched currmeta from 1206 -> 1207 force true 
2022-08-01T22:49:36.319+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:49:36.320+05:30 [Info] GSIC[default/multi_buck2-_default-_default-1659374376292628538] started ...
2022/08/01 22:49:36 Expected and Actual scan responses are the same
2022/08/01 22:49:36 Number of docScanResults and scanResults = 10000 and 10000
2022/08/01 22:49:36 Using n1ql client
2022/08/01 22:49:39 Expected and Actual scan responses are the same
2022/08/01 22:49:39 Number of docScanResults and scanResults = 200000 and 200000
2022/08/01 22:49:41 Deleted bucket multi_buck2, responseBody: 
2022/08/01 22:50:18 Flushed the bucket default, Response body: 
--- PASS: TestCreateBucket_AnotherIndexBuilding (233.09s)
=== RUN   TestDropBucket2Index_Bucket1IndexBuilding
2022/08/01 22:50:18 In TestDropBucket2Index_Bucket1IndexBuilding()
2022/08/01 22:50:18 In DropAllSecondaryIndexes()
2022/08/01 22:50:18 Index found:  buck1_idx
2022/08/01 22:50:18 Dropped index buck1_idx
2022/08/01 22:50:56 Flushed the bucket default, Response body: 
2022/08/01 22:50:59 Modified parameters of bucket default, responseBody: 
2022/08/01 22:50:59 http://127.0.0.1:9000/pools/default/buckets/multibucket_test3
2022/08/01 22:50:59 &{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/08/01 22:50:59 &{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:[Mon, 01 Aug 2022 17:20: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]] 0xc002894780 31 [] false false map[] 0xc009f2f500 }
2022/08/01 22:50:59 DeleteBucket failed for bucket multibucket_test3 
2022/08/01 22:50:59 Deleted bucket multibucket_test3, responseBody: Requested resource not found.
2022/08/01 22:50:59 Created bucket multibucket_test3, responseBody: 
2022/08/01 22:51:14 Setting JSON docs in KV
2022/08/01 22:52:10 Created the secondary index buck2_idx. Waiting for it become active
2022/08/01 22:52:10 Index is 10251549862389540323 now active
2022/08/01 22:52:22 Dropping the secondary index buck2_idx
2022/08/01 22:52:22 Index dropped
2022/08/01 22:52:22 Index is 3066859139783374031 now active
2022/08/01 22:52:22 Using n1ql client
2022/08/01 22:52:24 Expected and Actual scan responses are the same
2022/08/01 22:52:24 Number of docScanResults and scanResults = 100000 and 100000
2022/08/01 22:52:26 Deleted bucket multibucket_test3, responseBody: 
2022/08/01 22:53:03 Flushed the bucket default, Response body: 
--- PASS: TestDropBucket2Index_Bucket1IndexBuilding (164.71s)
=== RUN   TestDeleteBucketWhileInitialIndexBuild
2022/08/01 22:53:03 In TestDeleteBucketWhileInitialIndexBuild()
2022/08/01 22:53:03 ============== DBG: Drop all indexes in all buckets
2022/08/01 22:53:03 In DropAllSecondaryIndexes()
2022/08/01 22:53:03 Index found:  buck1_idx
2022/08/01 22:53:03 Dropped index buck1_idx
2022/08/01 22:53:03 ============== DBG: Delete bucket default
2022/08/01 22:53:05 Deleted bucket default, responseBody: 
2022/08/01 22:53:05 ============== DBG: Create bucket default
2022/08/01 22:53:05 Created bucket default, responseBody: 
2022/08/01 22:53:08 Flush Enabled on bucket default, responseBody: 
2022/08/01 22:53:41 Flushed the bucket default, Response body: 
2022/08/01 22:53:41 ============== DBG: Delete bucket testbucket2
2022/08/01 22:53:41 http://127.0.0.1:9000/pools/default/buckets/testbucket2
2022/08/01 22:53:41 &{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/08/01 22:53:41 &{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:[Mon, 01 Aug 2022 17:23:41 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]] 0xc008a3d9c0 31 [] false false map[] 0xc0086dc700 }
2022/08/01 22:53:41 DeleteBucket failed for bucket testbucket2 
2022/08/01 22:53:41 Deleted bucket testbucket2, responseBody: Requested resource not found.
2022/08/01 22:53:41 ============== DBG: Create bucket testbucket2
2022/08/01 22:53:41 Created bucket testbucket2, responseBody: 
2022/08/01 22:53:45 Flush Enabled on bucket testbucket2, responseBody: 
2022/08/01 22:54:18 Flushed the bucket testbucket2, Response body: 
2022/08/01 22:54:18 ============== DBG: Delete bucket testbucket3
2022/08/01 22:54:18 http://127.0.0.1:9000/pools/default/buckets/testbucket3
2022/08/01 22:54:18 &{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/08/01 22:54:18 &{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:[Mon, 01 Aug 2022 17:24:17 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]] 0xc004d756c0 31 [] false false map[] 0xc006c28100 }
2022/08/01 22:54:18 DeleteBucket failed for bucket testbucket3 
2022/08/01 22:54:18 Deleted bucket testbucket3, responseBody: Requested resource not found.
2022/08/01 22:54:18 ============== DBG: Create bucket testbucket3
2022/08/01 22:54:18 Created bucket testbucket3, responseBody: 
2022/08/01 22:54:21 Flush Enabled on bucket testbucket3, responseBody: 
2022/08/01 22:54:54 Flushed the bucket testbucket3, Response body: 
2022/08/01 22:54:54 ============== DBG: Delete bucket testbucket4
2022/08/01 22:54:54 http://127.0.0.1:9000/pools/default/buckets/testbucket4
2022/08/01 22:54:54 &{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/08/01 22:54:54 &{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:[Mon, 01 Aug 2022 17:24:53 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]] 0xc01043c500 31 [] false false map[] 0xc006c29400 }
2022/08/01 22:54:54 DeleteBucket failed for bucket testbucket4 
2022/08/01 22:54:54 Deleted bucket testbucket4, responseBody: Requested resource not found.
2022/08/01 22:54:54 ============== DBG: Create bucket testbucket4
2022/08/01 22:54:54 Created bucket testbucket4, responseBody: 
2022/08/01 22:54:57 Flush Enabled on bucket testbucket4, responseBody: 
2022/08/01 22:55:31 Flushed the bucket testbucket4, Response body: 
2022/08/01 22:55:46 Generating docs and Populating all the buckets
2022/08/01 22:55:46 ============== DBG: Creating docs in bucket default
2022/08/01 22:55:47 ============== DBG: Creating index bucket1_age in bucket default
2022/08/01 22:55:50 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 22:55:50 Index is 9531494900278739385 now active
2022/08/01 22:55:50 ============== DBG: Creating index bucket1_gender in bucket default
2022/08/01 22:55:55 Created the secondary index bucket1_gender. Waiting for it become active
2022/08/01 22:55:55 Index is 11973931772652177558 now active
2022/08/01 22:55:56 ============== DBG: Creating docs in bucket testbucket2
2022/08/01 22:55:57 ============== DBG: Creating index bucket2_city in bucket testbucket2
2022/08/01 22:56:00 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 22:56:00 Index is 14298104805661482431 now active
2022/08/01 22:56:00 ============== DBG: Creating index bucket2_company in bucket testbucket2
2022/08/01 22:56:06 Created the secondary index bucket2_company. Waiting for it become active
2022/08/01 22:56:06 Index is 11156090201133349353 now active
2022/08/01 22:56:07 ============== DBG: Creating docs in bucket testbucket3
2022/08/01 22:56:07 ============== DBG: Creating index bucket3_gender in bucket testbucket3
2022/08/01 22:56:11 Created the secondary index bucket3_gender. Waiting for it become active
2022/08/01 22:56:11 Index is 788657689076550720 now active
2022/08/01 22:56:11 ============== DBG: Creating index bucket3_address in bucket testbucket3
2022/08/01 22:56:16 Created the secondary index bucket3_address. Waiting for it become active
2022/08/01 22:56:16 Index is 12643323260212964571 now active
2022/08/01 22:56:16 ============== DBG: First bucket scan:: Scanning index bucket1_age in bucket default
2022/08/01 22:56:16 Using n1ql client
2022-08-01T22:56:16.804+05:30 [Info] metadata provider version changed 1265 -> 1266
2022-08-01T22:56:16.805+05:30 [Info] switched currmeta from 1265 -> 1266 force false 
2022-08-01T22:56:16.805+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:56:16.806+05:30 [Info] GSIC[default/default-_default-_default-1659374776797442593] started ...
2022/08/01 22:56:16 ============== DBG: First bucket scan:: Expected results = 310 Actual results = 310
2022/08/01 22:56:16 Expected and Actual scan responses are the same
2022/08/01 22:56:27 ============== DBG: Creating 50K docs in bucket testbucket4
2022/08/01 22:56:51 ============== DBG: Creating index bucket4_balance asynchronously in bucket testbucket4
2022/08/01 22:57:00 ============== DBG: Deleting bucket testbucket4
2022/08/01 22:57:02 Deleted bucket testbucket4, responseBody: 
2022/08/01 22:57:02 ============== DBG: First bucket scan:: Scanning index bucket1_age in bucket default
2022/08/01 22:57:02 Using n1ql client
2022/08/01 22:57:02 ============== DBG: First bucket scan:: Expected results = 310 Actual results = 310
2022/08/01 22:57:02 Expected and Actual scan responses are the same
2022/08/01 22:57:02 ============== DBG: Second bucket scan:: Scanning index bucket2_city in bucket testbucket2
2022/08/01 22:57:02 Using n1ql client
2022-08-01T22:57:02.441+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2022-08-01T22:57:02.445+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:57:02.445+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:57:02.445+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:57:02.446+05:30 [Info] GSIC[default/testbucket2-_default-_default-1659374822440386889] started ...
2022/08/01 22:57:02 ============== DBG: Second bucket scan:: Expected results = 423 Actual results = 423
2022/08/01 22:57:02 Expected and Actual scan responses are the same
2022/08/01 22:57:02 ============== DBG: Third bucket scan:: Scanning index bucket3_gender in bucket testbucket3
2022/08/01 22:57:02 Using n1ql client
2022-08-01T22:57:02.452+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T22:57:02.452+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T22:57:02.454+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T22:57:02.454+05:30 [Info] switched currmeta from 1276 -> 1276 force true 
2022-08-01T22:57:02.455+05:30 [Info] GSIC[default/testbucket3-_default-_default-1659374822452319332] started ...
2022/08/01 22:57:02 ============== DBG: Third bucket scan:: Expected results = 521 Actual results = 521
2022/08/01 22:57:02 Expected and Actual scan responses are the same
2022/08/01 22:57:02 ============== DBG: Deleting buckets testbucket2 testbucket3 testbucket4
2022/08/01 22:57:04 Deleted bucket testbucket2, responseBody: 
2022/08/01 22:57:08 Deleted bucket testbucket3, responseBody: 
2022/08/01 22:57:08 http://127.0.0.1:9000/pools/default/buckets/testbucket4
2022/08/01 22:57:08 &{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/08/01 22:57:08 &{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:[Mon, 01 Aug 2022 17:27:07 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]] 0xc019a972c0 31 [] false false map[] 0xc0086e2f00 }
2022/08/01 22:57:08 DeleteBucket failed for bucket testbucket4 
2022/08/01 22:57:08 Deleted bucket testbucket4, responseBody: Requested resource not found.
2022/08/01 22:57:11 Modified parameters of bucket default, responseBody: 
--- PASS: TestDeleteBucketWhileInitialIndexBuild (262.86s)
=== RUN   TestWherClause_UpdateDocument
2022/08/01 22:57:26 In TestWherClause_UpdateDocument()
2022/08/01 22:57:26 In DropAllSecondaryIndexes()
2022/08/01 22:57:26 Index found:  bucket1_gender
2022/08/01 22:57:26 Dropped index bucket1_gender
2022/08/01 22:57:26 Index found:  bucket1_age
2022/08/01 22:57:26 Dropped index bucket1_age
2022/08/01 22:58:04 Flushed the bucket default, Response body: 
2022/08/01 22:58:07 Setting JSON docs in KV
2022/08/01 22:58:15 Created the secondary index id_ageGreaterThan40. Waiting for it become active
2022/08/01 22:58:15 Index is 5391203731582583176 now active
2022/08/01 22:58:15 Using n1ql client
2022/08/01 22:58:15 Expected and Actual scan responses are the same
2022/08/01 22:58:15 Number of docScanResults and scanResults = 6008 and 6008
2022/08/01 22:58:19 Using n1ql client
2022/08/01 22:58:19 Expected and Actual scan responses are the same
2022/08/01 22:58:19 Number of docScanResults and scanResults = 2008 and 2008
--- PASS: TestWherClause_UpdateDocument (53.62s)
=== RUN   TestDeferFalse
2022/08/01 22:58:19 In TestDeferFalse()
2022/08/01 22:58:22 Setting JSON docs in KV
2022/08/01 22:58:34 Created the secondary index index_deferfalse1. Waiting for it become active
2022/08/01 22:58:34 Index is 6203775753089764454 now active
2022/08/01 22:58:34 Using n1ql client
2022/08/01 22:58:34 Expected and Actual scan responses are the same
--- PASS: TestDeferFalse (14.60s)
=== RUN   TestDeferFalse_CloseClientConnection
2022/08/01 22:58:34 In TestDeferFalse_CloseClientConnection()
2022/08/01 22:58:34 In CloseClientThread
2022/08/01 22:58:34 In CreateIndexThread
2022-08-01T22:58:36.470+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57016->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 22:58:36 Create Index call failed as expected due to error : Terminate Request due to client termination
2022/08/01 22:58:36 Waiting for index 3050178387676747368 to go active ...
2022/08/01 22:58:37 Waiting for index 3050178387676747368 to go active ...
2022/08/01 22:58:38 Waiting for index 3050178387676747368 to go active ...
2022/08/01 22:58:39 Waiting for index 3050178387676747368 to go active ...
2022/08/01 22:58:40 Index is 3050178387676747368 now active
2022/08/01 22:58:40 Using n1ql client
2022/08/01 22:58:40 Expected and Actual scan responses are the same
--- PASS: TestDeferFalse_CloseClientConnection (6.18s)
=== RUN   TestOrphanIndexCleanup
2022-08-01T22:58:40.614+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57078->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 22:58:40 In DropAllSecondaryIndexes()
2022/08/01 22:58:40 Index found:  index_deferfalse1
2022/08/01 22:58:40 Dropped index index_deferfalse1
2022/08/01 22:58:40 Index found:  id_ageGreaterThan40
2022/08/01 22:58:40 Dropped index id_ageGreaterThan40
2022/08/01 22:58:40 Index found:  index_deferfalse2
2022/08/01 22:58:40 Dropped index index_deferfalse2
2022/08/01 22:58:54 Created the secondary index idx1_age_regular. Waiting for it become active
2022/08/01 22:58:54 Index is 12494383013313774903 now active
2022/08/01 22:59:00 Created the secondary index idx2_company_regular. Waiting for it become active
2022/08/01 22:59:00 Index is 11329789869539975314 now active
2022/08/01 22:59:10 Using n1ql client
2022/08/01 22:59:11 Query on idx1_age_regular is successful
2022/08/01 22:59:11 Using n1ql client
2022/08/01 22:59:11 Query on idx2_company_regular is successful
Restarting indexer process ...
2022/08/01 22:59:11 []
2022-08-01T22:59:11.079+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T22:59:11.079+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T22:59:11.079+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T22:59:11.079+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 22:59:31 Using n1ql client
2022-08-01T22:59:31.037+05:30 [Error] transport error between 127.0.0.1:40116->127.0.0.1:9107: write tcp 127.0.0.1:40116->127.0.0.1:9107: write: broken pipe
2022-08-01T22:59:31.037+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 2824522588817261167 request transport failed `write tcp 127.0.0.1:40116->127.0.0.1:9107: write: broken pipe`
2022-08-01T22:59:31.037+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T22:59:31.037+05:30 [Error] metadataClient:PickRandom: Replicas - [696501884134533886], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 22:59:31 Query on idx1_age_regular is successful - after indexer restart.
2022/08/01 22:59:31 Using n1ql client
2022/08/01 22:59:31 Query on idx2_company_regular is successful - after indexer restart.
--- PASS: TestOrphanIndexCleanup (50.46s)
=== RUN   TestOrphanPartitionCleanup
2022/08/01 22:59:35 Created the secondary index idx3_age_regular. Waiting for it become active
2022/08/01 22:59:35 Index is 12457989739663741650 now active
2022/08/01 22:59:45 Using n1ql client
2022/08/01 22:59:45 Query on idx3_age_regular is successful
Restarting indexer process ...
2022/08/01 22:59:45 []
2022-08-01T22:59:46.011+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T22:59:46.011+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T22:59:46.011+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T22:59:46.011+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T22:59:57.523+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659374986898795667 1659374993508367953 map[]}, clientStatsPtr.Stats[bucket] 
2022-08-01T22:59:57.524+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659374986898795667 1659374993508367953 map[]}, clientStatsPtr.Stats[bucket] 
2022-08-01T23:00:02.523+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659374986898795667 1659374999508261152 map[]}, clientStatsPtr.Stats[bucket] 
2022-08-01T23:00:02.523+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659374986898795667 1659374999508261152 map[]}, clientStatsPtr.Stats[bucket] 
2022/08/01 23:00:05 Using n1ql client
2022-08-01T23:00:05.985+05:30 [Error] transport error between 127.0.0.1:51232->127.0.0.1:9107: write tcp 127.0.0.1:51232->127.0.0.1:9107: write: broken pipe
2022-08-01T23:00:05.985+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 5168051019096359164 request transport failed `write tcp 127.0.0.1:51232->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:00:05.985+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 0 
2022-08-01T23:00:05.986+05:30 [Error] metadataClient:PickRandom: Replicas - [17663595821116158392], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 23:00:06 Query on idx3_age_regular is successful - after indexer restart.
--- PASS: TestOrphanPartitionCleanup (34.93s)
=== RUN   TestIndexerSettings
2022/08/01 23:00:06 In TestIndexerSettings()
2022/08/01 23:00:06 Changing config key indexer.settings.max_cpu_percent to value 300
2022/08/01 23:00:06 Changing config key indexer.settings.inmemory_snapshot.interval to value 300
2022/08/01 23:00:06 Changing config key indexer.settings.persisted_snapshot.interval to value 20000
2022/08/01 23:00:06 Changing config key indexer.settings.recovery.max_rollbacks to value 3
2022/08/01 23:00:06 Changing config key indexer.settings.log_level to value error
--- PASS: TestIndexerSettings (0.17s)
=== RUN   TestRestoreDefaultSettings
2022/08/01 23:00:06 In TestIndexerSettings_RestoreDefault()
2022/08/01 23:00:06 Changing config key indexer.settings.max_cpu_percent to value 0
2022/08/01 23:00:06 Changing config key indexer.settings.inmemory_snapshot.interval to value 200
2022/08/01 23:00:06 Changing config key indexer.settings.persisted_snapshot.interval to value 5000
2022/08/01 23:00:06 Changing config key indexer.settings.recovery.max_rollbacks to value 5
2022/08/01 23:00:06 Changing config key indexer.settings.log_level to value info
--- PASS: TestRestoreDefaultSettings (0.14s)
=== RUN   TestStat_ItemsCount
2022/08/01 23:00:06 In TestStat_ItemsCount()
2022/08/01 23:00:06 In DropAllSecondaryIndexes()
2022/08/01 23:00:06 Index found:  idx3_age_regular
2022/08/01 23:00:06 Dropped index idx3_age_regular
2022/08/01 23:00:06 Index found:  idx1_age_regular
2022/08/01 23:00:06 Dropped index idx1_age_regular
2022/08/01 23:00:06 Index found:  idx2_company_regular
2022/08/01 23:00:06 Dropped index idx2_company_regular
2022/08/01 23:00:06 Emptying the default bucket
2022-08-01T23:00:07.524+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659374986898795667 1659375005508800160 map[]}, clientStatsPtr.Stats[bucket] 
2022-08-01T23:00:07.524+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659374986898795667 1659375005508800160 map[]}, clientStatsPtr.Stats[bucket] 
2022/08/01 23:00:09 Flush Enabled on bucket default, responseBody: 
2022/08/01 23:00:47 Flushed the bucket default, Response body: 
2022/08/01 23:00:47 Generating JSON docs
2022/08/01 23:00:48 Setting initial JSON docs in KV
2022/08/01 23:00:51 Creating a 2i
2022/08/01 23:00:54 Created the secondary index index_test1. Waiting for it become active
2022/08/01 23:00:54 Index is 2786908975852915321 now active
2022/08/01 23:00:59 items_count stat is 10000
--- PASS: TestStat_ItemsCount (53.64s)
=== RUN   TestRangeArrayIndex_Distinct
2022/08/01 23:00:59 In TestRangeArrayIndex_Distinct()
2022/08/01 23:00:59 In DropAllSecondaryIndexes()
2022/08/01 23:00:59 Index found:  index_test1
2022/08/01 23:01:00 Dropped index index_test1
2022/08/01 23:01:37 Flushed the bucket default, Response body: 
2022/08/01 23:01:41 Created the secondary index arridx_friends. Waiting for it become active
2022/08/01 23:01:41 Index is 18189472091421218059 now active
2022-08-01T23:01:41.442+05:30 [Error] transport error between 127.0.0.1:51626->127.0.0.1:9107: write tcp 127.0.0.1:51626->127.0.0.1:9107: write: broken pipe
2022-08-01T23:01:41.442+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:51626->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:01:41.443+05:30 [Warn] scan failed: requestId  queryport 127.0.0.1:9107 inst 9281712550732031056 partition [0]
2022-08-01T23:01:41.443+05:30 [Warn] Scan failed with error for index 18189472091421218059.  Trying scan again with replica, reqId: :  write tcp 127.0.0.1:51626->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022-08-01T23:01:41.443+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T23:01:41.443+05:30 [Error] metadataClient:PickRandom: Replicas - [9281712550732031056], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T23:01:41.443+05:30 [Warn] Fail to find indexers to satisfy query request.  Trying scan again for index 18189472091421218059, reqId: :  write tcp 127.0.0.1:51626->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022/08/01 23:01:41 Expected and Actual scan responses are the same
2022/08/01 23:01:44 Expected and Actual scan responses are the same
--- PASS: TestRangeArrayIndex_Distinct (44.45s)
=== RUN   TestUpdateArrayIndex_Distinct
2022/08/01 23:01:44 In TestUpdateArrayIndex_Distinct()
2022/08/01 23:01:44 In DropAllSecondaryIndexes()
2022/08/01 23:01:44 Index found:  arridx_friends
2022/08/01 23:01:44 Dropped index arridx_friends
2022/08/01 23:02:22 Flushed the bucket default, Response body: 
2022/08/01 23:02:26 Created the secondary index arridx_friends. Waiting for it become active
2022/08/01 23:02:26 Index is 564244228176033700 now active
2022/08/01 23:02:26 Expected and Actual scan responses are the same
2022/08/01 23:02:29 Expected and Actual scan responses are the same
2022/08/01 23:02:29 Expected and Actual scan responses are the same
--- PASS: TestUpdateArrayIndex_Distinct (45.07s)
=== RUN   TestRangeArrayIndex_Duplicate
2022/08/01 23:02:29 In TestRangeArrayIndex_Duplicate()
2022/08/01 23:02:29 In DropAllSecondaryIndexes()
2022/08/01 23:02:29 Index found:  arridx_friends
2022/08/01 23:02:29 Dropped index arridx_friends
2022/08/01 23:03:06 Flushed the bucket default, Response body: 
2022/08/01 23:03:10 Created the secondary index arridx_friends. Waiting for it become active
2022/08/01 23:03:10 Index is 18225010809220069794 now active
2022/08/01 23:03:10 Expected and Actual scan responses are the same
2022/08/01 23:03:13 Expected and Actual scan responses are the same
--- PASS: TestRangeArrayIndex_Duplicate (44.04s)
=== RUN   TestUpdateArrayIndex_Duplicate
2022/08/01 23:03:13 In TestUpdateArrayIndex_Duplicate()
2022/08/01 23:03:13 In DropAllSecondaryIndexes()
2022/08/01 23:03:13 Index found:  arridx_friends
2022/08/01 23:03:13 Dropped index arridx_friends
2022/08/01 23:03:51 Flushed the bucket default, Response body: 
2022/08/01 23:03:55 Created the secondary index arridx_friends. Waiting for it become active
2022/08/01 23:03:55 Index is 14089890297157583815 now active
2022/08/01 23:03:55 Expected and Actual scan responses are the same
2022/08/01 23:03:58 Expected and Actual scan responses are the same
2022/08/01 23:03:58 Expected and Actual scan responses are the same
--- PASS: TestUpdateArrayIndex_Duplicate (44.83s)
=== RUN   TestArrayIndexCornerCases
2022/08/01 23:03:58 In TestArrayIndexCornerCases()
2022/08/01 23:04:02 Created the secondary index arr_single. Waiting for it become active
2022/08/01 23:04:02 Index is 13471700197628634645 now active
2022/08/01 23:04:06 Created the secondary index arr_leading. Waiting for it become active
2022/08/01 23:04:06 Index is 15931821120850104691 now active
2022/08/01 23:04:10 Created the secondary index arr_nonleading. Waiting for it become active
2022/08/01 23:04:10 Index is 14104060637237543599 now active
2022/08/01 23:04:10 

--------ScanAll for EMPTY array--------
2022/08/01 23:04:10 Count of scanResults is 0
2022/08/01 23:04:10 Count of scanResults is 0
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values ["1tEwV6" Missing field or index.] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 

--------ScanAll for MISSING array--------
2022/08/01 23:04:10 Count of scanResults is 0
2022/08/01 23:04:10 Count of scanResults is 0
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values ["9qxTw0" Missing field or index.] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 

--------ScanAll for NULL array--------
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values [null] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values [null ",uQ9Z"] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values [",uQ9Z" null] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 

--------ScanAll for SCALARVALUE array--------
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values ["IamScalar"] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values ["IamScalar" "pz#9l"] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values ["pz#9l" "IamScalar"] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 

--------ScanAll for SCALAROBJECT array--------
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values [{"1":"abc","2":"def"}] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values [{"1":"abc","2":"def"} "3GTMgb"] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
2022/08/01 23:04:10 Count of scanResults is 1
2022/08/01 23:04:10 Key: string 5115947356891885962  Value: value.Values ["3GTMgb" {"1":"abc","2":"def"}] false
2022/08/01 23:04:10 Expected and Actual scan responses are the same
--- PASS: TestArrayIndexCornerCases (12.08s)
=== RUN   TestArraySizeIncreaseDecrease1
2022/08/01 23:04:10 In TestArraySizeIncreaseDecrease1()
2022/08/01 23:04:10 In DropAllSecondaryIndexes()
2022/08/01 23:04:10 Index found:  arr_single
2022/08/01 23:04:10 Dropped index arr_single
2022/08/01 23:04:10 Index found:  arridx_friends
2022/08/01 23:04:10 Dropped index arridx_friends
2022/08/01 23:04:10 Index found:  arr_leading
2022/08/01 23:04:10 Dropped index arr_leading
2022/08/01 23:04:10 Index found:  arr_nonleading
2022/08/01 23:04:10 Dropped index arr_nonleading
2022/08/01 23:04:48 Flushed the bucket default, Response body: 
2022/08/01 23:04:48 Changing config key indexer.settings.allow_large_keys to value false
2022/08/01 23:04:49 Changing config key indexer.settings.max_seckey_size to value 100
2022/08/01 23:04:49 Changing config key indexer.settings.max_array_seckey_size to value 2000
2022/08/01 23:04:50 Start of createArrayDocs()
2022/08/01 23:05:07 End of createArrayDocs()
2022/08/01 23:05:07 Start of createArrayDocs()
2022/08/01 23:05:07 End of createArrayDocs()
2022/08/01 23:05:11 Created the secondary index arr1. Waiting for it become active
2022/08/01 23:05:11 Index is 7010320656752134747 now active
2022/08/01 23:05:15 Created the secondary index arr2. Waiting for it become active
2022/08/01 23:05:15 Index is 12600276256440204749 now active
2022/08/01 23:05:19 Created the secondary index idx3. Waiting for it become active
2022/08/01 23:05:19 Index is 2523268136036234513 now active
2022/08/01 23:05:19 Using n1ql client
2022/08/01 23:05:19 Length of scanResults = 10
2022/08/01 23:05:19 Changing config key indexer.settings.max_seckey_size to value 4096
2022/08/01 23:05:19 Changing config key indexer.settings.max_array_seckey_size to value 51200
2022/08/01 23:05:24 Expected and Actual scan responses are the same
2022/08/01 23:05:24 Using n1ql client
2022/08/01 23:05:24 Expected and Actual scan responses are the same
2022/08/01 23:05:24 Using n1ql client
2022/08/01 23:05:24 Expected and Actual scan responses are the same
2022/08/01 23:05:24 Changing config key indexer.settings.max_seckey_size to value 100
2022/08/01 23:05:24 Changing config key indexer.settings.max_array_seckey_size to value 2200
2022/08/01 23:05:28 Using n1ql client
2022/08/01 23:05:28 Length of scanResults = 10
2022/08/01 23:05:28 Changing config key indexer.settings.max_seckey_size to value 4608
2022/08/01 23:05:28 Changing config key indexer.settings.max_array_seckey_size to value 10240
--- PASS: TestArraySizeIncreaseDecrease1 (79.01s)
=== RUN   TestArraySizeIncreaseDecrease2
2022/08/01 23:05:29 In TestArraySizeIncreaseDecrease2()
2022/08/01 23:05:29 In DropAllSecondaryIndexes()
2022/08/01 23:05:29 Index found:  arr2
2022/08/01 23:05:29 Dropped index arr2
2022/08/01 23:05:29 Index found:  idx3
2022/08/01 23:05:29 Dropped index idx3
2022/08/01 23:05:29 Index found:  arr1
2022/08/01 23:05:29 Dropped index arr1
2022/08/01 23:06:07 Flushed the bucket default, Response body: 
2022/08/01 23:06:07 Changing config key indexer.settings.allow_large_keys to value true
2022/08/01 23:06:08 Changing config key indexer.settings.max_seckey_size to value 100
2022/08/01 23:06:08 Changing config key indexer.settings.max_array_seckey_size to value 2000
2022/08/01 23:06:09 Start of createArrayDocs()
2022/08/01 23:06:26 End of createArrayDocs()
2022/08/01 23:06:26 Start of createArrayDocs()
2022/08/01 23:06:26 End of createArrayDocs()
2022/08/01 23:06:33 Created the secondary index arr1. Waiting for it become active
2022/08/01 23:06:33 Index is 17981842057883419911 now active
2022/08/01 23:06:38 Created the secondary index arr2. Waiting for it become active
2022/08/01 23:06:38 Index is 4161204783323193489 now active
2022/08/01 23:06:42 Created the secondary index idx3. Waiting for it become active
2022/08/01 23:06:42 Index is 4215692863465859210 now active
2022/08/01 23:06:42 Expected and Actual scan responses are the same
2022/08/01 23:06:42 Using n1ql client
2022/08/01 23:06:42 Expected and Actual scan responses are the same
2022/08/01 23:06:42 Using n1ql client
2022/08/01 23:06:42 Expected and Actual scan responses are the same
2022/08/01 23:06:42 Changing config key indexer.settings.max_seckey_size to value 4096
2022/08/01 23:06:42 Changing config key indexer.settings.max_array_seckey_size to value 51200
2022/08/01 23:06:46 Expected and Actual scan responses are the same
2022/08/01 23:06:46 Using n1ql client
2022/08/01 23:06:47 Expected and Actual scan responses are the same
2022/08/01 23:06:47 Using n1ql client
2022/08/01 23:06:47 Expected and Actual scan responses are the same
2022/08/01 23:06:47 Changing config key indexer.settings.max_seckey_size to value 100
2022/08/01 23:06:47 Changing config key indexer.settings.max_array_seckey_size to value 2200
2022/08/01 23:06:51 Expected and Actual scan responses are the same
2022/08/01 23:06:51 Using n1ql client
2022/08/01 23:06:51 Expected and Actual scan responses are the same
2022/08/01 23:06:51 Using n1ql client
2022/08/01 23:06:51 Expected and Actual scan responses are the same
2022/08/01 23:06:51 Changing config key indexer.settings.max_seckey_size to value 4608
2022/08/01 23:06:51 Changing config key indexer.settings.max_array_seckey_size to value 10240
--- PASS: TestArraySizeIncreaseDecrease2 (83.04s)
=== RUN   TestBufferedScan_BackfillDisabled
2022/08/01 23:06:52 In TestBufferedScan_BackfillDisabled()
2022/08/01 23:06:52 In DropAllSecondaryIndexes()
2022/08/01 23:06:52 Index found:  idx3
2022/08/01 23:06:52 Dropped index idx3
2022/08/01 23:06:52 Index found:  arr1
2022/08/01 23:06:52 Dropped index arr1
2022/08/01 23:06:52 Index found:  arr2
2022/08/01 23:06:52 Dropped index arr2
2022/08/01 23:07:30 Flushed the bucket default, Response body: 
2022/08/01 23:08:03 Changing config key queryport.client.settings.backfillLimit to value 0
2022/08/01 23:08:09 Created the secondary index addressidx. Waiting for it become active
2022/08/01 23:08:09 Index is 4311297559656651988 now active
2022-08-01T23:08:09.604+05:30 [Info] metadata provider version changed 1480 -> 1481
2022-08-01T23:08:09.605+05:30 [Info] switched currmeta from 1480 -> 1481 force false 
2022-08-01T23:08:09.605+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:08:09.605+05:30 [Info] GSIC[default/default-_default-_default-1659375489601009060] started ...
2022-08-01T23:08:09.605+05:30 [Warn] MonitorIndexer: Indexer for default:_default:_default is already being monitored
2022/08/01 23:08:09 Non-backfill file found: /tmp/.ICE-unix
2022/08/01 23:08:09 Non-backfill file found: /tmp/.Test-unix
2022/08/01 23:08:09 Non-backfill file found: /tmp/.X11-unix
2022/08/01 23:08:09 Non-backfill file found: /tmp/.XIM-unix
2022/08/01 23:08:09 Non-backfill file found: /tmp/.font-unix
2022/08/01 23:08:09 Non-backfill file found: /tmp/fail.log
2022/08/01 23:08:09 Non-backfill file found: /tmp/go-build1163660700
2022/08/01 23:08:09 Non-backfill file found: /tmp/mdbslice
2022/08/01 23:08:09 Non-backfill file found: /tmp/systemd-private-d5c9238ccef94979bab524ded68fa175-apache2.service-KYH3zv
2022/08/01 23:08:09 Non-backfill file found: /tmp/systemd-private-d5c9238ccef94979bab524ded68fa175-systemd-timesyncd.service-qZ82H2
2022-08-01T23:08:09.618+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T23:08:09.618+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T23:08:09.620+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T23:08:09.620+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T23:08:09.623+05:30 [Info] switched currmeta from 1481 -> 1481 force true 
2022-08-01T23:08:09.623+05:30 [Info] switched currmeta from 1485 -> 1485 force true 
2022/08/01 23:08:09 limit=1,chsize=256; received 1 items; took 28.02192ms
2022-08-01T23:08:11.113+05:30 [Info] [Queryport-connpool:127.0.0.1:9107] active conns 1, free conns 0
2022-08-01T23:08:11.682+05:30 [Info] [Queryport-connpool:127.0.0.1:9107] active conns 0, free conns 1
2022/08/01 23:08:11 limit=1000,chsize=256; received 1000 items; took 1.249205726s
2022-08-01T23:08:12.524+05:30 [Info] Rollback time has changed for index inst 2612397576024636826. New rollback time 1659374986898795667
2022-08-01T23:08:12.524+05:30 [Info] Rollback time has changed for index inst 2612397576024636826. New rollback time 1659374986898795667
2022-08-01T23:08:12.886+05:30 [Info] gsiKeyspace::Close Closing default:_default:_default
--- PASS: TestBufferedScan_BackfillDisabled (80.41s)
=== RUN   TestBufferedScan_BackfillEnabled
2022/08/01 23:08:12 In TestBufferedScan_BackfillEnabled()
2022-08-01T23:08:12.886+05:30 [Info] MetadataProvider.CheckIndexerStatus(): adminport=127.0.0.1:9106 connected=true
2022/08/01 23:08:12 Changing config key queryport.client.settings.backfillLimit to value 1
2022-08-01T23:08:12.900+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:08:12.901+05:30 [Info] GSIC[default/default-_default-_default-1659375492895420596] started ...
2022-08-01T23:08:12.906+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.serverless.indexLimit":200,"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/08/01 23:08:12 limit=1,chsize=256; received 1 items; took 11.818151ms
2022/08/01 23:08:13 limit=1000,chsize=256; received 1000 items; took 8.970088ms
2022/08/01 23:08:26 limit=1000,chsize=256; received 1000 items; took 10.344883233s
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/08/01 23:08:39 limit=1000,chsize=256; received 585 items; took 11.993675901s
2022/08/01 23:08:39 limit=1000,chsize=256; received 585 items; took 12.013863892s
2022/08/01 23:08:40 Changing config key queryport.client.settings.backfillLimit to value 0
--- PASS: TestBufferedScan_BackfillEnabled (27.41s)
=== RUN   TestMultiScanSetup
2022/08/01 23:08:40 In TestMultiScanSetup()
2022/08/01 23:08:41 Emptying the default bucket
2022/08/01 23:08:44 Flush Enabled on bucket default, responseBody: 
2022/08/01 23:09:22 Flushed the bucket default, Response body: 
2022/08/01 23:09:22 Populating the default bucket
2022/08/01 23:09:33 Created the secondary index index_companyname. Waiting for it become active
2022/08/01 23:09:33 Index is 1582118660708222581 now active
2022/08/01 23:09:38 Created the secondary index index_company. Waiting for it become active
2022/08/01 23:09:38 Index is 2895276649560086288 now active
2022/08/01 23:09:42 Created the secondary index index_company_name_age. Waiting for it become active
2022/08/01 23:09:42 Index is 6586904911847691224 now active
2022/08/01 23:09:47 Created the secondary index index_primary. Waiting for it become active
2022/08/01 23:09:47 Index is 5073460378437935229 now active
2022/08/01 23:09:54 Created the secondary index index_company_name_age_address. Waiting for it become active
2022/08/01 23:09:54 Index is 1225167117559177561 now active
2022/08/01 23:09:59 Created the secondary index index_company_name_age_address_friends. Waiting for it become active
2022/08/01 23:09:59 Index is 13139556559909887102 now active
--- PASS: TestMultiScanSetup (79.14s)
=== RUN   TestMultiScanCount
2022/08/01 23:09:59 In TestMultiScanCount()
2022/08/01 23:09:59 

--------- Composite Index with 2 fields ---------
2022/08/01 23:09:59 
--- ScanAllNoFilter ---
2022/08/01 23:09:59 distinct = false
2022/08/01 23:09:59 Using n1ql client
2022/08/01 23:10:00 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:10:00 
--- ScanAllFilterNil ---
2022/08/01 23:10:00 distinct = false
2022/08/01 23:10:00 Using n1ql client
2022/08/01 23:10:00 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:10:00 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:00 distinct = false
2022/08/01 23:10:00 Using n1ql client
2022/08/01 23:10:00 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:10:00 
--- SingleSeek ---
2022/08/01 23:10:00 distinct = false
2022/08/01 23:10:01 Using n1ql client
2022/08/01 23:10:01 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:10:01 
--- MultipleSeek ---
2022/08/01 23:10:01 distinct = false
2022/08/01 23:10:01 Using n1ql client
2022/08/01 23:10:01 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 23:10:01 
--- SimpleRange ---
2022/08/01 23:10:01 distinct = false
2022/08/01 23:10:01 Using n1ql client
2022/08/01 23:10:01 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/08/01 23:10:01 
--- NonOverlappingRanges ---
2022/08/01 23:10:01 distinct = false
2022/08/01 23:10:02 Using n1ql client
2022/08/01 23:10:02 MultiScanCount = 4283 ExpectedMultiScanCount = 4283
2022/08/01 23:10:02 
--- OverlappingRanges ---
2022/08/01 23:10:02 distinct = false
2022/08/01 23:10:02 Using n1ql client
2022/08/01 23:10:02 MultiScanCount = 5756 ExpectedMultiScanCount = 5756
2022/08/01 23:10:02 
--- NonOverlappingFilters ---
2022/08/01 23:10:02 distinct = false
2022/08/01 23:10:03 Using n1ql client
2022/08/01 23:10:03 MultiScanCount = 337 ExpectedMultiScanCount = 337
2022/08/01 23:10:03 
--- OverlappingFilters ---
2022/08/01 23:10:03 distinct = false
2022/08/01 23:10:03 Using n1ql client
2022/08/01 23:10:03 MultiScanCount = 2559 ExpectedMultiScanCount = 2559
2022/08/01 23:10:03 
--- BoundaryFilters ---
2022/08/01 23:10:03 distinct = false
2022/08/01 23:10:03 Using n1ql client
2022/08/01 23:10:03 MultiScanCount = 499 ExpectedMultiScanCount = 499
2022/08/01 23:10:03 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:10:03 distinct = false
2022/08/01 23:10:04 Using n1ql client
2022/08/01 23:10:04 MultiScanCount = 256 ExpectedMultiScanCount = 256
2022/08/01 23:10:04 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:10:04 distinct = false
2022/08/01 23:10:04 Using n1ql client
2022/08/01 23:10:04 MultiScanCount = 255 ExpectedMultiScanCount = 255
2022/08/01 23:10:04 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:10:04 distinct = false
2022/08/01 23:10:04 Using n1ql client
2022/08/01 23:10:04 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/08/01 23:10:04 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:10:04 distinct = false
2022/08/01 23:10:05 Using n1ql client
2022/08/01 23:10:05 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/08/01 23:10:05 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:10:05 distinct = false
2022/08/01 23:10:05 Using n1ql client
2022/08/01 23:10:05 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:10:05 
--- FiltersWithUnbounded ---
2022/08/01 23:10:05 distinct = false
2022/08/01 23:10:06 Using n1ql client
2022/08/01 23:10:06 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/08/01 23:10:06 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:10:06 distinct = false
2022/08/01 23:10:06 Using n1ql client
2022/08/01 23:10:06 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/08/01 23:10:06 

--------- Simple Index with 1 field ---------
2022/08/01 23:10:06 
--- SingleIndexSimpleRange ---
2022/08/01 23:10:06 distinct = false
2022/08/01 23:10:06 Using n1ql client
2022/08/01 23:10:06 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/08/01 23:10:06 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:10:06 distinct = false
2022/08/01 23:10:07 Using n1ql client
2022/08/01 23:10:07 MultiScanCount = 7140 ExpectedMultiScanCount = 7140
2022/08/01 23:10:07 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:10:07 distinct = false
2022/08/01 23:10:07 Using n1ql client
2022/08/01 23:10:07 MultiScanCount = 8701 ExpectedMultiScanCount = 8701
2022/08/01 23:10:07 

--------- Composite Index with 3 fields ---------
2022/08/01 23:10:07 
--- ScanAllNoFilter ---
2022/08/01 23:10:07 distinct = false
2022/08/01 23:10:07 Using n1ql client
2022/08/01 23:10:07 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:10:07 
--- ScanAllFilterNil ---
2022/08/01 23:10:07 distinct = false
2022/08/01 23:10:08 Using n1ql client
2022/08/01 23:10:08 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:10:08 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:08 distinct = false
2022/08/01 23:10:08 Using n1ql client
2022/08/01 23:10:08 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:10:08 
--- 3FieldsSingleSeek ---
2022/08/01 23:10:08 distinct = false
2022/08/01 23:10:09 Using n1ql client
2022/08/01 23:10:09 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:10:09 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:10:09 distinct = false
2022/08/01 23:10:09 Using n1ql client
2022/08/01 23:10:09 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/08/01 23:10:09 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:10:09 distinct = false
2022/08/01 23:10:09 Using n1ql client
2022/08/01 23:10:09 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 23:10:09 

--------- New scenarios ---------
2022/08/01 23:10:09 
--- CompIndexHighUnbounded1 ---
2022/08/01 23:10:09 
--- Multi Scan 0 ---
2022/08/01 23:10:09 distinct = false
2022/08/01 23:10:10 Using n1ql client
2022/08/01 23:10:10 Using n1ql client
2022/08/01 23:10:10 len(scanResults) = 8 MultiScanCount = 8
2022/08/01 23:10:10 Expected and Actual scan responses are the same
2022/08/01 23:10:10 
--- Multi Scan 1 ---
2022/08/01 23:10:10 distinct = false
2022/08/01 23:10:10 Using n1ql client
2022/08/01 23:10:10 Using n1ql client
2022/08/01 23:10:10 len(scanResults) = 0 MultiScanCount = 0
2022/08/01 23:10:10 Expected and Actual scan responses are the same
2022/08/01 23:10:10 
--- Multi Scan 2 ---
2022/08/01 23:10:10 distinct = false
2022/08/01 23:10:10 Using n1ql client
2022/08/01 23:10:10 Using n1ql client
2022/08/01 23:10:10 len(scanResults) = 9 MultiScanCount = 9
2022/08/01 23:10:10 Expected and Actual scan responses are the same
2022/08/01 23:10:10 
--- CompIndexHighUnbounded2 ---
2022/08/01 23:10:10 
--- Multi Scan 0 ---
2022/08/01 23:10:10 distinct = false
2022/08/01 23:10:11 Using n1ql client
2022/08/01 23:10:11 Using n1ql client
2022/08/01 23:10:11 len(scanResults) = 4138 MultiScanCount = 4138
2022/08/01 23:10:11 Expected and Actual scan responses are the same
2022/08/01 23:10:11 
--- Multi Scan 1 ---
2022/08/01 23:10:11 distinct = false
2022/08/01 23:10:11 Using n1ql client
2022/08/01 23:10:11 Using n1ql client
2022/08/01 23:10:11 len(scanResults) = 2746 MultiScanCount = 2746
2022/08/01 23:10:11 Expected and Actual scan responses are the same
2022/08/01 23:10:11 
--- Multi Scan 2 ---
2022/08/01 23:10:11 distinct = false
2022/08/01 23:10:12 Using n1ql client
2022/08/01 23:10:12 Using n1ql client
2022/08/01 23:10:12 len(scanResults) = 4691 MultiScanCount = 4691
2022/08/01 23:10:12 Expected and Actual scan responses are the same
2022/08/01 23:10:12 
--- CompIndexHighUnbounded3 ---
2022/08/01 23:10:12 
--- Multi Scan 0 ---
2022/08/01 23:10:12 distinct = false
2022/08/01 23:10:12 Using n1ql client
2022/08/01 23:10:12 Using n1ql client
2022/08/01 23:10:12 len(scanResults) = 1329 MultiScanCount = 1329
2022/08/01 23:10:12 Expected and Actual scan responses are the same
2022/08/01 23:10:12 
--- CompIndexHighUnbounded4 ---
2022/08/01 23:10:12 
--- Multi Scan 0 ---
2022/08/01 23:10:12 distinct = false
2022/08/01 23:10:12 Using n1ql client
2022/08/01 23:10:12 Using n1ql client
2022/08/01 23:10:12 len(scanResults) = 5349 MultiScanCount = 5349
2022/08/01 23:10:12 Expected and Actual scan responses are the same
2022/08/01 23:10:12 
--- CompIndexHighUnbounded5 ---
2022/08/01 23:10:12 
--- Multi Scan 0 ---
2022/08/01 23:10:12 distinct = false
2022/08/01 23:10:13 Using n1ql client
2022/08/01 23:10:13 Using n1ql client
2022/08/01 23:10:13 len(scanResults) = 8210 MultiScanCount = 8210
2022/08/01 23:10:13 Expected and Actual scan responses are the same
2022/08/01 23:10:13 
--- SeekBoundaries ---
2022/08/01 23:10:13 
--- Multi Scan 0 ---
2022/08/01 23:10:13 distinct = false
2022/08/01 23:10:13 Using n1ql client
2022/08/01 23:10:13 Using n1ql client
2022/08/01 23:10:13 len(scanResults) = 175 MultiScanCount = 175
2022/08/01 23:10:13 Expected and Actual scan responses are the same
2022/08/01 23:10:13 
--- Multi Scan 1 ---
2022/08/01 23:10:13 distinct = false
2022/08/01 23:10:14 Using n1ql client
2022/08/01 23:10:14 Using n1ql client
2022/08/01 23:10:14 len(scanResults) = 1 MultiScanCount = 1
2022/08/01 23:10:14 Expected and Actual scan responses are the same
2022/08/01 23:10:14 
--- Multi Scan 2 ---
2022/08/01 23:10:14 distinct = false
2022/08/01 23:10:14 Using n1ql client
2022/08/01 23:10:14 Using n1ql client
2022/08/01 23:10:14 len(scanResults) = 555 MultiScanCount = 555
2022/08/01 23:10:14 Expected and Actual scan responses are the same
2022/08/01 23:10:14 
--- Multi Scan 3 ---
2022/08/01 23:10:14 distinct = false
2022/08/01 23:10:14 Using n1ql client
2022/08/01 23:10:14 Using n1ql client
2022/08/01 23:10:14 len(scanResults) = 872 MultiScanCount = 872
2022/08/01 23:10:14 Expected and Actual scan responses are the same
2022/08/01 23:10:14 
--- Multi Scan 4 ---
2022/08/01 23:10:14 distinct = false
2022/08/01 23:10:15 Using n1ql client
2022/08/01 23:10:15 Using n1ql client
2022/08/01 23:10:15 len(scanResults) = 287 MultiScanCount = 287
2022/08/01 23:10:15 Expected and Actual scan responses are the same
2022/08/01 23:10:15 
--- Multi Scan 5 ---
2022/08/01 23:10:15 distinct = false
2022/08/01 23:10:15 Using n1ql client
2022/08/01 23:10:15 Using n1ql client
2022/08/01 23:10:15 len(scanResults) = 5254 MultiScanCount = 5254
2022/08/01 23:10:15 Expected and Actual scan responses are the same
2022/08/01 23:10:15 
--- Multi Scan 6 ---
2022/08/01 23:10:15 distinct = false
2022/08/01 23:10:16 Using n1ql client
2022/08/01 23:10:16 Using n1ql client
2022/08/01 23:10:16 len(scanResults) = 5566 MultiScanCount = 5566
2022/08/01 23:10:16 Expected and Actual scan responses are the same
2022/08/01 23:10:16 
--- Multi Scan 7 ---
2022/08/01 23:10:16 distinct = false
2022/08/01 23:10:16 Using n1ql client
2022/08/01 23:10:16 Using n1ql client
2022/08/01 23:10:16 len(scanResults) = 8 MultiScanCount = 8
2022/08/01 23:10:16 Expected and Actual scan responses are the same
2022/08/01 23:10:16 

--------- With DISTINCT True ---------
2022/08/01 23:10:16 
--- ScanAllNoFilter ---
2022/08/01 23:10:16 distinct = true
2022/08/01 23:10:16 Using n1ql client
2022/08/01 23:10:16 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:10:16 
--- ScanAllFilterNil ---
2022/08/01 23:10:16 distinct = true
2022/08/01 23:10:17 Using n1ql client
2022/08/01 23:10:17 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:10:17 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:17 distinct = true
2022/08/01 23:10:17 Using n1ql client
2022/08/01 23:10:17 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:10:17 
--- SingleSeek ---
2022/08/01 23:10:17 distinct = true
2022/08/01 23:10:17 Using n1ql client
2022/08/01 23:10:17 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:10:17 
--- MultipleSeek ---
2022/08/01 23:10:17 distinct = true
2022/08/01 23:10:18 Using n1ql client
2022/08/01 23:10:18 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 23:10:18 
--- SimpleRange ---
2022/08/01 23:10:18 distinct = true
2022/08/01 23:10:18 Using n1ql client
2022/08/01 23:10:18 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/08/01 23:10:18 
--- NonOverlappingRanges ---
2022/08/01 23:10:18 distinct = true
2022/08/01 23:10:19 Using n1ql client
2022/08/01 23:10:19 MultiScanCount = 428 ExpectedMultiScanCount = 428
2022/08/01 23:10:19 
--- OverlappingRanges ---
2022/08/01 23:10:19 distinct = true
2022/08/01 23:10:19 Using n1ql client
2022/08/01 23:10:19 MultiScanCount = 575 ExpectedMultiScanCount = 575
2022/08/01 23:10:19 
--- NonOverlappingFilters ---
2022/08/01 23:10:19 distinct = true
2022/08/01 23:10:19 Using n1ql client
2022/08/01 23:10:19 MultiScanCount = 186 ExpectedMultiScanCount = 186
2022/08/01 23:10:19 
--- NonOverlappingFilters2 ---
2022/08/01 23:10:19 distinct = true
2022/08/01 23:10:20 Using n1ql client
2022/08/01 23:10:20 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:10:20 
--- OverlappingFilters ---
2022/08/01 23:10:20 distinct = true
2022/08/01 23:10:20 Using n1ql client
2022/08/01 23:10:20 MultiScanCount = 543 ExpectedMultiScanCount = 543
2022/08/01 23:10:20 
--- BoundaryFilters ---
2022/08/01 23:10:20 distinct = true
2022/08/01 23:10:20 Using n1ql client
2022/08/01 23:10:20 MultiScanCount = 172 ExpectedMultiScanCount = 172
2022/08/01 23:10:20 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:10:20 distinct = true
2022/08/01 23:10:21 Using n1ql client
2022/08/01 23:10:21 MultiScanCount = 135 ExpectedMultiScanCount = 135
2022/08/01 23:10:21 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:10:21 distinct = true
2022/08/01 23:10:21 Using n1ql client
2022/08/01 23:10:21 MultiScanCount = 134 ExpectedMultiScanCount = 134
2022/08/01 23:10:21 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:10:21 distinct = false
2022/08/01 23:10:21 Using n1ql client
2022/08/01 23:10:21 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/08/01 23:10:21 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:10:21 distinct = false
2022/08/01 23:10:22 Using n1ql client
2022/08/01 23:10:22 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/08/01 23:10:22 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:10:22 distinct = false
2022/08/01 23:10:22 Using n1ql client
2022/08/01 23:10:22 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:10:22 
--- FiltersWithUnbounded ---
2022/08/01 23:10:22 distinct = false
2022/08/01 23:10:23 Using n1ql client
2022/08/01 23:10:23 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/08/01 23:10:23 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:10:23 distinct = false
2022/08/01 23:10:23 Using n1ql client
2022/08/01 23:10:23 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/08/01 23:10:23 

--------- Simple Index with 1 field ---------
2022/08/01 23:10:23 
--- SingleIndexSimpleRange ---
2022/08/01 23:10:23 distinct = true
2022/08/01 23:10:23 Using n1ql client
2022/08/01 23:10:23 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/08/01 23:10:23 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:10:23 distinct = true
2022/08/01 23:10:24 Using n1ql client
2022/08/01 23:10:24 MultiScanCount = 713 ExpectedMultiScanCount = 713
2022/08/01 23:10:24 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:10:24 distinct = true
2022/08/01 23:10:24 Using n1ql client
2022/08/01 23:10:24 MultiScanCount = 869 ExpectedMultiScanCount = 869
2022/08/01 23:10:24 

--------- Composite Index with 3 fields ---------
2022/08/01 23:10:24 
--- ScanAllNoFilter ---
2022/08/01 23:10:24 distinct = true
2022/08/01 23:10:24 Using n1ql client
2022/08/01 23:10:24 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:10:24 
--- ScanAllFilterNil ---
2022/08/01 23:10:24 distinct = true
2022/08/01 23:10:25 Using n1ql client
2022/08/01 23:10:25 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:10:25 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:25 distinct = true
2022/08/01 23:10:25 Using n1ql client
2022/08/01 23:10:25 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:10:25 
--- 3FieldsSingleSeek ---
2022/08/01 23:10:25 distinct = true
2022/08/01 23:10:26 Using n1ql client
2022/08/01 23:10:26 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:10:26 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:10:26 distinct = true
2022/08/01 23:10:26 Using n1ql client
2022/08/01 23:10:26 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/08/01 23:10:26 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:10:26 distinct = true
2022/08/01 23:10:26 Using n1ql client
2022/08/01 23:10:26 MultiScanCount = 2 ExpectedMultiScanCount = 2
--- PASS: TestMultiScanCount (27.52s)
=== RUN   TestMultiScanScenarios
2022/08/01 23:10:26 In TestMultiScanScenarios()
2022/08/01 23:10:26 

--------- Composite Index with 2 fields ---------
2022/08/01 23:10:26 
--- ScanAllNoFilter ---
2022/08/01 23:10:26 distinct = false
2022/08/01 23:10:27 Using n1ql client
2022/08/01 23:10:27 Expected and Actual scan responses are the same
2022/08/01 23:10:27 
--- ScanAllFilterNil ---
2022/08/01 23:10:27 distinct = false
2022/08/01 23:10:27 Using n1ql client
2022/08/01 23:10:27 Expected and Actual scan responses are the same
2022/08/01 23:10:27 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:27 distinct = false
2022/08/01 23:10:28 Using n1ql client
2022/08/01 23:10:28 Expected and Actual scan responses are the same
2022/08/01 23:10:28 
--- SingleSeek ---
2022/08/01 23:10:28 distinct = false
2022/08/01 23:10:28 Using n1ql client
2022/08/01 23:10:28 Expected and Actual scan responses are the same
2022/08/01 23:10:28 
--- MultipleSeek ---
2022/08/01 23:10:28 distinct = false
2022/08/01 23:10:28 Using n1ql client
2022/08/01 23:10:28 Expected and Actual scan responses are the same
2022/08/01 23:10:28 
--- SimpleRange ---
2022/08/01 23:10:28 distinct = false
2022/08/01 23:10:29 Using n1ql client
2022/08/01 23:10:29 Expected and Actual scan responses are the same
2022/08/01 23:10:29 
--- NonOverlappingRanges ---
2022/08/01 23:10:29 distinct = false
2022/08/01 23:10:29 Using n1ql client
2022/08/01 23:10:29 Expected and Actual scan responses are the same
2022/08/01 23:10:29 
--- OverlappingRanges ---
2022/08/01 23:10:29 distinct = false
2022/08/01 23:10:30 Using n1ql client
2022/08/01 23:10:30 Expected and Actual scan responses are the same
2022/08/01 23:10:30 
--- NonOverlappingFilters ---
2022/08/01 23:10:30 distinct = false
2022/08/01 23:10:30 Using n1ql client
2022/08/01 23:10:30 Expected and Actual scan responses are the same
2022/08/01 23:10:30 
--- OverlappingFilters ---
2022/08/01 23:10:30 distinct = false
2022/08/01 23:10:30 Using n1ql client
2022/08/01 23:10:30 Expected and Actual scan responses are the same
2022/08/01 23:10:30 
--- BoundaryFilters ---
2022/08/01 23:10:30 distinct = false
2022/08/01 23:10:31 Using n1ql client
2022/08/01 23:10:31 Expected and Actual scan responses are the same
2022/08/01 23:10:31 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:10:31 distinct = false
2022/08/01 23:10:31 Using n1ql client
2022/08/01 23:10:31 Expected and Actual scan responses are the same
2022/08/01 23:10:31 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:10:31 distinct = false
2022/08/01 23:10:31 Using n1ql client
2022/08/01 23:10:31 Expected and Actual scan responses are the same
2022/08/01 23:10:31 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:10:31 distinct = false
2022/08/01 23:10:32 Using n1ql client
2022/08/01 23:10:32 Expected and Actual scan responses are the same
2022/08/01 23:10:32 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:10:32 distinct = false
2022/08/01 23:10:32 Using n1ql client
2022/08/01 23:10:32 Expected and Actual scan responses are the same
2022/08/01 23:10:32 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:10:32 distinct = false
2022/08/01 23:10:33 Using n1ql client
2022/08/01 23:10:33 Expected and Actual scan responses are the same
2022/08/01 23:10:33 
--- FiltersWithUnbounded ---
2022/08/01 23:10:33 distinct = false
2022/08/01 23:10:33 Using n1ql client
2022/08/01 23:10:33 Expected and Actual scan responses are the same
2022/08/01 23:10:33 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:10:33 distinct = false
2022/08/01 23:10:33 Using n1ql client
2022/08/01 23:10:33 Expected and Actual scan responses are the same
2022/08/01 23:10:33 

--------- Simple Index with 1 field ---------
2022/08/01 23:10:33 
--- SingleIndexSimpleRange ---
2022/08/01 23:10:33 distinct = false
2022/08/01 23:10:34 Using n1ql client
2022/08/01 23:10:34 Expected and Actual scan responses are the same
2022/08/01 23:10:34 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:10:34 distinct = false
2022/08/01 23:10:34 Using n1ql client
2022/08/01 23:10:34 Expected and Actual scan responses are the same
2022/08/01 23:10:34 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:10:34 distinct = false
2022/08/01 23:10:34 Using n1ql client
2022/08/01 23:10:34 Expected and Actual scan responses are the same
2022/08/01 23:10:34 

--------- Composite Index with 3 fields ---------
2022/08/01 23:10:34 
--- ScanAllNoFilter ---
2022/08/01 23:10:34 distinct = false
2022/08/01 23:10:35 Using n1ql client
2022/08/01 23:10:35 Expected and Actual scan responses are the same
2022/08/01 23:10:35 
--- ScanAllFilterNil ---
2022/08/01 23:10:35 distinct = false
2022/08/01 23:10:35 Using n1ql client
2022/08/01 23:10:35 Expected and Actual scan responses are the same
2022/08/01 23:10:35 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:35 distinct = false
2022/08/01 23:10:36 Using n1ql client
2022/08/01 23:10:36 Expected and Actual scan responses are the same
2022/08/01 23:10:36 
--- 3FieldsSingleSeek ---
2022/08/01 23:10:36 distinct = false
2022/08/01 23:10:36 Using n1ql client
2022/08/01 23:10:36 Expected and Actual scan responses are the same
2022/08/01 23:10:36 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:10:36 distinct = false
2022/08/01 23:10:37 Using n1ql client
2022/08/01 23:10:37 Expected and Actual scan responses are the same
2022/08/01 23:10:37 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:10:37 distinct = false
2022/08/01 23:10:37 Using n1ql client
2022/08/01 23:10:37 Expected and Actual scan responses are the same
2022/08/01 23:10:37 

--------- New scenarios ---------
2022/08/01 23:10:37 
--- CompIndexHighUnbounded1 ---
2022/08/01 23:10:37 
--- Multi Scan 0 ---
2022/08/01 23:10:37 distinct = false
2022/08/01 23:10:37 Using n1ql client
2022/08/01 23:10:37 Expected and Actual scan responses are the same
2022/08/01 23:10:37 
--- Multi Scan 1 ---
2022/08/01 23:10:37 distinct = false
2022/08/01 23:10:38 Using n1ql client
2022/08/01 23:10:38 Expected and Actual scan responses are the same
2022/08/01 23:10:38 
--- Multi Scan 2 ---
2022/08/01 23:10:38 distinct = false
2022/08/01 23:10:38 Using n1ql client
2022/08/01 23:10:38 Expected and Actual scan responses are the same
2022/08/01 23:10:38 
--- CompIndexHighUnbounded2 ---
2022/08/01 23:10:38 
--- Multi Scan 0 ---
2022/08/01 23:10:38 distinct = false
2022/08/01 23:10:39 Using n1ql client
2022/08/01 23:10:39 Expected and Actual scan responses are the same
2022/08/01 23:10:39 
--- Multi Scan 1 ---
2022/08/01 23:10:39 distinct = false
2022/08/01 23:10:39 Using n1ql client
2022/08/01 23:10:39 Expected and Actual scan responses are the same
2022/08/01 23:10:39 
--- Multi Scan 2 ---
2022/08/01 23:10:39 distinct = false
2022/08/01 23:10:39 Using n1ql client
2022/08/01 23:10:39 Expected and Actual scan responses are the same
2022/08/01 23:10:39 
--- CompIndexHighUnbounded3 ---
2022/08/01 23:10:39 
--- Multi Scan 0 ---
2022/08/01 23:10:39 distinct = false
2022/08/01 23:10:40 Using n1ql client
2022/08/01 23:10:40 Expected and Actual scan responses are the same
2022/08/01 23:10:40 
--- CompIndexHighUnbounded4 ---
2022/08/01 23:10:40 
--- Multi Scan 0 ---
2022/08/01 23:10:40 distinct = false
2022/08/01 23:10:40 Using n1ql client
2022/08/01 23:10:40 Expected and Actual scan responses are the same
2022/08/01 23:10:40 
--- CompIndexHighUnbounded5 ---
2022/08/01 23:10:40 
--- Multi Scan 0 ---
2022/08/01 23:10:40 distinct = false
2022/08/01 23:10:41 Using n1ql client
2022/08/01 23:10:41 Expected and Actual scan responses are the same
2022/08/01 23:10:41 
--- SeekBoundaries ---
2022/08/01 23:10:41 
--- Multi Scan 0 ---
2022/08/01 23:10:41 distinct = false
2022/08/01 23:10:41 Using n1ql client
2022/08/01 23:10:41 Expected and Actual scan responses are the same
2022/08/01 23:10:41 
--- Multi Scan 1 ---
2022/08/01 23:10:41 distinct = false
2022/08/01 23:10:41 Using n1ql client
2022/08/01 23:10:41 Expected and Actual scan responses are the same
2022/08/01 23:10:41 
--- Multi Scan 2 ---
2022/08/01 23:10:41 distinct = false
2022/08/01 23:10:42 Using n1ql client
2022/08/01 23:10:42 Expected and Actual scan responses are the same
2022/08/01 23:10:42 
--- Multi Scan 3 ---
2022/08/01 23:10:42 distinct = false
2022/08/01 23:10:42 Using n1ql client
2022/08/01 23:10:42 Expected and Actual scan responses are the same
2022/08/01 23:10:42 
--- Multi Scan 4 ---
2022/08/01 23:10:42 distinct = false
2022/08/01 23:10:42 Using n1ql client
2022/08/01 23:10:42 Expected and Actual scan responses are the same
2022/08/01 23:10:42 
--- Multi Scan 5 ---
2022/08/01 23:10:42 distinct = false
2022/08/01 23:10:43 Using n1ql client
2022/08/01 23:10:43 Expected and Actual scan responses are the same
2022/08/01 23:10:43 
--- Multi Scan 6 ---
2022/08/01 23:10:43 distinct = false
2022/08/01 23:10:43 Using n1ql client
2022/08/01 23:10:43 Expected and Actual scan responses are the same
2022/08/01 23:10:43 
--- Multi Scan 7 ---
2022/08/01 23:10:43 distinct = false
2022/08/01 23:10:44 Using n1ql client
2022/08/01 23:10:44 Expected and Actual scan responses are the same
2022/08/01 23:10:44 
--- PrefixSortVariations ---
2022/08/01 23:10:44 
--- Multi Scan 0 ---
2022/08/01 23:10:44 distinct = false
2022/08/01 23:10:44 Using n1ql client
2022/08/01 23:10:44 Expected and Actual scan responses are the same
2022/08/01 23:10:44 
--- Multi Scan 1 ---
2022/08/01 23:10:44 distinct = false
2022/08/01 23:10:44 Using n1ql client
2022/08/01 23:10:44 Expected and Actual scan responses are the same
--- PASS: TestMultiScanScenarios (17.98s)
=== RUN   TestMultiScanOffset
2022/08/01 23:10:44 In TestMultiScanOffset()
2022/08/01 23:10:44 

--------- Composite Index with 2 fields ---------
2022/08/01 23:10:44 
--- ScanAllNoFilter ---
2022/08/01 23:10:44 distinct = false
2022/08/01 23:10:45 Using n1ql client
2022/08/01 23:10:45 
--- ScanAllFilterNil ---
2022/08/01 23:10:45 distinct = false
2022/08/01 23:10:45 Using n1ql client
2022/08/01 23:10:45 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:45 distinct = false
2022/08/01 23:10:45 Using n1ql client
2022/08/01 23:10:45 
--- SingleSeek ---
2022/08/01 23:10:45 distinct = false
2022/08/01 23:10:46 Using n1ql client
2022/08/01 23:10:46 
--- MultipleSeek ---
2022/08/01 23:10:46 distinct = false
2022/08/01 23:10:46 Using n1ql client
2022/08/01 23:10:46 
--- SimpleRange ---
2022/08/01 23:10:46 distinct = false
2022/08/01 23:10:47 Using n1ql client
2022/08/01 23:10:47 
--- NonOverlappingRanges ---
2022/08/01 23:10:47 distinct = false
2022/08/01 23:10:47 Using n1ql client
2022/08/01 23:10:47 
--- OverlappingRanges ---
2022/08/01 23:10:47 distinct = false
2022/08/01 23:10:47 Using n1ql client
2022/08/01 23:10:47 
--- NonOverlappingFilters ---
2022/08/01 23:10:47 distinct = false
2022/08/01 23:10:48 Using n1ql client
2022/08/01 23:10:48 
--- OverlappingFilters ---
2022/08/01 23:10:48 distinct = false
2022/08/01 23:10:49 Using n1ql client
2022/08/01 23:10:49 
--- BoundaryFilters ---
2022/08/01 23:10:49 distinct = false
2022/08/01 23:10:49 Using n1ql client
2022/08/01 23:10:49 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:10:49 distinct = false
2022/08/01 23:10:49 Using n1ql client
2022/08/01 23:10:49 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:10:49 distinct = false
2022/08/01 23:10:50 Using n1ql client
2022/08/01 23:10:50 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:10:50 distinct = false
2022/08/01 23:10:50 Using n1ql client
2022/08/01 23:10:50 Expected and Actual scan responses are the same
2022/08/01 23:10:50 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:10:50 distinct = false
2022/08/01 23:10:51 Using n1ql client
2022/08/01 23:10:51 Expected and Actual scan responses are the same
2022/08/01 23:10:51 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:10:51 distinct = false
2022/08/01 23:10:51 Using n1ql client
2022/08/01 23:10:51 Expected and Actual scan responses are the same
2022/08/01 23:10:51 
--- FiltersWithUnbounded ---
2022/08/01 23:10:51 distinct = false
2022/08/01 23:10:51 Using n1ql client
2022/08/01 23:10:51 Expected and Actual scan responses are the same
2022/08/01 23:10:51 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:10:51 distinct = false
2022/08/01 23:10:52 Using n1ql client
2022/08/01 23:10:52 Expected and Actual scan responses are the same
2022/08/01 23:10:52 

--------- Simple Index with 1 field ---------
2022/08/01 23:10:52 
--- SingleIndexSimpleRange ---
2022/08/01 23:10:52 distinct = false
2022/08/01 23:10:52 Using n1ql client
2022/08/01 23:10:52 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:10:52 distinct = false
2022/08/01 23:10:53 Using n1ql client
2022/08/01 23:10:53 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:10:53 distinct = false
2022/08/01 23:10:53 Using n1ql client
2022/08/01 23:10:53 

--------- Composite Index with 3 fields ---------
2022/08/01 23:10:53 
--- ScanAllNoFilter ---
2022/08/01 23:10:53 distinct = false
2022/08/01 23:10:53 Using n1ql client
2022/08/01 23:10:53 
--- ScanAllFilterNil ---
2022/08/01 23:10:53 distinct = false
2022/08/01 23:10:54 Using n1ql client
2022/08/01 23:10:54 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:54 distinct = false
2022/08/01 23:10:54 Using n1ql client
2022/08/01 23:10:54 
--- 3FieldsSingleSeek ---
2022/08/01 23:10:54 distinct = false
2022/08/01 23:10:55 Using n1ql client
2022/08/01 23:10:55 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:10:55 distinct = false
2022/08/01 23:10:55 Using n1ql client
2022/08/01 23:10:55 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:10:55 distinct = false
2022/08/01 23:10:55 Using n1ql client
--- PASS: TestMultiScanOffset (10.92s)
=== RUN   TestMultiScanPrimaryIndex
2022/08/01 23:10:55 In TestMultiScanPrimaryIndex()
2022/08/01 23:10:55 
--- PrimaryRange ---
2022/08/01 23:10:55 Using n1ql client
2022/08/01 23:10:55 Expected and Actual scan responses are the same
2022/08/01 23:10:55 
--- PrimaryScanAllNoFilter ---
2022/08/01 23:10:55 Using n1ql client
2022/08/01 23:10:55 Expected and Actual scan responses are the same
--- PASS: TestMultiScanPrimaryIndex (0.07s)
=== RUN   TestMultiScanDistinct
2022/08/01 23:10:55 In TestScansDistinct()
2022/08/01 23:10:55 

--------- Composite Index with 2 fields ---------
2022/08/01 23:10:55 
--- ScanAllNoFilter ---
2022/08/01 23:10:55 distinct = true
2022/08/01 23:10:56 Using n1ql client
2022/08/01 23:10:56 Expected and Actual scan responses are the same
2022/08/01 23:10:56 
--- ScanAllFilterNil ---
2022/08/01 23:10:56 distinct = true
2022/08/01 23:10:56 Using n1ql client
2022/08/01 23:10:56 Expected and Actual scan responses are the same
2022/08/01 23:10:56 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:10:56 distinct = true
2022/08/01 23:10:57 Using n1ql client
2022/08/01 23:10:57 Expected and Actual scan responses are the same
2022/08/01 23:10:57 
--- SingleSeek ---
2022/08/01 23:10:57 distinct = true
2022/08/01 23:10:57 Using n1ql client
2022/08/01 23:10:57 Expected and Actual scan responses are the same
2022/08/01 23:10:57 
--- MultipleSeek ---
2022/08/01 23:10:57 distinct = true
2022/08/01 23:10:58 Using n1ql client
2022/08/01 23:10:58 Expected and Actual scan responses are the same
2022/08/01 23:10:58 
--- SimpleRange ---
2022/08/01 23:10:58 distinct = true
2022/08/01 23:10:58 Using n1ql client
2022/08/01 23:10:58 Expected and Actual scan responses are the same
2022/08/01 23:10:58 
--- NonOverlappingRanges ---
2022/08/01 23:10:58 distinct = true
2022/08/01 23:10:58 Using n1ql client
2022/08/01 23:10:58 Expected and Actual scan responses are the same
2022/08/01 23:10:58 
--- OverlappingRanges ---
2022/08/01 23:10:58 distinct = true
2022/08/01 23:10:59 Using n1ql client
2022/08/01 23:10:59 Expected and Actual scan responses are the same
2022/08/01 23:10:59 
--- NonOverlappingFilters ---
2022/08/01 23:10:59 distinct = true
2022/08/01 23:10:59 Using n1ql client
2022/08/01 23:10:59 Expected and Actual scan responses are the same
2022/08/01 23:10:59 
--- OverlappingFilters ---
2022/08/01 23:10:59 distinct = true
2022/08/01 23:10:59 Using n1ql client
2022/08/01 23:10:59 Expected and Actual scan responses are the same
2022/08/01 23:10:59 
--- BoundaryFilters ---
2022/08/01 23:10:59 distinct = true
2022/08/01 23:11:00 Using n1ql client
2022/08/01 23:11:00 Expected and Actual scan responses are the same
2022/08/01 23:11:00 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:11:00 distinct = true
2022/08/01 23:11:00 Using n1ql client
2022/08/01 23:11:00 Expected and Actual scan responses are the same
2022/08/01 23:11:00 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:11:00 distinct = true
2022/08/01 23:11:01 Using n1ql client
2022/08/01 23:11:01 Expected and Actual scan responses are the same
2022/08/01 23:11:01 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:11:01 distinct = false
2022/08/01 23:11:01 Using n1ql client
2022/08/01 23:11:01 Expected and Actual scan responses are the same
2022/08/01 23:11:01 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:11:01 distinct = false
2022/08/01 23:11:01 Using n1ql client
2022/08/01 23:11:01 Expected and Actual scan responses are the same
2022/08/01 23:11:01 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:11:01 distinct = false
2022/08/01 23:11:02 Using n1ql client
2022/08/01 23:11:02 Expected and Actual scan responses are the same
2022/08/01 23:11:02 
--- FiltersWithUnbounded ---
2022/08/01 23:11:02 distinct = false
2022/08/01 23:11:02 Using n1ql client
2022/08/01 23:11:02 Expected and Actual scan responses are the same
2022/08/01 23:11:02 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:11:02 distinct = false
2022/08/01 23:11:03 Using n1ql client
2022/08/01 23:11:03 Expected and Actual scan responses are the same
2022/08/01 23:11:03 

--------- Simple Index with 1 field ---------
2022/08/01 23:11:03 
--- SingleIndexSimpleRange ---
2022/08/01 23:11:03 distinct = true
2022/08/01 23:11:03 Using n1ql client
2022/08/01 23:11:03 Expected and Actual scan responses are the same
2022/08/01 23:11:03 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:11:03 distinct = true
2022/08/01 23:11:03 Using n1ql client
2022/08/01 23:11:03 Expected and Actual scan responses are the same
2022/08/01 23:11:03 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:11:03 distinct = true
2022/08/01 23:11:03 Using n1ql client
2022/08/01 23:11:04 Expected and Actual scan responses are the same
2022/08/01 23:11:04 

--------- Composite Index with 3 fields ---------
2022/08/01 23:11:04 
--- ScanAllNoFilter ---
2022/08/01 23:11:04 distinct = true
2022/08/01 23:11:04 Using n1ql client
2022/08/01 23:11:04 Expected and Actual scan responses are the same
2022/08/01 23:11:04 
--- ScanAllFilterNil ---
2022/08/01 23:11:04 distinct = true
2022/08/01 23:11:04 Using n1ql client
2022/08/01 23:11:04 Expected and Actual scan responses are the same
2022/08/01 23:11:04 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:11:04 distinct = true
2022/08/01 23:11:05 Using n1ql client
2022/08/01 23:11:05 Expected and Actual scan responses are the same
2022/08/01 23:11:05 
--- 3FieldsSingleSeek ---
2022/08/01 23:11:05 distinct = true
2022/08/01 23:11:05 Using n1ql client
2022/08/01 23:11:05 Expected and Actual scan responses are the same
2022/08/01 23:11:05 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:11:05 distinct = true
2022/08/01 23:11:06 Using n1ql client
2022/08/01 23:11:06 Expected and Actual scan responses are the same
2022/08/01 23:11:06 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:11:06 distinct = true
2022/08/01 23:11:06 Using n1ql client
2022/08/01 23:11:06 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDistinct (10.79s)
=== RUN   TestMultiScanProjection
2022/08/01 23:11:06 In TestMultiScanProjection()
2022/08/01 23:11:06 

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

--------- Simple Index with 1 field ---------
2022/08/01 23:11:13 
--- SingleIndexSimpleRange ---
2022/08/01 23:11:13 distinct = true
2022/08/01 23:11:13 Using n1ql client
2022/08/01 23:11:13 Expected and Actual scan responses are the same
2022/08/01 23:11:13 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:11:13 distinct = true
2022/08/01 23:11:14 Using n1ql client
2022/08/01 23:11:14 Expected and Actual scan responses are the same
2022/08/01 23:11:14 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:11:14 distinct = true
2022/08/01 23:11:14 Using n1ql client
2022/08/01 23:11:14 Expected and Actual scan responses are the same
2022/08/01 23:11:14 

--------- Composite Index with 3 fields ---------
2022/08/01 23:11:14 
--- ScanAllNoFilter ---
2022/08/01 23:11:14 distinct = true
2022/08/01 23:11:15 Using n1ql client
2022/08/01 23:11:15 Expected and Actual scan responses are the same
2022/08/01 23:11:15 
--- ScanAllFilterNil ---
2022/08/01 23:11:15 distinct = true
2022/08/01 23:11:15 Using n1ql client
2022/08/01 23:11:15 Expected and Actual scan responses are the same
2022/08/01 23:11:15 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:11:15 distinct = true
2022/08/01 23:11:15 Using n1ql client
2022/08/01 23:11:16 Expected and Actual scan responses are the same
2022/08/01 23:11:16 
--- 3FieldsSingleSeek ---
2022/08/01 23:11:16 distinct = true
2022/08/01 23:11:16 Using n1ql client
2022/08/01 23:11:16 Expected and Actual scan responses are the same
2022/08/01 23:11:16 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:11:16 distinct = true
2022/08/01 23:11:16 Using n1ql client
2022/08/01 23:11:16 Expected and Actual scan responses are the same
2022/08/01 23:11:16 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:11:16 distinct = true
2022/08/01 23:11:17 Using n1ql client
2022/08/01 23:11:17 Expected and Actual scan responses are the same
2022/08/01 23:11:17 indexes are: index_company, index_companyname, index_company_name_age, index_company_name_age_address, index_company_name_age_address_friends
2022/08/01 23:11:17 fields are: [company], [company name], [company name age], [company name age address], [company name age address friends]
2022/08/01 23:11:17 
--- SingleIndexProjectFirst ---
2022/08/01 23:11:17 distinct = true
2022/08/01 23:11:17 Using n1ql client
2022/08/01 23:11:17 Expected and Actual scan responses are the same
2022/08/01 23:11:17 
--- 2FieldIndexProjectSecond ---
2022/08/01 23:11:17 distinct = true
2022/08/01 23:11:18 Using n1ql client
2022/08/01 23:11:18 Expected and Actual scan responses are the same
2022/08/01 23:11:18 
--- 3FieldIndexProjectThird ---
2022/08/01 23:11:18 distinct = true
2022/08/01 23:11:18 Using n1ql client
2022/08/01 23:11:18 Expected and Actual scan responses are the same
2022/08/01 23:11:18 
--- 4FieldIndexProjectFourth ---
2022/08/01 23:11:18 distinct = true
2022/08/01 23:11:19 Using n1ql client
2022/08/01 23:11:19 Expected and Actual scan responses are the same
2022/08/01 23:11:19 
--- 5FieldIndexProjectFifth ---
2022/08/01 23:11:19 distinct = true
2022/08/01 23:11:23 Using n1ql client
2022/08/01 23:11:23 Expected and Actual scan responses are the same
2022/08/01 23:11:23 
--- 2FieldIndexProjectTwo ---
2022/08/01 23:11:23 distinct = true
2022/08/01 23:11:23 Using n1ql client
2022/08/01 23:11:23 Expected and Actual scan responses are the same
2022/08/01 23:11:23 
--- 3FieldIndexProjectTwo ---
2022/08/01 23:11:23 distinct = true
2022/08/01 23:11:24 Using n1ql client
2022/08/01 23:11:24 Expected and Actual scan responses are the same
2022/08/01 23:11:24 
--- 3FieldIndexProjectTwo ---
2022/08/01 23:11:24 distinct = true
2022/08/01 23:11:24 Using n1ql client
2022/08/01 23:11:24 Expected and Actual scan responses are the same
2022/08/01 23:11:24 
--- 3FieldIndexProjectTwo ---
2022/08/01 23:11:24 distinct = true
2022/08/01 23:11:24 Using n1ql client
2022/08/01 23:11:24 Expected and Actual scan responses are the same
2022/08/01 23:11:24 
--- 4FieldIndexProjectTwo ---
2022/08/01 23:11:24 distinct = true
2022/08/01 23:11:26 Using n1ql client
2022/08/01 23:11:26 Expected and Actual scan responses are the same
2022/08/01 23:11:26 
--- 4FieldIndexProjectTwo ---
2022/08/01 23:11:26 distinct = true
2022/08/01 23:11:28 Using n1ql client
2022/08/01 23:11:28 Expected and Actual scan responses are the same
2022/08/01 23:11:28 
--- 4FieldIndexProjectTwo ---
2022/08/01 23:11:28 distinct = true
2022/08/01 23:11:29 Using n1ql client
2022/08/01 23:11:29 Expected and Actual scan responses are the same
2022/08/01 23:11:29 
--- 4FieldIndexProjectTwo ---
2022/08/01 23:11:29 distinct = true
2022/08/01 23:11:30 Using n1ql client
2022/08/01 23:11:31 Expected and Actual scan responses are the same
2022/08/01 23:11:31 
--- 4FieldIndexProjectTwo ---
2022/08/01 23:11:31 distinct = true
2022/08/01 23:11:32 Using n1ql client
2022/08/01 23:11:32 Expected and Actual scan responses are the same
2022/08/01 23:11:32 
--- 5FieldIndexProjectTwo ---
2022/08/01 23:11:32 distinct = true
2022/08/01 23:11:35 Using n1ql client
2022/08/01 23:11:36 Expected and Actual scan responses are the same
2022/08/01 23:11:36 
--- 5FieldIndexProjectTwo ---
2022/08/01 23:11:36 distinct = true
2022/08/01 23:11:39 Using n1ql client
2022/08/01 23:11:39 Expected and Actual scan responses are the same
2022/08/01 23:11:39 
--- 5FieldIndexProjectTwo ---
2022/08/01 23:11:39 distinct = true
2022/08/01 23:11:42 Using n1ql client
2022/08/01 23:11:42 Expected and Actual scan responses are the same
2022/08/01 23:11:42 
--- 5FieldIndexProjectTwo ---
2022/08/01 23:11:42 distinct = true
2022/08/01 23:11:45 Using n1ql client
2022/08/01 23:11:45 Expected and Actual scan responses are the same
2022/08/01 23:11:45 
--- 5FieldIndexProjectThree ---
2022/08/01 23:11:45 distinct = true
2022/08/01 23:11:49 Using n1ql client
2022/08/01 23:11:49 Expected and Actual scan responses are the same
2022/08/01 23:11:49 
--- 5FieldIndexProjectFour ---
2022/08/01 23:11:49 distinct = true
2022/08/01 23:11:52 Using n1ql client
2022/08/01 23:11:53 Expected and Actual scan responses are the same
2022/08/01 23:11:53 
--- 5FieldIndexProjectAll ---
2022/08/01 23:11:53 distinct = true
2022/08/01 23:11:56 Using n1ql client
2022/08/01 23:11:56 Expected and Actual scan responses are the same
2022/08/01 23:11:56 
--- 5FieldIndexProjectAlternate ---
2022/08/01 23:11:56 distinct = true
2022/08/01 23:11:59 Using n1ql client
2022/08/01 23:11:59 Expected and Actual scan responses are the same
2022/08/01 23:11:59 
--- 5FieldIndexProjectEmptyEntryKeys ---
2022/08/01 23:11:59 distinct = true
2022/08/01 23:12:02 Using n1ql client
2022/08/01 23:12:02 Expected and Actual scan responses are the same
--- PASS: TestMultiScanProjection (56.10s)
=== RUN   TestMultiScanRestAPI
2022/08/01 23:12:02 In TestMultiScanRestAPI()
2022/08/01 23:12:02 In DropAllSecondaryIndexes()
2022/08/01 23:12:02 Index found:  index_primary
2022/08/01 23:12:02 Dropped index index_primary
2022/08/01 23:12:02 Index found:  index_company_name_age_address
2022/08/01 23:12:02 Dropped index index_company_name_age_address
2022/08/01 23:12:02 Index found:  index_company
2022/08/01 23:12:03 Dropped index index_company
2022/08/01 23:12:03 Index found:  index_company_name_age
2022/08/01 23:12:03 Dropped index index_company_name_age
2022/08/01 23:12:03 Index found:  addressidx
2022/08/01 23:12:03 Dropped index addressidx
2022/08/01 23:12:03 Index found:  index_companyname
2022/08/01 23:12:03 Dropped index index_companyname
2022/08/01 23:12:03 Index found:  index_company_name_age_address_friends
2022/08/01 23:12:03 Dropped index index_company_name_age_address_friends
2022/08/01 23:12:06 Created the secondary index index_companyname. Waiting for it become active
2022/08/01 23:12:06 Index is 10475265678337174413 now active
2022/08/01 23:12:06 GET all indexes
2022/08/01 23:12:06 200 OK
2022/08/01 23:12:06 getscans status : 200 OK
2022/08/01 23:12:06 number of entries 337
2022/08/01 23:12:06 Status : 200 OK
2022/08/01 23:12:06 Result from multiscancount API = 0
--- PASS: TestMultiScanRestAPI (4.02s)
=== RUN   TestMultiScanPrimaryIndexVariations
2022/08/01 23:12:06 In TestMultiScanPrimaryIndexVariations()
2022/08/01 23:12:12 Created the secondary index index_pi. Waiting for it become active
2022/08/01 23:12:12 Index is 16415171097898973655 now active
2022/08/01 23:12:12 
--- No Overlap ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 
--- Proper Overlap ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 
--- Low Boundary Overlap ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 
--- Complex Overlaps ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 
--- Multiple Equal Overlaps ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 
--- Boundary and Subset Overlaps ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 
--- Point Overlaps ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 
--- Boundary and Point Overlaps ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 
--- Primary index range null ---
2022/08/01 23:12:12 Using n1ql client
2022/08/01 23:12:12 Expected and Actual scan responses are the same
2022/08/01 23:12:12 Dropping the secondary index index_pi
2022/08/01 23:12:12 Index dropped
--- PASS: TestMultiScanPrimaryIndexVariations (6.04s)
=== RUN   TestMultiScanDescSetup
2022/08/01 23:12:12 In TestMultiScanDescSetup()
2022/08/01 23:12:12 In DropAllSecondaryIndexes()
2022/08/01 23:12:12 Index found:  index_companyname
2022/08/01 23:12:13 Dropped index index_companyname
2022/08/01 23:12:16 Created the secondary index index_companyname_desc. Waiting for it become active
2022/08/01 23:12:16 Index is 17151991148848062476 now active
2022/08/01 23:12:21 Created the secondary index index_company_desc. Waiting for it become active
2022/08/01 23:12:21 Index is 8690271129641753138 now active
2022/08/01 23:12:26 Created the secondary index index_company_name_age_desc. Waiting for it become active
2022/08/01 23:12:26 Index is 10901486534120936212 now active
--- PASS: TestMultiScanDescSetup (13.58s)
=== RUN   TestMultiScanDescScenarios
2022/08/01 23:12:26 In TestMultiScanDescScenarios()
2022/08/01 23:12:26 

--------- Composite Index with 2 fields ---------
2022/08/01 23:12:26 
--- ScanAllNoFilter ---
2022/08/01 23:12:26 distinct = false
2022/08/01 23:12:26 Using n1ql client
2022/08/01 23:12:27 Expected and Actual scan responses are the same
2022/08/01 23:12:27 
--- ScanAllFilterNil ---
2022/08/01 23:12:27 distinct = false
2022/08/01 23:12:27 Using n1ql client
2022/08/01 23:12:27 Expected and Actual scan responses are the same
2022/08/01 23:12:27 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:12:27 distinct = false
2022/08/01 23:12:27 Using n1ql client
2022/08/01 23:12:27 Expected and Actual scan responses are the same
2022/08/01 23:12:27 
--- SingleSeek ---
2022/08/01 23:12:27 distinct = false
2022/08/01 23:12:28 Using n1ql client
2022/08/01 23:12:28 Expected and Actual scan responses are the same
2022/08/01 23:12:28 
--- MultipleSeek ---
2022/08/01 23:12:28 distinct = false
2022/08/01 23:12:28 Using n1ql client
2022/08/01 23:12:28 Expected and Actual scan responses are the same
2022/08/01 23:12:28 
--- SimpleRange ---
2022/08/01 23:12:28 distinct = false
2022/08/01 23:12:28 Using n1ql client
2022/08/01 23:12:29 Expected and Actual scan responses are the same
2022/08/01 23:12:29 
--- NonOverlappingRanges ---
2022/08/01 23:12:29 distinct = false
2022/08/01 23:12:29 Using n1ql client
2022/08/01 23:12:29 Expected and Actual scan responses are the same
2022/08/01 23:12:29 
--- OverlappingRanges ---
2022/08/01 23:12:29 distinct = false
2022/08/01 23:12:29 Using n1ql client
2022/08/01 23:12:29 Expected and Actual scan responses are the same
2022/08/01 23:12:29 
--- NonOverlappingFilters ---
2022/08/01 23:12:29 distinct = false
2022/08/01 23:12:30 Using n1ql client
2022/08/01 23:12:30 Expected and Actual scan responses are the same
2022/08/01 23:12:30 
--- OverlappingFilters ---
2022/08/01 23:12:30 distinct = false
2022/08/01 23:12:30 Using n1ql client
2022/08/01 23:12:30 Expected and Actual scan responses are the same
2022/08/01 23:12:30 
--- BoundaryFilters ---
2022/08/01 23:12:30 distinct = false
2022/08/01 23:12:30 Using n1ql client
2022/08/01 23:12:30 Expected and Actual scan responses are the same
2022/08/01 23:12:30 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:12:30 distinct = false
2022/08/01 23:12:31 Using n1ql client
2022/08/01 23:12:31 Expected and Actual scan responses are the same
2022/08/01 23:12:31 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:12:31 distinct = false
2022/08/01 23:12:31 Using n1ql client
2022/08/01 23:12:31 Expected and Actual scan responses are the same
2022/08/01 23:12:31 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:12:31 distinct = false
2022/08/01 23:12:31 Using n1ql client
2022/08/01 23:12:32 Expected and Actual scan responses are the same
2022/08/01 23:12:32 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:12:32 distinct = false
2022/08/01 23:12:32 Using n1ql client
2022/08/01 23:12:32 Expected and Actual scan responses are the same
2022/08/01 23:12:32 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:12:32 distinct = false
2022/08/01 23:12:32 Using n1ql client
2022/08/01 23:12:32 Expected and Actual scan responses are the same
2022/08/01 23:12:32 
--- FiltersWithUnbounded ---
2022/08/01 23:12:32 distinct = false
2022/08/01 23:12:33 Using n1ql client
2022/08/01 23:12:33 Expected and Actual scan responses are the same
2022/08/01 23:12:33 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:12:33 distinct = false
2022/08/01 23:12:33 Using n1ql client
2022/08/01 23:12:33 Expected and Actual scan responses are the same
2022/08/01 23:12:33 

--------- Simple Index with 1 field ---------
2022/08/01 23:12:33 
--- SingleIndexSimpleRange ---
2022/08/01 23:12:33 distinct = false
2022/08/01 23:12:33 Using n1ql client
2022/08/01 23:12:33 Expected and Actual scan responses are the same
2022/08/01 23:12:33 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:12:33 distinct = false
2022/08/01 23:12:34 Using n1ql client
2022/08/01 23:12:34 Expected and Actual scan responses are the same
2022/08/01 23:12:34 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:12:34 distinct = false
2022/08/01 23:12:34 Using n1ql client
2022/08/01 23:12:34 Expected and Actual scan responses are the same
2022/08/01 23:12:34 

--------- Composite Index with 3 fields ---------
2022/08/01 23:12:34 
--- ScanAllNoFilter ---
2022/08/01 23:12:34 distinct = false
2022/08/01 23:12:35 Using n1ql client
2022/08/01 23:12:35 Expected and Actual scan responses are the same
2022/08/01 23:12:35 
--- ScanAllFilterNil ---
2022/08/01 23:12:35 distinct = false
2022/08/01 23:12:35 Using n1ql client
2022/08/01 23:12:35 Expected and Actual scan responses are the same
2022/08/01 23:12:35 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:12:35 distinct = false
2022/08/01 23:12:35 Using n1ql client
2022/08/01 23:12:36 Expected and Actual scan responses are the same
2022/08/01 23:12:36 
--- 3FieldsSingleSeek ---
2022/08/01 23:12:36 distinct = false
2022/08/01 23:12:36 Using n1ql client
2022/08/01 23:12:36 Expected and Actual scan responses are the same
2022/08/01 23:12:36 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:12:36 distinct = false
2022/08/01 23:12:36 Using n1ql client
2022/08/01 23:12:36 Expected and Actual scan responses are the same
2022/08/01 23:12:36 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:12:36 distinct = false
2022/08/01 23:12:37 Using n1ql client
2022/08/01 23:12:37 Expected and Actual scan responses are the same
2022/08/01 23:12:37 

--------- New scenarios ---------
2022/08/01 23:12:37 
--- CompIndexHighUnbounded1 ---
2022/08/01 23:12:37 
--- Multi Scan 0 ---
2022/08/01 23:12:37 distinct = false
2022/08/01 23:12:37 Using n1ql client
2022/08/01 23:12:37 Expected and Actual scan responses are the same
2022/08/01 23:12:37 
--- Multi Scan 1 ---
2022/08/01 23:12:37 distinct = false
2022/08/01 23:12:37 Using n1ql client
2022/08/01 23:12:37 Expected and Actual scan responses are the same
2022/08/01 23:12:37 
--- Multi Scan 2 ---
2022/08/01 23:12:37 distinct = false
2022/08/01 23:12:38 Using n1ql client
2022/08/01 23:12:38 Expected and Actual scan responses are the same
2022/08/01 23:12:38 
--- CompIndexHighUnbounded2 ---
2022/08/01 23:12:38 
--- Multi Scan 0 ---
2022/08/01 23:12:38 distinct = false
2022/08/01 23:12:38 Using n1ql client
2022/08/01 23:12:38 Expected and Actual scan responses are the same
2022/08/01 23:12:38 
--- Multi Scan 1 ---
2022/08/01 23:12:38 distinct = false
2022/08/01 23:12:39 Using n1ql client
2022/08/01 23:12:39 Expected and Actual scan responses are the same
2022/08/01 23:12:39 
--- Multi Scan 2 ---
2022/08/01 23:12:39 distinct = false
2022/08/01 23:12:39 Using n1ql client
2022/08/01 23:12:39 Expected and Actual scan responses are the same
2022/08/01 23:12:39 
--- CompIndexHighUnbounded3 ---
2022/08/01 23:12:39 
--- Multi Scan 0 ---
2022/08/01 23:12:39 distinct = false
2022/08/01 23:12:39 Using n1ql client
2022/08/01 23:12:39 Expected and Actual scan responses are the same
2022/08/01 23:12:39 
--- CompIndexHighUnbounded4 ---
2022/08/01 23:12:39 
--- Multi Scan 0 ---
2022/08/01 23:12:39 distinct = false
2022/08/01 23:12:40 Using n1ql client
2022/08/01 23:12:40 Expected and Actual scan responses are the same
2022/08/01 23:12:40 
--- CompIndexHighUnbounded5 ---
2022/08/01 23:12:40 
--- Multi Scan 0 ---
2022/08/01 23:12:40 distinct = false
2022/08/01 23:12:40 Using n1ql client
2022/08/01 23:12:40 Expected and Actual scan responses are the same
2022/08/01 23:12:40 
--- SeekBoundaries ---
2022/08/01 23:12:40 
--- Multi Scan 0 ---
2022/08/01 23:12:40 distinct = false
2022/08/01 23:12:41 Using n1ql client
2022/08/01 23:12:41 Expected and Actual scan responses are the same
2022/08/01 23:12:41 
--- Multi Scan 1 ---
2022/08/01 23:12:41 distinct = false
2022/08/01 23:12:41 Using n1ql client
2022/08/01 23:12:41 Expected and Actual scan responses are the same
2022/08/01 23:12:41 
--- Multi Scan 2 ---
2022/08/01 23:12:41 distinct = false
2022/08/01 23:12:41 Using n1ql client
2022/08/01 23:12:41 Expected and Actual scan responses are the same
2022/08/01 23:12:41 
--- Multi Scan 3 ---
2022/08/01 23:12:41 distinct = false
2022/08/01 23:12:42 Using n1ql client
2022/08/01 23:12:42 Expected and Actual scan responses are the same
2022/08/01 23:12:42 
--- Multi Scan 4 ---
2022/08/01 23:12:42 distinct = false
2022/08/01 23:12:42 Using n1ql client
2022/08/01 23:12:42 Expected and Actual scan responses are the same
2022/08/01 23:12:42 
--- Multi Scan 5 ---
2022/08/01 23:12:42 distinct = false
2022/08/01 23:12:42 Using n1ql client
2022/08/01 23:12:43 Expected and Actual scan responses are the same
2022/08/01 23:12:43 
--- Multi Scan 6 ---
2022/08/01 23:12:43 distinct = false
2022/08/01 23:12:43 Using n1ql client
2022/08/01 23:12:43 Expected and Actual scan responses are the same
2022/08/01 23:12:43 
--- Multi Scan 7 ---
2022/08/01 23:12:43 distinct = false
2022/08/01 23:12:43 Using n1ql client
2022/08/01 23:12:43 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDescScenarios (17.30s)
=== RUN   TestMultiScanDescCount
2022/08/01 23:12:43 In TestMultiScanDescCount()
2022/08/01 23:12:43 

--------- Composite Index with 2 fields ---------
2022/08/01 23:12:43 
--- ScanAllNoFilter ---
2022/08/01 23:12:43 distinct = false
2022/08/01 23:12:44 Using n1ql client
2022/08/01 23:12:44 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:12:44 
--- ScanAllFilterNil ---
2022/08/01 23:12:44 distinct = false
2022/08/01 23:12:44 Using n1ql client
2022/08/01 23:12:44 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:12:44 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:12:44 distinct = false
2022/08/01 23:12:44 Using n1ql client
2022/08/01 23:12:44 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:12:44 
--- SingleSeek ---
2022/08/01 23:12:44 distinct = false
2022/08/01 23:12:45 Using n1ql client
2022/08/01 23:12:45 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:12:45 
--- MultipleSeek ---
2022/08/01 23:12:45 distinct = false
2022/08/01 23:12:45 Using n1ql client
2022/08/01 23:12:45 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 23:12:45 
--- SimpleRange ---
2022/08/01 23:12:45 distinct = false
2022/08/01 23:12:45 Using n1ql client
2022/08/01 23:12:45 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/08/01 23:12:45 
--- NonOverlappingRanges ---
2022/08/01 23:12:45 distinct = false
2022/08/01 23:12:46 Using n1ql client
2022/08/01 23:12:46 MultiScanCount = 4283 ExpectedMultiScanCount = 4283
2022/08/01 23:12:46 
--- OverlappingRanges ---
2022/08/01 23:12:46 distinct = false
2022/08/01 23:12:46 Using n1ql client
2022/08/01 23:12:46 MultiScanCount = 5756 ExpectedMultiScanCount = 5756
2022/08/01 23:12:46 
--- NonOverlappingFilters ---
2022/08/01 23:12:46 distinct = false
2022/08/01 23:12:46 Using n1ql client
2022/08/01 23:12:46 MultiScanCount = 337 ExpectedMultiScanCount = 337
2022/08/01 23:12:46 
--- OverlappingFilters ---
2022/08/01 23:12:46 distinct = false
2022/08/01 23:12:47 Using n1ql client
2022/08/01 23:12:47 MultiScanCount = 2559 ExpectedMultiScanCount = 2559
2022/08/01 23:12:47 
--- BoundaryFilters ---
2022/08/01 23:12:47 distinct = false
2022/08/01 23:12:47 Using n1ql client
2022/08/01 23:12:47 MultiScanCount = 499 ExpectedMultiScanCount = 499
2022/08/01 23:12:47 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:12:47 distinct = false
2022/08/01 23:12:48 Using n1ql client
2022/08/01 23:12:48 MultiScanCount = 256 ExpectedMultiScanCount = 256
2022/08/01 23:12:48 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:12:48 distinct = false
2022/08/01 23:12:48 Using n1ql client
2022/08/01 23:12:48 MultiScanCount = 255 ExpectedMultiScanCount = 255
2022/08/01 23:12:48 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:12:48 distinct = false
2022/08/01 23:12:49 Using n1ql client
2022/08/01 23:12:49 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/08/01 23:12:49 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:12:49 distinct = false
2022/08/01 23:12:49 Using n1ql client
2022/08/01 23:12:49 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/08/01 23:12:49 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:12:49 distinct = false
2022/08/01 23:12:50 Using n1ql client
2022/08/01 23:12:50 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:12:50 
--- FiltersWithUnbounded ---
2022/08/01 23:12:50 distinct = false
2022/08/01 23:12:50 Using n1ql client
2022/08/01 23:12:50 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/08/01 23:12:50 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:12:50 distinct = false
2022/08/01 23:12:51 Using n1ql client
2022/08/01 23:12:51 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/08/01 23:12:51 

--------- Simple Index with 1 field ---------
2022/08/01 23:12:51 
--- SingleIndexSimpleRange ---
2022/08/01 23:12:51 distinct = false
2022/08/01 23:12:51 Using n1ql client
2022/08/01 23:12:51 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/08/01 23:12:51 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:12:51 distinct = false
2022/08/01 23:12:51 Using n1ql client
2022/08/01 23:12:51 MultiScanCount = 7140 ExpectedMultiScanCount = 7140
2022/08/01 23:12:51 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:12:51 distinct = false
2022/08/01 23:12:51 Using n1ql client
2022/08/01 23:12:52 MultiScanCount = 8701 ExpectedMultiScanCount = 8701
2022/08/01 23:12:52 

--------- Composite Index with 3 fields ---------
2022/08/01 23:12:52 
--- ScanAllNoFilter ---
2022/08/01 23:12:52 distinct = false
2022/08/01 23:12:52 Using n1ql client
2022/08/01 23:12:52 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:12:52 
--- ScanAllFilterNil ---
2022/08/01 23:12:52 distinct = false
2022/08/01 23:12:52 Using n1ql client
2022/08/01 23:12:52 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:12:52 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:12:52 distinct = false
2022/08/01 23:12:53 Using n1ql client
2022/08/01 23:12:53 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:12:53 
--- 3FieldsSingleSeek ---
2022/08/01 23:12:53 distinct = false
2022/08/01 23:12:53 Using n1ql client
2022/08/01 23:12:53 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:12:53 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:12:53 distinct = false
2022/08/01 23:12:54 Using n1ql client
2022/08/01 23:12:54 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/08/01 23:12:54 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:12:54 distinct = false
2022/08/01 23:12:54 Using n1ql client
2022/08/01 23:12:54 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 23:12:54 

--------- New scenarios ---------
2022/08/01 23:12:54 
--- CompIndexHighUnbounded1 ---
2022/08/01 23:12:54 
--- Multi Scan 0 ---
2022/08/01 23:12:54 distinct = false
2022/08/01 23:12:54 Using n1ql client
2022/08/01 23:12:54 Using n1ql client
2022/08/01 23:12:54 len(scanResults) = 8 MultiScanCount = 8
2022/08/01 23:12:54 Expected and Actual scan responses are the same
2022/08/01 23:12:54 
--- Multi Scan 1 ---
2022/08/01 23:12:54 distinct = false
2022/08/01 23:12:55 Using n1ql client
2022/08/01 23:12:55 Using n1ql client
2022/08/01 23:12:55 len(scanResults) = 0 MultiScanCount = 0
2022/08/01 23:12:55 Expected and Actual scan responses are the same
2022/08/01 23:12:55 
--- Multi Scan 2 ---
2022/08/01 23:12:55 distinct = false
2022/08/01 23:12:55 Using n1ql client
2022/08/01 23:12:55 Using n1ql client
2022/08/01 23:12:55 len(scanResults) = 9 MultiScanCount = 9
2022/08/01 23:12:55 Expected and Actual scan responses are the same
2022/08/01 23:12:55 
--- CompIndexHighUnbounded2 ---
2022/08/01 23:12:55 
--- Multi Scan 0 ---
2022/08/01 23:12:55 distinct = false
2022/08/01 23:12:55 Using n1ql client
2022/08/01 23:12:55 Using n1ql client
2022/08/01 23:12:55 len(scanResults) = 4138 MultiScanCount = 4138
2022/08/01 23:12:55 Expected and Actual scan responses are the same
2022/08/01 23:12:55 
--- Multi Scan 1 ---
2022/08/01 23:12:55 distinct = false
2022/08/01 23:12:56 Using n1ql client
2022/08/01 23:12:56 Using n1ql client
2022/08/01 23:12:56 len(scanResults) = 2746 MultiScanCount = 2746
2022/08/01 23:12:56 Expected and Actual scan responses are the same
2022/08/01 23:12:56 
--- Multi Scan 2 ---
2022/08/01 23:12:56 distinct = false
2022/08/01 23:12:56 Using n1ql client
2022/08/01 23:12:56 Using n1ql client
2022/08/01 23:12:56 len(scanResults) = 4691 MultiScanCount = 4691
2022/08/01 23:12:56 Expected and Actual scan responses are the same
2022/08/01 23:12:56 
--- CompIndexHighUnbounded3 ---
2022/08/01 23:12:56 
--- Multi Scan 0 ---
2022/08/01 23:12:56 distinct = false
2022/08/01 23:12:57 Using n1ql client
2022/08/01 23:12:57 Using n1ql client
2022/08/01 23:12:57 len(scanResults) = 1329 MultiScanCount = 1329
2022/08/01 23:12:57 Expected and Actual scan responses are the same
2022/08/01 23:12:57 
--- CompIndexHighUnbounded4 ---
2022/08/01 23:12:57 
--- Multi Scan 0 ---
2022/08/01 23:12:57 distinct = false
2022/08/01 23:12:57 Using n1ql client
2022/08/01 23:12:57 Using n1ql client
2022/08/01 23:12:57 len(scanResults) = 5349 MultiScanCount = 5349
2022/08/01 23:12:57 Expected and Actual scan responses are the same
2022/08/01 23:12:57 
--- CompIndexHighUnbounded5 ---
2022/08/01 23:12:57 
--- Multi Scan 0 ---
2022/08/01 23:12:57 distinct = false
2022/08/01 23:12:57 Using n1ql client
2022/08/01 23:12:57 Using n1ql client
2022/08/01 23:12:57 len(scanResults) = 8210 MultiScanCount = 8210
2022/08/01 23:12:57 Expected and Actual scan responses are the same
2022/08/01 23:12:57 
--- SeekBoundaries ---
2022/08/01 23:12:57 
--- Multi Scan 0 ---
2022/08/01 23:12:57 distinct = false
2022/08/01 23:12:58 Using n1ql client
2022/08/01 23:12:58 Using n1ql client
2022/08/01 23:12:58 len(scanResults) = 175 MultiScanCount = 175
2022/08/01 23:12:58 Expected and Actual scan responses are the same
2022/08/01 23:12:58 
--- Multi Scan 1 ---
2022/08/01 23:12:58 distinct = false
2022/08/01 23:12:58 Using n1ql client
2022/08/01 23:12:58 Using n1ql client
2022/08/01 23:12:58 len(scanResults) = 1 MultiScanCount = 1
2022/08/01 23:12:58 Expected and Actual scan responses are the same
2022/08/01 23:12:58 
--- Multi Scan 2 ---
2022/08/01 23:12:58 distinct = false
2022/08/01 23:12:59 Using n1ql client
2022/08/01 23:12:59 Using n1ql client
2022/08/01 23:12:59 len(scanResults) = 555 MultiScanCount = 555
2022/08/01 23:12:59 Expected and Actual scan responses are the same
2022/08/01 23:12:59 
--- Multi Scan 3 ---
2022/08/01 23:12:59 distinct = false
2022/08/01 23:12:59 Using n1ql client
2022/08/01 23:12:59 Using n1ql client
2022/08/01 23:12:59 len(scanResults) = 872 MultiScanCount = 872
2022/08/01 23:12:59 Expected and Actual scan responses are the same
2022/08/01 23:12:59 
--- Multi Scan 4 ---
2022/08/01 23:12:59 distinct = false
2022/08/01 23:12:59 Using n1ql client
2022/08/01 23:12:59 Using n1ql client
2022/08/01 23:12:59 len(scanResults) = 287 MultiScanCount = 287
2022/08/01 23:12:59 Expected and Actual scan responses are the same
2022/08/01 23:12:59 
--- Multi Scan 5 ---
2022/08/01 23:12:59 distinct = false
2022/08/01 23:13:00 Using n1ql client
2022/08/01 23:13:00 Using n1ql client
2022/08/01 23:13:00 len(scanResults) = 5254 MultiScanCount = 5254
2022/08/01 23:13:00 Expected and Actual scan responses are the same
2022/08/01 23:13:00 
--- Multi Scan 6 ---
2022/08/01 23:13:00 distinct = false
2022/08/01 23:13:00 Using n1ql client
2022/08/01 23:13:00 Using n1ql client
2022/08/01 23:13:00 len(scanResults) = 5566 MultiScanCount = 5566
2022/08/01 23:13:00 Expected and Actual scan responses are the same
2022/08/01 23:13:00 
--- Multi Scan 7 ---
2022/08/01 23:13:00 distinct = false
2022/08/01 23:13:00 Using n1ql client
2022/08/01 23:13:00 Using n1ql client
2022/08/01 23:13:00 len(scanResults) = 8 MultiScanCount = 8
2022/08/01 23:13:00 Expected and Actual scan responses are the same
2022/08/01 23:13:00 

--------- With DISTINCT True ---------
2022/08/01 23:13:00 
--- ScanAllNoFilter ---
2022/08/01 23:13:00 distinct = true
2022/08/01 23:13:01 Using n1ql client
2022/08/01 23:13:01 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:13:01 
--- ScanAllFilterNil ---
2022/08/01 23:13:01 distinct = true
2022/08/01 23:13:01 Using n1ql client
2022/08/01 23:13:01 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:13:01 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:13:01 distinct = true
2022/08/01 23:13:02 Using n1ql client
2022/08/01 23:13:02 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:13:02 
--- SingleSeek ---
2022/08/01 23:13:02 distinct = true
2022/08/01 23:13:02 Using n1ql client
2022/08/01 23:13:02 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:13:02 
--- MultipleSeek ---
2022/08/01 23:13:02 distinct = true
2022/08/01 23:13:02 Using n1ql client
2022/08/01 23:13:02 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 23:13:02 
--- SimpleRange ---
2022/08/01 23:13:02 distinct = true
2022/08/01 23:13:03 Using n1ql client
2022/08/01 23:13:03 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/08/01 23:13:03 
--- NonOverlappingRanges ---
2022/08/01 23:13:03 distinct = true
2022/08/01 23:13:03 Using n1ql client
2022/08/01 23:13:03 MultiScanCount = 428 ExpectedMultiScanCount = 428
2022/08/01 23:13:03 
--- NonOverlappingFilters2 ---
2022/08/01 23:13:03 distinct = true
2022/08/01 23:13:04 Using n1ql client
2022/08/01 23:13:04 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:13:04 
--- OverlappingRanges ---
2022/08/01 23:13:04 distinct = true
2022/08/01 23:13:04 Using n1ql client
2022/08/01 23:13:04 MultiScanCount = 575 ExpectedMultiScanCount = 575
2022/08/01 23:13:04 
--- NonOverlappingFilters ---
2022/08/01 23:13:04 distinct = true
2022/08/01 23:13:04 Using n1ql client
2022/08/01 23:13:04 MultiScanCount = 186 ExpectedMultiScanCount = 186
2022/08/01 23:13:04 
--- OverlappingFilters ---
2022/08/01 23:13:04 distinct = true
2022/08/01 23:13:05 Using n1ql client
2022/08/01 23:13:05 MultiScanCount = 543 ExpectedMultiScanCount = 543
2022/08/01 23:13:05 
--- BoundaryFilters ---
2022/08/01 23:13:05 distinct = true
2022/08/01 23:13:05 Using n1ql client
2022/08/01 23:13:05 MultiScanCount = 172 ExpectedMultiScanCount = 172
2022/08/01 23:13:05 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:13:05 distinct = true
2022/08/01 23:13:05 Using n1ql client
2022/08/01 23:13:05 MultiScanCount = 135 ExpectedMultiScanCount = 135
2022/08/01 23:13:05 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:13:05 distinct = true
2022/08/01 23:13:06 Using n1ql client
2022/08/01 23:13:06 MultiScanCount = 134 ExpectedMultiScanCount = 134
2022/08/01 23:13:06 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:13:06 distinct = false
2022/08/01 23:13:06 Using n1ql client
2022/08/01 23:13:06 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/08/01 23:13:06 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:13:06 distinct = false
2022/08/01 23:13:06 Using n1ql client
2022/08/01 23:13:06 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/08/01 23:13:06 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:13:06 distinct = false
2022/08/01 23:13:07 Using n1ql client
2022/08/01 23:13:07 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 23:13:07 
--- FiltersWithUnbounded ---
2022/08/01 23:13:07 distinct = false
2022/08/01 23:13:07 Using n1ql client
2022/08/01 23:13:07 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/08/01 23:13:07 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:13:07 distinct = false
2022/08/01 23:13:08 Using n1ql client
2022/08/01 23:13:08 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/08/01 23:13:08 

--------- Simple Index with 1 field ---------
2022/08/01 23:13:08 
--- SingleIndexSimpleRange ---
2022/08/01 23:13:08 distinct = true
2022/08/01 23:13:08 Using n1ql client
2022/08/01 23:13:08 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/08/01 23:13:08 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:13:08 distinct = true
2022/08/01 23:13:08 Using n1ql client
2022/08/01 23:13:08 MultiScanCount = 713 ExpectedMultiScanCount = 713
2022/08/01 23:13:08 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:13:08 distinct = true
2022/08/01 23:13:09 Using n1ql client
2022/08/01 23:13:09 MultiScanCount = 869 ExpectedMultiScanCount = 869
2022/08/01 23:13:09 

--------- Composite Index with 3 fields ---------
2022/08/01 23:13:09 
--- ScanAllNoFilter ---
2022/08/01 23:13:09 distinct = true
2022/08/01 23:13:09 Using n1ql client
2022/08/01 23:13:09 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:13:09 
--- ScanAllFilterNil ---
2022/08/01 23:13:09 distinct = true
2022/08/01 23:13:09 Using n1ql client
2022/08/01 23:13:09 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:13:09 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:13:09 distinct = true
2022/08/01 23:13:10 Using n1ql client
2022/08/01 23:13:10 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 23:13:10 
--- 3FieldsSingleSeek ---
2022/08/01 23:13:10 distinct = true
2022/08/01 23:13:10 Using n1ql client
2022/08/01 23:13:10 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 23:13:10 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:13:10 distinct = true
2022/08/01 23:13:11 Using n1ql client
2022/08/01 23:13:11 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/08/01 23:13:11 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:13:11 distinct = true
2022/08/01 23:13:11 Using n1ql client
2022/08/01 23:13:11 MultiScanCount = 2 ExpectedMultiScanCount = 2
--- PASS: TestMultiScanDescCount (27.75s)
=== RUN   TestMultiScanDescOffset
2022/08/01 23:13:11 In SkipTestMultiScanDescOffset()
2022/08/01 23:13:11 

--------- Composite Index with 2 fields ---------
2022/08/01 23:13:11 
--- ScanAllNoFilter ---
2022/08/01 23:13:11 distinct = false
2022/08/01 23:13:11 Using n1ql client
2022/08/01 23:13:11 
--- ScanAllFilterNil ---
2022/08/01 23:13:11 distinct = false
2022/08/01 23:13:12 Using n1ql client
2022/08/01 23:13:12 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:13:12 distinct = false
2022/08/01 23:13:12 Using n1ql client
2022/08/01 23:13:12 
--- SingleSeek ---
2022/08/01 23:13:12 distinct = false
2022/08/01 23:13:13 Using n1ql client
2022/08/01 23:13:13 
--- MultipleSeek ---
2022/08/01 23:13:13 distinct = false
2022/08/01 23:13:13 Using n1ql client
2022/08/01 23:13:13 
--- SimpleRange ---
2022/08/01 23:13:13 distinct = false
2022/08/01 23:13:13 Using n1ql client
2022/08/01 23:13:13 
--- NonOverlappingRanges ---
2022/08/01 23:13:13 distinct = false
2022/08/01 23:13:14 Using n1ql client
2022/08/01 23:13:14 
--- OverlappingRanges ---
2022/08/01 23:13:14 distinct = false
2022/08/01 23:13:14 Using n1ql client
2022/08/01 23:13:14 
--- NonOverlappingFilters ---
2022/08/01 23:13:14 distinct = false
2022/08/01 23:13:14 Using n1ql client
2022/08/01 23:13:14 
--- OverlappingFilters ---
2022/08/01 23:13:14 distinct = false
2022/08/01 23:13:15 Using n1ql client
2022/08/01 23:13:15 
--- BoundaryFilters ---
2022/08/01 23:13:15 distinct = false
2022/08/01 23:13:15 Using n1ql client
2022/08/01 23:13:15 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 23:13:15 distinct = false
2022/08/01 23:13:16 Using n1ql client
2022/08/01 23:13:16 
--- SeekAndFilters_Overlapping ---
2022/08/01 23:13:16 distinct = false
2022/08/01 23:13:16 Using n1ql client
2022/08/01 23:13:16 
--- SimpleRangeLowUnbounded ---
2022/08/01 23:13:16 distinct = false
2022/08/01 23:13:16 Using n1ql client
2022/08/01 23:13:16 Expected and Actual scan responses are the same
2022/08/01 23:13:16 
--- SimpleRangeHighUnbounded ---
2022/08/01 23:13:16 distinct = false
2022/08/01 23:13:17 Using n1ql client
2022/08/01 23:13:17 Expected and Actual scan responses are the same
2022/08/01 23:13:17 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 23:13:17 distinct = false
2022/08/01 23:13:17 Using n1ql client
2022/08/01 23:13:17 Expected and Actual scan responses are the same
2022/08/01 23:13:17 
--- FiltersWithUnbounded ---
2022/08/01 23:13:17 distinct = false
2022/08/01 23:13:18 Using n1ql client
2022/08/01 23:13:18 Expected and Actual scan responses are the same
2022/08/01 23:13:18 
--- FiltersLowGreaterThanHigh ---
2022/08/01 23:13:18 distinct = false
2022/08/01 23:13:18 Using n1ql client
2022/08/01 23:13:18 Expected and Actual scan responses are the same
2022/08/01 23:13:18 

--------- Simple Index with 1 field ---------
2022/08/01 23:13:18 
--- SingleIndexSimpleRange ---
2022/08/01 23:13:18 distinct = false
2022/08/01 23:13:18 Using n1ql client
2022/08/01 23:13:18 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:13:18 distinct = false
2022/08/01 23:13:19 Using n1ql client
2022/08/01 23:13:19 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:13:19 distinct = false
2022/08/01 23:13:19 Using n1ql client
2022/08/01 23:13:19 

--------- Composite Index with 3 fields ---------
2022/08/01 23:13:19 
--- ScanAllNoFilter ---
2022/08/01 23:13:19 distinct = false
2022/08/01 23:13:19 Using n1ql client
2022/08/01 23:13:19 
--- ScanAllFilterNil ---
2022/08/01 23:13:19 distinct = false
2022/08/01 23:13:20 Using n1ql client
2022/08/01 23:13:20 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:13:20 distinct = false
2022/08/01 23:13:20 Using n1ql client
2022/08/01 23:13:20 
--- 3FieldsSingleSeek ---
2022/08/01 23:13:20 distinct = false
2022/08/01 23:13:21 Using n1ql client
2022/08/01 23:13:21 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:13:21 distinct = false
2022/08/01 23:13:21 Using n1ql client
2022/08/01 23:13:21 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:13:21 distinct = false
2022/08/01 23:13:21 Using n1ql client
--- PASS: TestMultiScanDescOffset (10.40s)
=== RUN   TestMultiScanDescDistinct
2022/08/01 23:13:21 In SkipTestMultiScanDescDistinct()
2022/08/01 23:13:21 

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

--------- Simple Index with 1 field ---------
2022/08/01 23:13:29 
--- SingleIndexSimpleRange ---
2022/08/01 23:13:29 distinct = true
2022/08/01 23:13:29 Using n1ql client
2022/08/01 23:13:29 Expected and Actual scan responses are the same
2022/08/01 23:13:29 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 23:13:29 distinct = true
2022/08/01 23:13:29 Using n1ql client
2022/08/01 23:13:29 Expected and Actual scan responses are the same
2022/08/01 23:13:29 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 23:13:29 distinct = true
2022/08/01 23:13:29 Using n1ql client
2022/08/01 23:13:29 Expected and Actual scan responses are the same
2022/08/01 23:13:29 

--------- Composite Index with 3 fields ---------
2022/08/01 23:13:29 
--- ScanAllNoFilter ---
2022/08/01 23:13:29 distinct = true
2022/08/01 23:13:30 Using n1ql client
2022/08/01 23:13:30 Expected and Actual scan responses are the same
2022/08/01 23:13:30 
--- ScanAllFilterNil ---
2022/08/01 23:13:30 distinct = true
2022/08/01 23:13:30 Using n1ql client
2022/08/01 23:13:30 Expected and Actual scan responses are the same
2022/08/01 23:13:30 
--- ScanAll_AllFiltersNil ---
2022/08/01 23:13:30 distinct = true
2022/08/01 23:13:31 Using n1ql client
2022/08/01 23:13:31 Expected and Actual scan responses are the same
2022/08/01 23:13:31 
--- 3FieldsSingleSeek ---
2022/08/01 23:13:31 distinct = true
2022/08/01 23:13:31 Using n1ql client
2022/08/01 23:13:31 Expected and Actual scan responses are the same
2022/08/01 23:13:31 
--- 3FieldsMultipleSeeks ---
2022/08/01 23:13:31 distinct = true
2022/08/01 23:13:32 Using n1ql client
2022/08/01 23:13:32 Expected and Actual scan responses are the same
2022/08/01 23:13:32 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 23:13:32 distinct = true
2022/08/01 23:13:32 Using n1ql client
2022/08/01 23:13:32 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDescDistinct (10.70s)
=== RUN   TestGroupAggrSetup
2022/08/01 23:13:32 In TestGroupAggrSetup()
2022/08/01 23:13:32 Emptying the default bucket
2022/08/01 23:13:35 Flush Enabled on bucket default, responseBody: 
2022/08/01 23:14:13 Flushed the bucket default, Response body: 
2022/08/01 23:14:13 Dropping the secondary index index_agg
2022/08/01 23:14:13 Populating the default bucket
2022/08/01 23:14:17 Created the secondary index index_agg. Waiting for it become active
2022/08/01 23:14:17 Index is 13623007163834195469 now active
--- PASS: TestGroupAggrSetup (49.17s)
=== RUN   TestGroupAggrLeading
2022/08/01 23:14:21 In TestGroupAggrLeading()
2022/08/01 23:14:21 Total Scanresults = 7
2022/08/01 23:14:21 Expected and Actual scan responses are the same
2022/08/01 23:14:21 Total Scanresults = 3
2022/08/01 23:14:21 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrLeading (0.05s)
=== RUN   TestGroupAggrNonLeading
2022/08/01 23:14:21 In TestGroupAggrNonLeading()
2022/08/01 23:14:21 Total Scanresults = 4
2022/08/01 23:14:21 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNonLeading (0.02s)
=== RUN   TestGroupAggrNoGroup
2022/08/01 23:14:21 In TestGroupAggrNoGroup()
2022/08/01 23:14:21 Total Scanresults = 1
2022/08/01 23:14:21 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNoGroup (0.00s)
=== RUN   TestGroupAggrMinMax
2022/08/01 23:14:21 In TestGroupAggrMinMax()
2022/08/01 23:14:21 Total Scanresults = 4
2022/08/01 23:14:21 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMinMax (0.00s)
=== RUN   TestGroupAggrMinMax2
2022/08/01 23:14:21 In TestGroupAggrMinMax()
2022/08/01 23:14:21 Total Scanresults = 1
2022/08/01 23:14:21 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMinMax2 (0.00s)
=== RUN   TestGroupAggrLeading_N1QLExprs
2022/08/01 23:14:21 In TestGroupAggrLeading_N1QLExprs()
2022/08/01 23:14:21 Total Scanresults = 17
2022/08/01 23:14:22 basicGroupAggrN1QLExprs1: Scan validation passed
2022/08/01 23:14:22 Total Scanresults = 9
2022/08/01 23:14:22 basicGroupAggrN1QLExprs2: Scan validation passed
--- PASS: TestGroupAggrLeading_N1QLExprs (0.24s)
=== RUN   TestGroupAggrLimit
2022/08/01 23:14:22 In TestGroupAggrLimit()
2022/08/01 23:14:22 Total Scanresults = 3
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrLimit (0.00s)
=== RUN   TestGroupAggrOffset
2022/08/01 23:14:22 In TestGroupAggrOffset()
2022/08/01 23:14:22 Total Scanresults = 3
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrOffset (0.00s)
=== RUN   TestGroupAggrCountN
2022/08/01 23:14:22 In TestGroupAggrCountN()
2022/08/01 23:14:22 Total Scanresults = 4
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 4
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrCountN (0.00s)
=== RUN   TestGroupAggrNoGroupNoMatch
2022/08/01 23:14:22 In TestGroupAggrNoGroupNoMatch()
2022/08/01 23:14:22 Total Scanresults = 1
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNoGroupNoMatch (0.00s)
=== RUN   TestGroupAggrGroupNoMatch
2022/08/01 23:14:22 In TestGroupAggrGroupNoMatch()
2022/08/01 23:14:22 Total Scanresults = 0
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrGroupNoMatch (0.00s)
=== RUN   TestGroupAggrMultDataTypes
2022/08/01 23:14:22 In TestGroupAggrMultDataTypes()
2022/08/01 23:14:22 Total Scanresults = 8
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMultDataTypes (0.00s)
=== RUN   TestGroupAggrDistinct
2022/08/01 23:14:22 In TestGroupAggrDistinct()
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDistinct (0.00s)
=== RUN   TestGroupAggrDistinct2
2022/08/01 23:14:22 In TestGroupAggrDistinct2()
2022/08/01 23:14:22 Total Scanresults = 1
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 4
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 4
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDistinct2 (0.00s)
=== RUN   TestGroupAggrNull
2022/08/01 23:14:22 In TestGroupAggrNull()
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNull (0.00s)
=== RUN   TestGroupAggrInt64
2022/08/01 23:14:22 In TestGroupAggrInt64()
2022/08/01 23:14:22 Updating the default bucket
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
2022/08/01 23:14:22 Total Scanresults = 2
2022/08/01 23:14:22 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrInt64 (0.22s)
=== RUN   TestGroupAggr1
2022/08/01 23:14:22 In TestGroupAggr1()
2022/08/01 23:14:22 In DropAllSecondaryIndexes()
2022/08/01 23:14:22 Index found:  index_company_name_age_desc
2022/08/01 23:14:22 Dropped index index_company_name_age_desc
2022/08/01 23:14:22 Index found:  #primary
2022/08/01 23:14:22 Dropped index #primary
2022/08/01 23:14:22 Index found:  index_agg
2022/08/01 23:14:22 Dropped index index_agg
2022/08/01 23:14:22 Index found:  index_companyname_desc
2022/08/01 23:14:22 Dropped index index_companyname_desc
2022/08/01 23:14:22 Index found:  index_company_desc
2022/08/01 23:14:22 Dropped index index_company_desc
2022/08/01 23:15:00 Flushed the bucket default, Response body: 
2022/08/01 23:15:09 Created the secondary index idx_aggrs. Waiting for it become active
2022/08/01 23:15:09 Index is 13172010324294246074 now active
2022/08/01 23:15:09 Total Scanresults = 641
2022/08/01 23:15:09 Total Scanresults = 753
--- PASS: TestGroupAggr1 (47.49s)
=== RUN   TestGroupAggrArrayIndex
2022/08/01 23:15:09 In TestGroupAggrArrayIndex()
2022/08/01 23:15:13 Created the secondary index ga_arr1. Waiting for it become active
2022/08/01 23:15:13 Index is 467184596859840740 now active
2022/08/01 23:15:17 Created the secondary index ga_arr2. Waiting for it become active
2022/08/01 23:15:17 Index is 5307160436063348656 now active
2022/08/01 23:15:17 Scenario 1
2022/08/01 23:15:17 Total Scanresults = 641
2022/08/01 23:15:18 Scenario 2
2022/08/01 23:15:18 Total Scanresults = 2835
2022/08/01 23:15:19 Scenario 3
2022/08/01 23:15:19 Total Scanresults = 1
2022/08/01 23:15:19 Scenario 4
2022/08/01 23:15:19 Total Scanresults = 991
2022/08/01 23:15:19 Scenario 5
2022/08/01 23:15:19 Total Scanresults = 2835
2022/08/01 23:15:20 Scenario 6
2022/08/01 23:15:20 Total Scanresults = 1
2022/08/01 23:15:20 Scenario 7
2022/08/01 23:15:20 Total Scanresults = 2931
2022/08/01 23:15:23 Scenario 8
2022/08/01 23:15:23 Total Scanresults = 1168
2022/08/01 23:15:24 Scenario 9
2022/08/01 23:15:24 Total Scanresults = 1
2022/08/01 23:15:24 Scenario 10
2022/08/01 23:15:24 Total Scanresults = 641
2022/08/01 23:15:25 Scenario 11
2022/08/01 23:15:25 Total Scanresults = 1168
2022/08/01 23:15:25 Scenario 12
2022/08/01 23:15:25 Total Scanresults = 1
2022/08/01 23:15:26 Scenario 13
2022/08/01 23:15:30 Total Scanresults = 1
2022/08/01 23:15:30 Count of scanResults is 1
2022/08/01 23:15:30 Value: [2 117]
--- PASS: TestGroupAggrArrayIndex (20.57s)
=== RUN   TestGroupAggr_FirstValidAggrOnly
2022/08/01 23:15:30 In TestGroupAggr_FirstValidAggrOnly()
2022/08/01 23:15:30 In DropAllSecondaryIndexes()
2022/08/01 23:15:30 Index found:  test_oneperprimarykey
2022/08/01 23:15:30 Dropped index test_oneperprimarykey
2022/08/01 23:15:30 Index found:  #primary
2022/08/01 23:15:30 Dropped index #primary
2022/08/01 23:15:30 Index found:  ga_arr1
2022/08/01 23:15:30 Dropped index ga_arr1
2022/08/01 23:15:30 Index found:  ga_arr2
2022/08/01 23:15:30 Dropped index ga_arr2
2022/08/01 23:15:30 Index found:  idx_aggrs
2022/08/01 23:15:30 Dropped index idx_aggrs
2022/08/01 23:15:43 Created the secondary index idx_asc_3field. Waiting for it become active
2022/08/01 23:15:43 Index is 13437051422632918474 now active
2022/08/01 23:15:47 Created the secondary index idx_desc_3field. Waiting for it become active
2022/08/01 23:15:47 Index is 6362102926654941445 now active
2022/08/01 23:15:47 === MIN no group by ===
2022/08/01 23:15:47 Total Scanresults = 1
2022/08/01 23:15:47 Count of scanResults is 1
2022/08/01 23:15:47 Value: ["ACCEL"]
2022/08/01 23:15:47 === MIN no group by, no row match ===
2022/08/01 23:15:47 Total Scanresults = 1
2022/08/01 23:15:47 Count of scanResults is 1
2022/08/01 23:15:47 Value: [null]
2022/08/01 23:15:47 === MIN with group by ===
2022/08/01 23:15:47 Total Scanresults = 641
2022/08/01 23:15:48 === MIN with group by, no row match ===
2022/08/01 23:15:48 Total Scanresults = 0
2022/08/01 23:15:48 === One Aggr, no group by ===
2022/08/01 23:15:48 Total Scanresults = 1
2022/08/01 23:15:48 Count of scanResults is 1
2022/08/01 23:15:48 Value: ["FANFARE"]
2022/08/01 23:15:49 === One Aggr, no group by, no row match ===
2022/08/01 23:15:49 Total Scanresults = 1
2022/08/01 23:15:49 Count of scanResults is 1
2022/08/01 23:15:49 Value: [null]
2022/08/01 23:15:49 === Multiple Aggr, no group by ===
2022/08/01 23:15:49 Total Scanresults = 1
2022/08/01 23:15:49 Count of scanResults is 1
2022/08/01 23:15:49 Value: ["FANFARE" 15]
2022/08/01 23:15:49 === Multiple Aggr, no group by, no row match ===
2022/08/01 23:15:49 Total Scanresults = 1
2022/08/01 23:15:49 Count of scanResults is 1
2022/08/01 23:15:49 Value: [null null]
2022/08/01 23:15:49 === No Aggr, 1 group by ===
2022/08/01 23:15:49 Total Scanresults = 211
2022/08/01 23:15:50 === Aggr on non-leading key, previous equality filter, no group ===
2022/08/01 23:15:50 Total Scanresults = 1
2022/08/01 23:15:50 Count of scanResults is 1
2022/08/01 23:15:50 Value: [59]
2022/08/01 23:15:50 === Aggr on non-leading key, previous equality filters, no group ===
2022/08/01 23:15:50 Total Scanresults = 1
2022/08/01 23:15:50 Count of scanResults is 1
2022/08/01 23:15:50 Value: [null]
2022/08/01 23:15:50 === Aggr on non-leading key, previous non-equality filters, no group ===
2022/08/01 23:15:50 Total Scanresults = 1
2022/08/01 23:15:50 Count of scanResults is 1
2022/08/01 23:15:50 Value: ["Adam"]
2022/08/01 23:15:50 === MIN on desc, no group ===
2022/08/01 23:15:50 Total Scanresults = 1
2022/08/01 23:15:50 Count of scanResults is 1
2022/08/01 23:15:50 Value: ["FANFARE"]
2022/08/01 23:15:50 === MAX on asc, no group ===
2022/08/01 23:15:50 Total Scanresults = 1
2022/08/01 23:15:50 Count of scanResults is 1
2022/08/01 23:15:50 Value: ["OZEAN"]
2022/08/01 23:15:50 === MAX on desc, no group ===
2022/08/01 23:15:50 Total Scanresults = 1
2022/08/01 23:15:50 Count of scanResults is 1
2022/08/01 23:15:50 Value: ["OZEAN"]
2022/08/01 23:15:51 === COUNT(DISTINCT const_expr, no group ===
2022/08/01 23:15:51 Total Scanresults = 1
2022/08/01 23:15:51 Count of scanResults is 1
2022/08/01 23:15:51 Value: [1]
2022/08/01 23:15:51 === COUNT(DISTINCT const_expr, no group, no row match ===
2022/08/01 23:15:51 Total Scanresults = 1
2022/08/01 23:15:51 Count of scanResults is 1
2022/08/01 23:15:51 Value: [0]
2022/08/01 23:15:51 === COUNT(const_expr, no group ===
2022/08/01 23:15:51 Total Scanresults = 1
2022/08/01 23:15:51 Count of scanResults is 1
2022/08/01 23:15:51 Value: [345]
2022/08/01 23:15:55 Created the secondary index indexMinAggr. Waiting for it become active
2022/08/01 23:15:55 Index is 2761111774837157235 now active
2022/08/01 23:15:55 === Equality filter check: Equality for a, nil filter for b - inclusion 0, no filter for c ===
2022/08/01 23:15:55 Total Scanresults = 1
2022/08/01 23:15:55 Count of scanResults is 1
2022/08/01 23:15:55 Value: [5]
2022/08/01 23:15:55 === Equality filter check: Equality for a, nil filter for b - inclusion 3, no filter for c ===
2022/08/01 23:15:55 Total Scanresults = 1
2022/08/01 23:15:55 Count of scanResults is 1
2022/08/01 23:15:55 Value: [5]
2022/08/01 23:15:55 === Equality filter check: Equality for a, nil filter for b - inclusion 3, nil filter for c ===
2022/08/01 23:15:55 Total Scanresults = 1
2022/08/01 23:15:55 Count of scanResults is 1
2022/08/01 23:15:55 Value: [5]
--- PASS: TestGroupAggr_FirstValidAggrOnly (25.54s)
=== RUN   TestGroupAggrPrimary
2022/08/01 23:15:55 In TestGroupAggrPrimary()
2022/08/01 23:15:55 Total Scanresults = 1
2022/08/01 23:15:56 Total Scanresults = 1
2022/08/01 23:15:56 Total Scanresults = 1
2022/08/01 23:15:56 Total Scanresults = 1002
2022/08/01 23:15:56 Total Scanresults = 1002
2022/08/01 23:15:56 Total Scanresults = 1
2022/08/01 23:15:56 Total Scanresults = 1
2022/08/01 23:15:57 Total Scanresults = 1
2022/08/01 23:15:57 Total Scanresults = 1
2022/08/01 23:15:57 Total Scanresults = 1
2022/08/01 23:15:57 Total Scanresults = 1
2022/08/01 23:15:57 --- MB-28305 Scenario 1 ---
2022/08/01 23:15:57 Total Scanresults = 1
2022/08/01 23:15:57 Count of scanResults is 1
2022/08/01 23:15:57 Value: [0]
2022/08/01 23:15:57 --- MB-28305 Scenario 2 ---
2022/08/01 23:15:57 Total Scanresults = 1
2022/08/01 23:15:57 Count of scanResults is 1
2022/08/01 23:15:57 Value: [0]
2022/08/01 23:15:57 --- MB-28305 Scenario 3 ---
2022/08/01 23:15:57 Total Scanresults = 1
2022/08/01 23:15:57 Count of scanResults is 1
2022/08/01 23:15:57 Value: [0]
--- PASS: TestGroupAggrPrimary (1.46s)
=== RUN   TestGroupAggrDocumentKey
2022/08/01 23:15:57 In TestGroupAggrDocumentKey()
2022/08/01 23:15:57 Dropping the secondary index documentkey_idx1
2022/08/01 23:15:57 Dropping the secondary index documentkey_idx2
2022/08/01 23:15:57 Populating the default bucket for TestGroupAggrDocumentKey single key index
2022/08/01 23:16:01 Created the secondary index documentkey_idx1. Waiting for it become active
2022/08/01 23:16:01 Index is 289681615433205547 now active
2022/08/01 23:16:01 Using n1ql client
2022/08/01 23:16:02 Scanresult Row  ["1"] :  
2022/08/01 23:16:02 Scanresult Row  ["2"] :  
2022/08/01 23:16:02 Scanresult Row  ["3"] :  
2022/08/01 23:16:02 Expected and Actual scan responses are the same
2022/08/01 23:16:02 Populating the default bucket for TestGroupAggrDocumentKey composite key index
2022/08/01 23:16:06 Created the secondary index documentkey_idx2. Waiting for it become active
2022/08/01 23:16:06 Index is 7888150681148289027 now active
2022/08/01 23:16:06 Using n1ql client
2022/08/01 23:16:07 Scanresult Row  ["1"] :  
2022/08/01 23:16:07 Scanresult Row  ["2"] :  
2022/08/01 23:16:07 Scanresult Row  ["3"] :  
2022/08/01 23:16:07 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDocumentKey (10.22s)
=== RUN   TestRebalanceSetupCluster
2022/08/01 23:16:07 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/08/01 23:16:07 set14_rebalance_test.go::TestRebalanceSetupCluster: 1. Setting up initial cluster configuration
2022/08/01 23:16:07 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022/08/01 23:16:12 Rebalance progress: 3.450520833333334
2022/08/01 23:16:17 Rebalance progress: 8.984375
2022/08/01 23:16:22 Rebalance progress: 14.71354166666667
2022/08/01 23:16:27 Rebalance progress: 20.5078125
2022/08/01 23:16:32 Rebalance progress: 25.9765625
2022/08/01 23:16:37 Rebalance progress: 32.35677083333334
2022/08/01 23:16:43 Rebalance progress: 38.671875
2022/08/01 23:16:47 Rebalance progress: 44.98697916666666
2022/08/01 23:16:52 Rebalance progress: 49.34895833333334
2022/08/01 23:16:57 Rebalance progress: 50
2022/08/01 23:17:02 Rebalance progress: 50
2022-08-01T23:17:04.394+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:58344->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:17:04.404+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:58342->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 23:17:07 Rebalance progress: 100
2022/08/01 23:17:07 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 23:17:19 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 23:17:24 Rebalance progress: 100
2022/08/01 23:17:24 set14_rebalance_test.go::TestRebalanceSetupCluster: 2. Changing indexer.settings.rebalance.redistribute_indexes to true
2022/08/01 23:17:24 Changing config key indexer.settings.rebalance.redistribute_indexes to value true
2022/08/01 23:17:25 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 (77.34s)
=== RUN   TestCreateDocsBeforeRebalance
2022/08/01 23:17:25 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 23:17:25 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: 1. Creating 100 documents
2022/08/01 23:17:25 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: 100 documents created
2022/08/01 23:17:25 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/08/01 23:17:25 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 23:17:25 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 1. Creating 17 indexes: non-partitioned, 0-replica, non-deferred
2022/08/01 23:17:25 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN__id on `default`(_id)
2022/08/01 23:17:28 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN__id index is now active.
2022/08/01 23:17:28 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_docid on `default`(docid)
2022/08/01 23:17:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_docid index is now active.
2022/08/01 23:17:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_guid on `default`(guid)
2022/08/01 23:17:37 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_guid index is now active.
2022/08/01 23:17:37 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_isActive on `default`(isActive)
2022/08/01 23:17:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_isActive index is now active.
2022/08/01 23:17:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_balance on `default`(balance)
2022/08/01 23:17:44 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_balance index is now active.
2022/08/01 23:17:44 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_picture on `default`(picture)
2022/08/01 23:17:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_picture index is now active.
2022/08/01 23:17:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_age on `default`(age)
2022/08/01 23:17:52 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_age index is now active.
2022/08/01 23:17:52 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_eyeColor on `default`(eyeColor)
2022/08/01 23:17:56 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_eyeColor index is now active.
2022/08/01 23:17:56 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_name on `default`(name)
2022/08/01 23:18:00 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_name index is now active.
2022/08/01 23:18:00 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_gender on `default`(gender)
2022/08/01 23:18:04 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_gender index is now active.
2022/08/01 23:18:04 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_company on `default`(company)
2022/08/01 23:18:08 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_company index is now active.
2022/08/01 23:18:08 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_email on `default`(email)
2022/08/01 23:18:12 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_email index is now active.
2022/08/01 23:18:12 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_phone on `default`(phone)
2022/08/01 23:18:16 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_phone index is now active.
2022/08/01 23:18:16 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_registered on `default`(registered)
2022/08/01 23:18:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_registered index is now active.
2022/08/01 23:18:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_latitude on `default`(latitude)
2022/08/01 23:18:25 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_latitude index is now active.
2022/08/01 23:18:25 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_longitude on `default`(longitude)
2022/08/01 23:18:29 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_longitude index is now active.
2022/08/01 23:18:29 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_favoriteFruit on `default`(favoriteFruit)
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_favoriteFruit index is now active.
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 2. Creating 17 indexes: non-partitioned, 0-replica, DEFERRED
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED__id_docid on `default`(_id, docid) with {"defer_build":true}
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED__id_docid index is now deferred.
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_docid_guid on `default`(docid, guid) with {"defer_build":true}
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_docid_guid index is now deferred.
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_guid_isActive on `default`(guid, isActive) with {"defer_build":true}
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_guid_isActive index is now deferred.
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_isActive_balance on `default`(isActive, balance) with {"defer_build":true}
2022/08/01 23:18:33 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_isActive_balance index is now deferred.
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_balance_picture on `default`(balance, picture) with {"defer_build":true}
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_balance_picture index is now deferred.
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_picture_age on `default`(picture, age) with {"defer_build":true}
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_picture_age index is now deferred.
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_age_eyeColor on `default`(age, eyeColor) with {"defer_build":true}
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_age_eyeColor index is now deferred.
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_eyeColor_name on `default`(eyeColor, name) with {"defer_build":true}
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_eyeColor_name index is now deferred.
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_name_gender on `default`(name, gender) with {"defer_build":true}
2022/08/01 23:18:34 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_name_gender index is now deferred.
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_gender_company on `default`(gender, company) with {"defer_build":true}
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_gender_company index is now deferred.
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_company_email on `default`(company, email) with {"defer_build":true}
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_company_email index is now deferred.
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_email_phone on `default`(email, phone) with {"defer_build":true}
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_email_phone index is now deferred.
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_phone_registered on `default`(phone, registered) with {"defer_build":true}
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_phone_registered index is now deferred.
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_registered_latitude on `default`(registered, latitude) with {"defer_build":true}
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_registered_latitude index is now deferred.
2022/08/01 23:18:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_latitude_longitude on `default`(latitude, longitude) with {"defer_build":true}
2022/08/01 23:18:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_latitude_longitude index is now deferred.
2022/08/01 23:18:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_longitude_favoriteFruit on `default`(longitude, favoriteFruit) with {"defer_build":true}
2022/08/01 23:18:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_longitude_favoriteFruit index is now deferred.
2022/08/01 23:18:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_favoriteFruit__id on `default`(favoriteFruit, _id) with {"defer_build":true}
2022/08/01 23:18:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_favoriteFruit__id index is now deferred.
2022/08/01 23:18:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 3. Creating 3 indexes: 7-PARTITION, 0-replica, non-deferred
2022/08/01 23:18:36 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/08/01 23:18:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS__id_guid index is now active.
2022/08/01 23:18:40 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/08/01 23:18:44 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS_docid_isActive index is now active.
2022/08/01 23:18:44 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/08/01 23:18:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS_guid_balance index is now active.
2022/08/01 23:18:48 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 (83.62s)
=== RUN   TestIndexNodeRebalanceIn
2022/08/01 23:18:48 TestIndexNodeRebalanceIn entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 23:18:48 TestIndexNodeRebalanceIn: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/08/01 23:18:48 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/08/01 23:18:55 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022/08/01 23:18:55 TestIndexNodeRebalanceIn: 2. Adding index node 127.0.0.1:9003 to the cluster
2022/08/01 23:18:55 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/08/01 23:19:02 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022/08/01 23:19:02 TestIndexNodeRebalanceIn: 3. Rebalancing
2022/08/01 23:19:08 Rebalance progress: 0
2022/08/01 23:19:13 Rebalance progress: 12.5
2022/08/01 23:19:18 Rebalance progress: 43.05555555555555
2022/08/01 23:19:23 Rebalance progress: 51.38888888888889
2022/08/01 23:19:28 Rebalance progress: 56.94444444444444
2022/08/01 23:19:33 Rebalance progress: 62.5
2022/08/01 23:19:38 Rebalance progress: 68.05555555555556
2022/08/01 23:19:43 Rebalance progress: 73.6111111111111
2022/08/01 23:19:48 Rebalance progress: 79.16666666666666
2022/08/01 23:19:53 Rebalance progress: 100
2022/08/01 23:19:53 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 (66.80s)
=== RUN   TestCreateReplicatedIndexesBeforeRebalance
2022/08/01 23:19:55 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/08/01 23:19:55 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: 1. Creating 5 indexes: non-partitioned, 2-REPLICA, non-deferred
2022/08/01 23:19:55 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS__id_isActive on `default`(_id, isActive) with {"num_replica":2}
2022/08/01 23:20:03 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS__id_isActive index is now active.
2022/08/01 23:20:03 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_docid_balance on `default`(docid, balance) with {"num_replica":2}
2022/08/01 23:20:18 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_docid_balance index is now active.
2022/08/01 23:20:18 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_guid_picture on `default`(guid, picture) with {"num_replica":2}
2022/08/01 23:20:26 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_guid_picture index is now active.
2022/08/01 23:20:26 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_isActive_age on `default`(isActive, age) with {"num_replica":2}
2022/08/01 23:20:38 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_isActive_age index is now active.
2022/08/01 23:20:38 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_balance_eyeColor on `default`(balance, eyeColor) with {"num_replica":2}
2022/08/01 23:20:46 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_balance_eyeColor index is now active.
2022/08/01 23:20:46 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: 2. Creating 2 indexes: 5-PARTITION, 1-REPLICA, non-deferred
2022/08/01 23:20:46 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/08/01 23:20:55 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_5PARTITIONS_1REPLICAS__id_balance index is now active.
2022/08/01 23:20:55 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/08/01 23:21:05 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_5PARTITIONS_1REPLICAS_docid_picture index is now active.
2022/08/01 23:21:05 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 (69.97s)
=== RUN   TestIndexNodeRebalanceOut
2022/08/01 23:21:05 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/08/01 23:21:05 set14_rebalance_test.go::TestIndexNodeRebalanceOut: 1. Rebalancing index node 127.0.0.1:9001 out of the cluster
2022/08/01 23:21:05 Removing node(s): [127.0.0.1:9001] from the cluster
2022/08/01 23:21:11 Rebalance progress: 12.5
2022/08/01 23:21:16 Rebalance progress: 32.95454545454545
2022/08/01 23:21:21 Rebalance progress: 43.18181818181818
2022/08/01 23:21:26 Rebalance progress: 50
2022/08/01 23:21:31 Rebalance progress: 56.81818181818182
2022/08/01 23:21:36 Rebalance progress: 63.63636363636365
2022/08/01 23:21:41 Rebalance progress: 67.04545454545455
2022/08/01 23:21:46 Rebalance progress: 73.86363636363636
2022/08/01 23:21:51 Rebalance progress: 77.27272727272727
2022-08-01T23:21:54.556+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:44596->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:21:54.559+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:44600->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 23:21:56 Rebalance progress: 100
2022/08/01 23:21:56 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 (52.89s)
=== RUN   TestFailoverAndRebalance
2022/08/01 23:21:58 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/08/01 23:21:58 set14_rebalance_test.go::TestFailoverAndRebalance: 1. Failing over index node 127.0.0.1:9002
2022/08/01 23:21:58 Failing over: [127.0.0.1:9002]
2022-08-01T23:21:58.723+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:36140->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T23:21:58.740+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:36138->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/08/01 23:21:59 set14_rebalance_test.go::TestFailoverAndRebalance: 2. Rebalancing
2022/08/01 23:22:04 Rebalance progress: 25
2022/08/01 23:22:09 Rebalance progress: 75
2022/08/01 23:22:14 Rebalance progress: 100
2022/08/01 23:22:14 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 (18.55s)
=== RUN   TestSwapRebalance
2022/08/01 23:22:16 set14_rebalance_test.go::TestSwapRebalance: entry: Current cluster configuration: map[127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 23:22:16 set14_rebalance_test.go::TestSwapRebalance: 1. Adding index node 127.0.0.1:9001 to the cluster
2022/08/01 23:22:16 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 23:22:25 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 23:22:25 set14_rebalance_test.go::TestSwapRebalance: 2. Swap rebalancing index node 127.0.0.1:9003 out of the cluster
2022/08/01 23:22:25 Removing node(s): [127.0.0.1:9003] from the cluster
2022/08/01 23:22:30 Rebalance progress: 16.66666666666667
2022/08/01 23:22:36 Rebalance progress: 38.88888888888889
2022/08/01 23:22:40 Rebalance progress: 46.2962962962963
2022/08/01 23:22:46 Rebalance progress: 53.7037037037037
2022/08/01 23:22:50 Rebalance progress: 61.11111111111111
2022/08/01 23:22:55 Rebalance progress: 68.51851851851852
2022/08/01 23:23:00 Rebalance progress: 70.98765432098766
2022/08/01 23:23:05 Rebalance progress: 75.92592592592592
2022-08-01T23:23:07.719+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:43656->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T23:23:07.725+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:43654->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022/08/01 23:23:10 Rebalance progress: 100
2022/08/01 23:23:10 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.97s)
=== RUN   TestRebalanceReplicaRepair
2022/08/01 23:23:12 TestRebalanceReplicaRepair entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 23:23:12 TestRebalanceReplicaRepair: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/08/01 23:23:12 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/08/01 23:23:21 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022/08/01 23:23:21 TestRebalanceReplicaRepair: 2. Adding index node 127.0.0.1:9003 to the cluster
2022/08/01 23:23:21 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/08/01 23:23:29 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022/08/01 23:23:29 TestRebalanceReplicaRepair: 3. Rebalancing
2022/08/01 23:23:35 Rebalance progress: 12.5
2022-08-01T23:23:35.222+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:23:35.251+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:23:35.275+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:23:35.284+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:23:35.288+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:23:35.288+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:23:35.307+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T23:23:35.315+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022/08/01 23:23:39 Rebalance progress: 12.5
2022/08/01 23:23:44 Rebalance progress: 26.13636363636364
2022/08/01 23:23:49 Rebalance progress: 32.95454545454545
2022/08/01 23:23:54 Rebalance progress: 37.5
2022/08/01 23:23:59 Rebalance progress: 42.04545454545454
2022/08/01 23:24:04 Rebalance progress: 46.59090909090909
2022/08/01 23:24:09 Rebalance progress: 46.59090909090909
2022/08/01 23:24:15 Rebalance progress: 51.13636363636363
2022/08/01 23:24:19 Rebalance progress: 55.68181818181819
2022/08/01 23:24:24 Rebalance progress: 60.22727272727273
2022/08/01 23:24:29 Rebalance progress: 64.77272727272727
2022/08/01 23:24:34 Rebalance progress: 69.31818181818181
2022/08/01 23:24:39 Rebalance progress: 73.86363636363636
2022/08/01 23:24:44 Rebalance progress: 78.4090909090909
2022/08/01 23:24:49 Rebalance progress: 82.95454545454545
2022/08/01 23:24:54 Rebalance progress: 100
2022/08/01 23:24: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 (103.96s)
=== RUN   TestPauseAndResume
2022/08/01 23:24: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/08/01 23:24:56 set14_rebalance_test.go::TestPauseAndResume: Before start, calling GetTaskList
2022/08/01 23:24:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc00d3b4570}, TaskList &{Rev:[0 0 0 0 0 0 0 14] Tasks:[]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc005ada810}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc00d3b48d0}, TaskList &{Rev:[0 0 0 0 0 0 0 19] Tasks:[]}
2022/08/01 23:24:57 set14_rebalance_test.go::TestPauseAndResume: Calling PreparePause
2022/08/01 23:24:57 set14_rebalance_test.go::TestPauseAndResume: Calling GetTaskList(PreparePause)
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0090463c0}, TaskList &{Rev:[0 0 0 0 0 0 0 14] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-pause Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket bucketUuid:fakeBucketUuid]}]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc009dfab10}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-pause Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket bucketUuid:fakeBucketUuid]}]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0090466c0}, TaskList &{Rev:[0 0 0 0 0 0 0 19] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-pause Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket bucketUuid:fakeBucketUuid]}]}
2022/08/01 23:24:57 set14_rebalance_test.go::TestPauseAndResume: Calling CancelTask(PreparePause)
2022/08/01 23:24:57 set14_rebalance_test.go::TestPauseAndResume: Calling GetTaskList()
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc00ee4f770}, TaskList &{Rev:[0 0 0 0 0 0 0 14] Tasks:[]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc00b37b560}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc00ee4f9e0}, TaskList &{Rev:[0 0 0 0 0 0 0 19] Tasks:[]}
2022/08/01 23:24:57 set14_rebalance_test.go::TestPauseAndResume: Calling PrepareResume
2022/08/01 23:24:57 set14_rebalance_test.go::TestPauseAndResume: Calling GetTaskList(PrepareResume)
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0088824b0}, TaskList &{Rev:[0 0 0 0 0 0 0 14] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-resume Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket dryRun:true]}]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0088827b0}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-resume Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket dryRun:true]}]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc008882ab0}, TaskList &{Rev:[0 0 0 0 0 0 0 19] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-resume Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket dryRun:true]}]}
2022/08/01 23:24:57 set14_rebalance_test.go::TestPauseAndResume: Calling CancelTask(PrepareResume)
2022/08/01 23:24:57 set14_rebalance_test.go::TestPauseAndResume: Calling GetTaskList()
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0083ed920}, TaskList &{Rev:[0 0 0 0 0 0 0 14] Tasks:[]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0048de1b0}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[]}
2022/08/01 23:24:57 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0083edb90}, TaskList &{Rev:[0 0 0 0 0 0 0 19] Tasks:[]}
2022/08/01 23:24:57 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.41s)
=== RUN   TestFailureAndRebalanceDuringInitialIndexBuild
2022/08/01 23:24:57 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/08/01 23:25:01 Created the secondary index index_0. Waiting for it become active
2022/08/01 23:25:01 Index is 10906487823098878194 now active
2022/08/01 23:25:05 Created the secondary index index_1. Waiting for it become active
2022/08/01 23:25:05 Index is 3608925137011716467 now active
2022/08/01 23:25:10 Created the secondary index index_2. Waiting for it become active
2022/08/01 23:25:10 Index is 2983429371971677288 now active
2022/08/01 23:25:14 Created the secondary index index_3. Waiting for it become active
2022/08/01 23:25:14 Index is 11759097754881073237 now active
2022/08/01 23:25:18 Created the secondary index index_4. Waiting for it become active
2022/08/01 23:25:18 Index is 5638300367656407284 now active
2022/08/01 23:25:23 Created the secondary index index_5. Waiting for it become active
2022/08/01 23:25:23 Index is 1935466487219983621 now active
2022/08/01 23:25:27 Created the secondary index index_6. Waiting for it become active
2022/08/01 23:25:27 Index is 13104483228504942880 now active
2022/08/01 23:25:31 Created the secondary index index_7. Waiting for it become active
2022/08/01 23:25:31 Index is 527618656091834327 now active
2022/08/01 23:25:39 Created the secondary index index_8. Waiting for it become active
2022/08/01 23:25:39 Index is 16573164870417050197 now active
2022/08/01 23:25:47 Created the secondary index index_9. Waiting for it become active
2022/08/01 23:25:47 Index is 6167816468426971868 now active
2022/08/01 23:26:09 Failing over: [127.0.0.1:9002]
2022-08-01T23:26:09.251+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:47954->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T23:26:09.252+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:47948->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/08/01 23:26:10 Build the deferred index index_11. Waiting for the index to become active
2022/08/01 23:26:10 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:10 TestFailureAndRebalanceDuringInitialIndexBuild: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/08/01 23:26:10 Kicking off failover recovery, type: full
2022/08/01 23:26:11 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:12 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:13 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:14 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:15 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:16 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:17 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:18 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:18 Rebalance progress: 12.5
2022/08/01 23:26:19 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:20 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:21 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:22 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:22 Rebalance failed. See logs for detailed reason. You can try again.
2022/08/01 23:26: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 (85.76s)
=== RUN   TestRebalanceResetCluster
2022/08/01 23:26:23 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/08/01 23:26:23 set14_rebalance_test.go::TestRebalanceResetCluster: 1. Restoring indexer.settings.rebalance.redistribute_indexes to false
2022/08/01 23:26:23 Changing config key indexer.settings.rebalance.redistribute_indexes to value false
2022/08/01 23:26:23 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:23 set14_rebalance_test.go::TestRebalanceResetCluster: 2. Resetting cluster to initial configuration
2022/08/01 23:26:23 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022/08/01 23:26:24 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:25 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:26 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:27 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:28 Waiting for index 1013313631414964420 to go active ...
2022/08/01 23:26:29 Index is 1013313631414964420 now active
2022/08/01 23:26:29 Rebalance progress: 12.5
2022-08-01T23:26:30.137+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57076->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:26:30.137+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:53570->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T23:26:30.137+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:55450->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T23:26:30.138+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:55446->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T23:26:30.146+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57078->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:26:30.150+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:53568->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/08/01 23:26:34 Rebalance progress: 100
2022/08/01 23:26:34 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 23:26:50 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 23:26:55 Rebalance progress: 100
2022/08/01 23:26: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 (34.68s)
=== RUN   TestAlterIndexIncrReplica
2022/08/01 23:26:57 In TestAlterIndexIncrReplica()
2022/08/01 23:26:57 This test creates an index with one replica and then increments replica count to 2
2022/08/01 23:26:57 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-08-01T23:26:59.594+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:40400->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:26:59.637+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:40398->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 23:27:02 Rebalance progress: 100
2022/08/01 23:27:02 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 23:27:13 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 23:27:18 Rebalance progress: 100
2022/08/01 23:27:18 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/08/01 23:27:25 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022/08/01 23:27:30 Rebalance progress: 100
2022/08/01 23:27:30 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/08/01 23:27:37 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022-08-01T23:27:40.011+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:27:40.019+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:27:40.031+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T23:27:40.033+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T23:27:40.060+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:27:40.079+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022/08/01 23:27:42 Rebalance progress: 100
2022/08/01 23:27:42 In DropAllSecondaryIndexes()
2022/08/01 23:28:28 Flushed the bucket default, Response body: 
2022/08/01 23:28:36 Created the secondary index idx_1. Waiting for it become active
2022/08/01 23:28:36 Index is 8404964021508015893 now active
2022/08/01 23:28:36 Executing alter index command: alter index `default`.idx_1 with {"action":"replica_count", "num_replica":2}
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
2022/08/01 23:29:03 Using n1ql client
--- PASS: TestAlterIndexIncrReplica (125.95s)
=== RUN   TestAlterIndexDecrReplica
2022/08/01 23:29:03 In TestAlterIndexDecrReplica()
2022/08/01 23:29:03 This test creates an index with two replicas and then decrements replica count to 1
2022/08/01 23:29:03 In DropAllSecondaryIndexes()
2022/08/01 23:29:03 Index found:  idx_1
2022/08/01 23:29:04 Dropped index idx_1
2022/08/01 23:29:22 Created the secondary index idx_2. Waiting for it become active
2022/08/01 23:29:22 Index is 10626242425232062333 now active
2022/08/01 23:29:22 Executing alter index command: alter index `default`.idx_2 with {"action":"replica_count", "num_replica":1}
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
2022/08/01 23:29:43 Using n1ql client
--- PASS: TestAlterIndexDecrReplica (40.13s)
=== RUN   TestAlterIndexDropReplica
2022/08/01 23:29:43 In TestAlterIndexDropReplica()
2022/08/01 23:29:43 This test creates an index with two replicas and then drops one replica from cluster
2022/08/01 23:29:43 In DropAllSecondaryIndexes()
2022/08/01 23:29:43 Index found:  idx_2
2022/08/01 23:29:44 Dropped index idx_2
2022/08/01 23:30:00 Created the secondary index idx_3. Waiting for it become active
2022/08/01 23:30:00 Index is 16210420268609440199 now active
2022/08/01 23:30:00 Executing alter index command: alter index `default`.idx_3 with {"action":"drop_replica", "replicaId":0}
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
2022/08/01 23:30:21 Using n1ql client
--- PASS: TestAlterIndexDropReplica (37.64s)
=== RUN   TestResetCluster_1
2022/08/01 23:30:21 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-08-01T23:30:25.963+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:57870->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T23:30:25.964+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:37836->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T23:30:25.964+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:41636->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:30:25.964+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:37826->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T23:30:25.968+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:57876->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T23:30:25.968+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:41632->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 23:30:27 Rebalance progress: 87.5
2022/08/01 23:30:32 Rebalance progress: 100
2022/08/01 23:30:32 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 23:30:46 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 23:30:52 Rebalance progress: 100
--- PASS: TestResetCluster_1 (30.58s)
=== RUN   TestPartitionDistributionWithReplica
2022/08/01 23:30:52 In TestPartitionDistributionWithReplica()
2022/08/01 23:30:52 This test will create a paritioned index with replica and checks the parition distribution
2022/08/01 23:30:52 Parititions with same ID beloning to both replica and source index should not be on the same node
2022/08/01 23:30:52 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-08-01T23:30:54.873+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:50112->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:30:54.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:50118->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 23:30:57 Rebalance progress: 100
2022/08/01 23:30:57 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 23:30:58 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 23:31:09 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 23:31:14 Rebalance progress: 100
2022/08/01 23:31:14 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/08/01 23:31:22 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022-08-01T23:31:24.124+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:31:24.165+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:31:24.173+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:31:24.175+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T23:31:24.177+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T23:31:24.205+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022/08/01 23:31:27 Rebalance progress: 100
2022/08/01 23:31:27 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/08/01 23:31:34 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022-08-01T23:31:37.261+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:31:37.271+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T23:31:37.276+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:31:37.285+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T23:31:37.304+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T23:31:37.305+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022/08/01 23:31:39 Rebalance progress: 100
2022/08/01 23:31:39 In DropAllSecondaryIndexes()
2022/08/01 23:32:24 Flushed the bucket default, Response body: 
2022/08/01 23:32:25 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/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
2022/08/01 23:32:50 Using n1ql client
--- PASS: TestPartitionDistributionWithReplica (119.04s)
=== RUN   TestPartitionedPartialIndex
2022/08/01 23:32:51 Executing create index command: CREATE INDEX `idx_regular` ON `default`(partn_name)
2022/08/01 23:32:55 Using n1ql client
2022/08/01 23:32:56 Dropping the secondary index idx_regular
2022/08/01 23:32:56 Index dropped
2022/08/01 23:32:56 Executing create index command: CREATE INDEX `idx_partial` ON `default`(partn_name) WHERE partn_age >= 0
2022/08/01 23:33:01 Using n1ql client
2022/08/01 23:33:01 Using n1ql client
2022/08/01 23:33:01 Using n1ql client
2022/08/01 23:33:01 Dropping the secondary index idx_partial
2022/08/01 23:33:01 Index dropped
2022/08/01 23:33:01 Executing create index command: CREATE INDEX `idx_partitioned` ON `default`(partn_name) PARTITION BY HASH(meta().id) 
2022/08/01 23:33:09 Using n1ql client
2022/08/01 23:33:09 Using n1ql client
2022/08/01 23:33:09 Dropping the secondary index idx_partitioned
2022/08/01 23:33:09 Index dropped
2022/08/01 23:33:10 Executing create index command: CREATE INDEX `idx_partitioned_partial` ON `default`(partn_name) PARTITION BY HASH(meta().id) WHERE partn_age >= 0
2022/08/01 23:33:19 Using n1ql client
2022/08/01 23:33:20 Using n1ql client
2022/08/01 23:33:20 Using n1ql client
2022/08/01 23:33:20 Using n1ql client
2022/08/01 23:33:20 Dropping the secondary index idx_partitioned_partial
2022/08/01 23:33:20 Index dropped
--- PASS: TestPartitionedPartialIndex (35.82s)
=== RUN   TestResetCluster_2
2022/08/01 23:33:26 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022/08/01 23:33:32 Rebalance progress: 12.5
2022-08-01T23:33:33.267+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:47716->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T23:33:33.267+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:39424->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T23:33:33.268+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:51412->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:33:33.308+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:47712->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T23:33:33.308+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:51410->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T23:33:33.309+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:39430->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/08/01 23:33:38 Rebalance progress: 100
2022/08/01 23:33:38 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 23:33:53 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 23:33:59 Rebalance progress: 100
--- PASS: TestResetCluster_2 (32.29s)
=== RUN   TestCollectionSetup
2022/08/01 23:33:59 In TestCollectionSetup()
2022/08/01 23:33:59 In DropAllSecondaryIndexes()
2022/08/01 23:34:53 Flushed the bucket default, Response body: 
--- PASS: TestCollectionSetup (56.09s)
=== RUN   TestCollectionDefault
2022/08/01 23:34:55 In TestCollectionDefault()
2022/08/01 23:35:05 Created the secondary index _default__default_i1. Waiting for it become active
2022/08/01 23:35:05 Index is 1706724263094656127 now active
2022/08/01 23:35:05 Using n1ql client
2022/08/01 23:35:06 Expected and Actual scan responses are the same
2022/08/01 23:35:11 Created the secondary index _default__default_i2. Waiting for it become active
2022/08/01 23:35:11 Index is 17401705598229170987 now active
2022/08/01 23:35:11 Using n1ql client
2022/08/01 23:35:12 Expected and Actual scan responses are the same
2022/08/01 23:35:12 Dropping the secondary index _default__default_i1
2022/08/01 23:35:12 Index dropped
2022/08/01 23:35:12 Using n1ql client
2022/08/01 23:35:12 Expected and Actual scan responses are the same
2022/08/01 23:35:16 Created the secondary index _default__default_i1. Waiting for it become active
2022/08/01 23:35:16 Index is 15722990891905086776 now active
2022/08/01 23:35:16 Using n1ql client
2022/08/01 23:35:16 Expected and Actual scan responses are the same
2022/08/01 23:35:16 Dropping the secondary index _default__default_i1
2022/08/01 23:35:16 Index dropped
2022/08/01 23:35:16 Dropping the secondary index _default__default_i2
2022/08/01 23:35:16 Index dropped
2022/08/01 23:35:19 Created the secondary index _default__default_i1. Waiting for it become active
2022/08/01 23:35:19 Index is 1360519466908863620 now active
2022/08/01 23:35:19 Using n1ql client
2022/08/01 23:35:19 Expected and Actual scan responses are the same
2022/08/01 23:35:25 Created the secondary index _default__default_i2. Waiting for it become active
2022/08/01 23:35:25 Index is 8843646293431982901 now active
2022/08/01 23:35:25 Using n1ql client
2022/08/01 23:35:25 Expected and Actual scan responses are the same
2022/08/01 23:35:25 Dropping the secondary index _default__default_i1
2022/08/01 23:35:25 Index dropped
2022/08/01 23:35:25 Dropping the secondary index _default__default_i2
2022/08/01 23:35:25 Index dropped
2022/08/01 23:35:25 Build command issued for the deferred indexes [_default__default_i1 _default__default_i2]
2022/08/01 23:35:25 Waiting for the index _default__default_i1 to become active
2022/08/01 23:35:25 Waiting for index 1925292064837532777 to go active ...
2022/08/01 23:35:26 Waiting for index 1925292064837532777 to go active ...
2022/08/01 23:35:27 Waiting for index 1925292064837532777 to go active ...
2022/08/01 23:35:28 Index is 1925292064837532777 now active
2022/08/01 23:35:28 Waiting for the index _default__default_i2 to become active
2022/08/01 23:35:28 Index is 9599775046284960689 now active
2022/08/01 23:35:34 Using n1ql client
2022/08/01 23:35:34 Expected and Actual scan responses are the same
2022/08/01 23:35:34 Using n1ql client
2022/08/01 23:35:34 Expected and Actual scan responses are the same
2022/08/01 23:35:34 Dropping the secondary index _default__default_i1
2022/08/01 23:35:34 Index dropped
2022/08/01 23:35:40 Using n1ql client
2022/08/01 23:35:40 Expected and Actual scan responses are the same
2022/08/01 23:35:40 Dropping the secondary index _default__default_i2
2022/08/01 23:35:40 Index dropped
--- PASS: TestCollectionDefault (45.56s)
=== RUN   TestCollectionNonDefault
2022/08/01 23:35:40 In TestCollectionNonDefault()
2022/08/01 23:35:40 Creating scope: s1 for bucket: default as it does not exist
2022/08/01 23:35:41 Create scope succeeded for bucket default, scopeName: s1, body: {"uid":"1"} 
2022/08/01 23:35:41 Created collection succeeded for bucket: default, scope: s1, collection: c1, body: {"uid":"2"}
2022/08/01 23:35:55 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 23:35:55 Index is 17222838116442694336 now active
2022/08/01 23:35:55 Using n1ql client
2022-08-01T23:35:56.238+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T23:35:56.238+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T23:35:56.266+05:30 [Info] metadata provider version changed 3202 -> 3203
2022-08-01T23:35:56.267+05:30 [Info] switched currmeta from 3202 -> 3203 force false 
2022-08-01T23:35:56.267+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:35:56.267+05:30 [Info] GSIC[default/default-s1-c1-1659377155985413604] started ...
2022/08/01 23:35:56 Expected and Actual scan responses are the same
2022/08/01 23:36:02 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 23:36:02 Index is 15357083357416273357 now active
2022/08/01 23:36:02 Using n1ql client
2022/08/01 23:36:02 Expected and Actual scan responses are the same
2022/08/01 23:36:02 Dropping the secondary index s1_c1_i1
2022/08/01 23:36:02 Index dropped
2022/08/01 23:36:02 Using n1ql client
2022/08/01 23:36:02 Expected and Actual scan responses are the same
2022/08/01 23:36:07 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 23:36:07 Index is 2130804073034913188 now active
2022/08/01 23:36:07 Using n1ql client
2022/08/01 23:36:08 Expected and Actual scan responses are the same
2022/08/01 23:36:08 Dropping the secondary index s1_c1_i1
2022/08/01 23:36:08 Index dropped
2022/08/01 23:36:08 Dropping the secondary index s1_c1_i2
2022/08/01 23:36:08 Index dropped
2022/08/01 23:36:11 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 23:36:11 Index is 5598505826946005032 now active
2022/08/01 23:36:11 Using n1ql client
2022/08/01 23:36:12 Expected and Actual scan responses are the same
2022/08/01 23:36:17 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 23:36:17 Index is 11264482321865029687 now active
2022/08/01 23:36:17 Using n1ql client
2022/08/01 23:36:17 Expected and Actual scan responses are the same
2022/08/01 23:36:17 Dropping the secondary index s1_c1_i1
2022/08/01 23:36:17 Index dropped
2022/08/01 23:36:17 Dropping the secondary index s1_c1_i2
2022/08/01 23:36:18 Index dropped
2022/08/01 23:36:18 Build command issued for the deferred indexes [s1_c1_i1 s1_c1_i2]
2022/08/01 23:36:18 Waiting for the index s1_c1_i1 to become active
2022/08/01 23:36:18 Waiting for index 14880253395427068053 to go active ...
2022/08/01 23:36:19 Waiting for index 14880253395427068053 to go active ...
2022/08/01 23:36:20 Waiting for index 14880253395427068053 to go active ...
2022/08/01 23:36:21 Waiting for index 14880253395427068053 to go active ...
2022/08/01 23:36:22 Index is 14880253395427068053 now active
2022/08/01 23:36:22 Waiting for the index s1_c1_i2 to become active
2022/08/01 23:36:22 Index is 15237070449757987951 now active
2022/08/01 23:36:23 Using n1ql client
2022/08/01 23:36:24 Expected and Actual scan responses are the same
2022/08/01 23:36:24 Using n1ql client
2022/08/01 23:36:24 Expected and Actual scan responses are the same
2022/08/01 23:36:24 Dropping the secondary index s1_c1_i1
2022/08/01 23:36:24 Index dropped
2022/08/01 23:36:25 Using n1ql client
2022/08/01 23:36:25 Expected and Actual scan responses are the same
2022/08/01 23:36:25 Dropping the secondary index s1_c1_i2
2022/08/01 23:36:25 Index dropped
--- PASS: TestCollectionNonDefault (44.69s)
=== RUN   TestCollectionMetaAtSnapEnd
2022/08/01 23:36:25 In TestCollectionMetaAtSnapEnd()
2022/08/01 23:36:25 Creating scope: s2 for bucket: default as it does not exist
2022/08/01 23:36:25 Create scope succeeded for bucket default, scopeName: s2, body: {"uid":"3"} 
2022/08/01 23:36:25 Created collection succeeded for bucket: default, scope: s2, collection: c2, body: {"uid":"4"}
2022/08/01 23:36:39 Created the secondary index s2_c2_i1. Waiting for it become active
2022/08/01 23:36:39 Index is 1392054064926987168 now active
2022/08/01 23:36:39 Using n1ql client
2022-08-01T23:36:39.547+05:30 [Info] metadata provider version changed 3261 -> 3262
2022-08-01T23:36:39.547+05:30 [Info] switched currmeta from 3261 -> 3262 force false 
2022-08-01T23:36:39.547+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:36:39.548+05:30 [Info] GSIC[default/default-s2-c2-1659377199440997934] started ...
2022/08/01 23:36:39 Expected and Actual scan responses are the same
2022/08/01 23:36:43 Using n1ql client
2022/08/01 23:36:43 Expected and Actual scan responses are the same
2022/08/01 23:36:43 Created collection succeeded for bucket: default, scope: s2, collection: c3, body: {"uid":"5"}
2022/08/01 23:36:53 Using n1ql client
2022/08/01 23:36:53 Expected and Actual scan responses are the same
2022/08/01 23:36:57 Created the secondary index s2_c2_i2. Waiting for it become active
2022/08/01 23:36:57 Index is 13666921794701015320 now active
2022/08/01 23:36:57 Using n1ql client
2022/08/01 23:36:57 Expected and Actual scan responses are the same
2022/08/01 23:36:57 Using n1ql client
2022/08/01 23:36:57 Expected and Actual scan responses are the same
2022/08/01 23:37:04 Using n1ql client
2022/08/01 23:37:04 Expected and Actual scan responses are the same
2022/08/01 23:37:04 Using n1ql client
2022/08/01 23:37:04 Expected and Actual scan responses are the same
--- PASS: TestCollectionMetaAtSnapEnd (38.87s)
=== RUN   TestCollectionUpdateSeq
2022/08/01 23:37:04 In TestCollectionUpdateSeq()
2022/08/01 23:37:05 Using n1ql client
2022/08/01 23:37:05 Expected and Actual scan responses are the same
2022/08/01 23:37:05 Using n1ql client
2022/08/01 23:37:05 Expected and Actual scan responses are the same
2022/08/01 23:37:11 Using n1ql client
2022/08/01 23:37:11 Expected and Actual scan responses are the same
2022/08/01 23:37:11 Using n1ql client
2022/08/01 23:37:11 Expected and Actual scan responses are the same
2022/08/01 23:37:11 Dropping the secondary index s2_c2_i1
2022/08/01 23:37:11 Index dropped
2022/08/01 23:37:11 Dropping the secondary index s2_c2_i2
2022/08/01 23:37:11 Index dropped
--- PASS: TestCollectionUpdateSeq (6.93s)
=== RUN   TestCollectionMultiple
2022/08/01 23:37:11 In TestCollectionMultiple()
2022/08/01 23:37:14 Created the secondary index _default__default_i3. Waiting for it become active
2022/08/01 23:37:14 Index is 6912467932805150737 now active
2022/08/01 23:37:14 Using n1ql client
2022/08/01 23:37:15 Expected and Actual scan responses are the same
2022/08/01 23:37:20 Created the secondary index s1_c1_i4. Waiting for it become active
2022/08/01 23:37:20 Index is 12962322890911705865 now active
2022/08/01 23:37:20 Using n1ql client
2022/08/01 23:37:20 Expected and Actual scan responses are the same
2022/08/01 23:37:20 Dropping the secondary index _default__default_i3
2022/08/01 23:37:20 Index dropped
2022/08/01 23:37:20 Dropping the secondary index s1_c1_i4
2022/08/01 23:37:20 Index dropped
--- PASS: TestCollectionMultiple (9.37s)
=== RUN   TestCollectionNoDocs
2022/08/01 23:37:20 In TestCollectionNoDocs()
2022/08/01 23:37:25 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 23:37:25 Index is 13522776654018566058 now active
2022/08/01 23:37:25 Using n1ql client
2022/08/01 23:37:25 Expected and Actual scan responses are the same
2022/08/01 23:37:31 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 23:37:31 Index is 2012004928661113670 now active
2022/08/01 23:37:31 Using n1ql client
2022/08/01 23:37:31 Expected and Actual scan responses are the same
2022/08/01 23:37:31 Dropping the secondary index s1_c1_i1
2022/08/01 23:37:31 Index dropped
2022/08/01 23:37:31 Using n1ql client
2022/08/01 23:37:31 Expected and Actual scan responses are the same
2022/08/01 23:37:36 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 23:37:36 Index is 5224634324144252043 now active
2022/08/01 23:37:36 Using n1ql client
2022/08/01 23:37:36 Expected and Actual scan responses are the same
2022/08/01 23:37:41 Using n1ql client
2022/08/01 23:37:42 Expected and Actual scan responses are the same
2022/08/01 23:37:42 Using n1ql client
2022/08/01 23:37:42 Expected and Actual scan responses are the same
2022/08/01 23:37:42 Dropping the secondary index s1_c1_i1
2022/08/01 23:37:42 Index dropped
2022/08/01 23:37:42 Dropping the secondary index s1_c1_i2
2022/08/01 23:37:42 Index dropped
--- PASS: TestCollectionNoDocs (21.48s)
=== RUN   TestCollectionPrimaryIndex
2022/08/01 23:37:42 In TestCollectionPrimaryIndex()
2022/08/01 23:37:47 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 23:37:47 Index is 16333892572046187547 now active
2022/08/01 23:37:47 Using n1ql client
2022/08/01 23:37:53 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 23:37:53 Index is 6320542780079375001 now active
2022/08/01 23:37:53 Using n1ql client
2022/08/01 23:37:54 Using n1ql client
2022/08/01 23:37:54 Using n1ql client
2022/08/01 23:37:54 Dropping the secondary index s1_c1_i1
2022/08/01 23:37:54 Index dropped
2022/08/01 23:37:58 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 23:37:58 Index is 14277197926601836198 now active
2022/08/01 23:37:58 Using n1ql client
2022/08/01 23:37:58 Expected and Actual scan responses are the same
2022/08/01 23:38:00 Using n1ql client
2022/08/01 23:38:00 Expected and Actual scan responses are the same
2022/08/01 23:38:00 Using n1ql client
2022/08/01 23:38:00 Dropping the secondary index s1_c1_i1
2022/08/01 23:38:00 Index dropped
2022/08/01 23:38:00 Dropping the secondary index s1_c1_i2
2022/08/01 23:38:00 Index dropped
--- PASS: TestCollectionPrimaryIndex (18.60s)
=== RUN   TestCollectionMultipleBuilds
2022/08/01 23:38:01 Build command issued for the deferred indexes [9422213470445200417 11848275899876450276]
2022/08/01 23:38:01 Build command issued for the deferred indexes [328989504546435812 3598362177238854117]
2022/08/01 23:38:01 Waiting for index 9422213470445200417 to go active ...
2022/08/01 23:38:02 Waiting for index 9422213470445200417 to go active ...
2022/08/01 23:38:03 Waiting for index 9422213470445200417 to go active ...
2022/08/01 23:38:04 Waiting for index 9422213470445200417 to go active ...
2022/08/01 23:38:05 Waiting for index 9422213470445200417 to go active ...
2022/08/01 23:38:06 Index is 9422213470445200417 now active
2022/08/01 23:38:06 Index is 11848275899876450276 now active
2022/08/01 23:38:06 Waiting for index 328989504546435812 to go active ...
2022/08/01 23:38:07 Waiting for index 328989504546435812 to go active ...
2022/08/01 23:38:08 Waiting for index 328989504546435812 to go active ...
2022/08/01 23:38:09 Waiting for index 328989504546435812 to go active ...
2022/08/01 23:38:10 Waiting for index 328989504546435812 to go active ...
2022/08/01 23:38:11 Waiting for index 328989504546435812 to go active ...
2022/08/01 23:38:12 Waiting for index 328989504546435812 to go active ...
2022/08/01 23:38:13 Waiting for index 328989504546435812 to go active ...
2022/08/01 23:38:14 Index is 328989504546435812 now active
2022/08/01 23:38:14 Index is 3598362177238854117 now active
2022/08/01 23:38:14 Using n1ql client
2022/08/01 23:38:14 Expected and Actual scan responses are the same
2022/08/01 23:38:14 Using n1ql client
2022/08/01 23:38:14 Expected and Actual scan responses are the same
2022/08/01 23:38:14 Using n1ql client
2022/08/01 23:38:14 Expected and Actual scan responses are the same
2022/08/01 23:38:14 Using n1ql client
2022/08/01 23:38:14 Expected and Actual scan responses are the same
2022/08/01 23:38:14 Dropping the secondary index s2_c2_i3
2022/08/01 23:38:14 Index dropped
2022/08/01 23:38:14 Dropping the secondary index s2_c2_i4
2022/08/01 23:38:14 Index dropped
2022/08/01 23:38:14 Dropping the secondary index s1_c1_i1
2022/08/01 23:38:14 Index dropped
2022/08/01 23:38:14 Dropping the secondary index s1_c1_i2
2022/08/01 23:38:14 Index dropped
--- PASS: TestCollectionMultipleBuilds (14.16s)
=== RUN   TestCollectionMultipleBuilds2
2022/08/01 23:38:15 Build command issued for the deferred indexes [17862321524986411852 18265417318514315762 10994341959754723311 10005920677812802345 6924114377472702449 1571616970721330813 13869500015187258596 17422679477847976889]
2022/08/01 23:38:15 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:16 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:17 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:18 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:19 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:20 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:21 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:22 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:23 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:24 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:25 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:26 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:27 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:28 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:29 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:30 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:31 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:32 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:33 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:34 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:35 Waiting for index 17862321524986411852 to go active ...
2022/08/01 23:38:36 Index is 17862321524986411852 now active
2022/08/01 23:38:36 Index is 18265417318514315762 now active
2022/08/01 23:38:36 Index is 10994341959754723311 now active
2022/08/01 23:38:36 Index is 10005920677812802345 now active
2022/08/01 23:38:36 Index is 6924114377472702449 now active
2022/08/01 23:38:36 Index is 1571616970721330813 now active
2022/08/01 23:38:36 Index is 13869500015187258596 now active
2022/08/01 23:38:36 Index is 17422679477847976889 now active
2022/08/01 23:38:36 Using n1ql client
2022/08/01 23:38:36 Expected and Actual scan responses are the same
2022/08/01 23:38:36 Using n1ql client
2022/08/01 23:38:36 Expected and Actual scan responses are the same
2022/08/01 23:38:36 Using n1ql client
2022/08/01 23:38:36 Expected and Actual scan responses are the same
2022/08/01 23:38:36 Using n1ql client
2022/08/01 23:38:36 Expected and Actual scan responses are the same
2022/08/01 23:38:36 Using n1ql client
2022-08-01T23:38:36.701+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:38:36.701+05:30 [Info] GSIC[default/default-s2-c3-1659377316699132870] started ...
2022/08/01 23:38:36 Expected and Actual scan responses are the same
2022/08/01 23:38:36 Using n1ql client
2022/08/01 23:38:36 Expected and Actual scan responses are the same
2022/08/01 23:38:36 Using n1ql client
2022/08/01 23:38:36 Expected and Actual scan responses are the same
2022/08/01 23:38:36 Using n1ql client
2022/08/01 23:38:36 Expected and Actual scan responses are the same
2022/08/01 23:38:37 Using n1ql client
2022/08/01 23:38:37 Expected and Actual scan responses are the same
2022/08/01 23:38:37 Using n1ql client
2022/08/01 23:38:37 Expected and Actual scan responses are the same
2022/08/01 23:38:37 Dropping the secondary index s1_c1_i1
2022/08/01 23:38:37 Index dropped
2022/08/01 23:38:37 Dropping the secondary index s1_c1_i2
2022/08/01 23:38:37 Index dropped
2022/08/01 23:38:37 Dropping the secondary index s2_c2_i1
2022/08/01 23:38:37 Index dropped
2022/08/01 23:38:37 Dropping the secondary index s2_c2_i2
2022/08/01 23:38:38 Index dropped
2022/08/01 23:38:38 Dropping the secondary index s2_c3_i1
2022/08/01 23:38:38 Index dropped
2022/08/01 23:38:38 Dropping the secondary index s2_c3_i2
2022/08/01 23:38:38 Index dropped
2022/08/01 23:38:38 Dropping the secondary index _default__default_i1
2022/08/01 23:38:38 Index dropped
2022/08/01 23:38:38 Dropping the secondary index _default__default_i2
2022/08/01 23:38:38 Index dropped
--- PASS: TestCollectionMultipleBuilds2 (23.44s)
=== RUN   TestCollectionIndexDropConcurrentBuild
2022/08/01 23:38:38 In TestCollectionIndexDropConcurrentBuild()
2022/08/01 23:38:38 Build command issued for the deferred indexes [155050620912597252 14107714035899545759]
2022/08/01 23:38:39 Dropping the secondary index s1_c1_i1
2022/08/01 23:38:39 Index dropped
2022/08/01 23:38:39 Waiting for index 14107714035899545759 to go active ...
2022/08/01 23:38:40 Waiting for index 14107714035899545759 to go active ...
2022/08/01 23:38:41 Waiting for index 14107714035899545759 to go active ...
2022/08/01 23:38:42 Index is 14107714035899545759 now active
2022/08/01 23:38:42 Using n1ql client
2022/08/01 23:38:42 Expected and Actual scan responses are the same
2022/08/01 23:38:42 Dropping the secondary index s1_c1_i2
2022/08/01 23:38:42 Index dropped
--- PASS: TestCollectionIndexDropConcurrentBuild (4.58s)
=== RUN   TestCollectionIndexDropConcurrentBuild2
2022/08/01 23:38:42 In TestCollectionIndexDropConcurrentBuild2()
2022/08/01 23:38:48 Created the secondary index s1_c1_i3. Waiting for it become active
2022/08/01 23:38:48 Index is 5440046656041154908 now active
2022/08/01 23:38:48 Using n1ql client
2022-08-01T23:38:48.266+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(-6282678788371316307) response failed `Index not found`
2022/08/01 23:38:48 Expected and Actual scan responses are the same
2022/08/01 23:38:48 Build command issued for the deferred indexes [17162554233498385638 17135979351704857553]
2022/08/01 23:38:49 Dropping the secondary index s1_c1_i3
2022/08/01 23:38:49 Index dropped
2022/08/01 23:38:49 Waiting for index 17162554233498385638 to go active ...
2022/08/01 23:38:50 Waiting for index 17162554233498385638 to go active ...
2022/08/01 23:38:51 Waiting for index 17162554233498385638 to go active ...
2022/08/01 23:38:52 Waiting for index 17162554233498385638 to go active ...
2022/08/01 23:38:53 Index is 17162554233498385638 now active
2022/08/01 23:38:53 Index is 17135979351704857553 now active
2022/08/01 23:38:53 Using n1ql client
2022/08/01 23:38:53 Expected and Actual scan responses are the same
2022/08/01 23:38:53 Using n1ql client
2022/08/01 23:38:53 Expected and Actual scan responses are the same
2022/08/01 23:38:53 Dropping the secondary index s1_c1_i1
2022/08/01 23:38:53 Index dropped
2022/08/01 23:38:53 Dropping the secondary index s1_c1_i2
2022/08/01 23:38:57 Index dropped
--- PASS: TestCollectionIndexDropConcurrentBuild2 (14.32s)
=== RUN   TestCollectionDrop
2022/08/01 23:38:57 In TestCollectionDrop()
2022/08/01 23:39:03 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 23:39:03 Index is 17042380982989989526 now active
2022/08/01 23:39:10 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 23:39:10 Index is 4350828848186327512 now active
2022/08/01 23:39:15 Created the secondary index s2_c2_i1. Waiting for it become active
2022/08/01 23:39:15 Index is 11690829898425247078 now active
2022/08/01 23:39:20 Created the secondary index s2_c2_i2. Waiting for it become active
2022/08/01 23:39:20 Index is 5181889008604216296 now active
2022/08/01 23:39:24 Created the secondary index s2_c3_i1. Waiting for it become active
2022/08/01 23:39:24 Index is 17746614839765787031 now active
2022/08/01 23:39:29 Created the secondary index s2_c3_i2. Waiting for it become active
2022/08/01 23:39:29 Index is 48847456276850867 now active
2022/08/01 23:39:33 Created the secondary index _default__default_i1. Waiting for it become active
2022/08/01 23:39:33 Index is 6536509877463921751 now active
2022/08/01 23:39:38 Created the secondary index _default__default_i2. Waiting for it become active
2022/08/01 23:39:38 Index is 2028970712591900756 now active
2022/08/01 23:39:38 Dropped collection c1 for bucket: default, scope: s1, body: {"uid":"6"}
2022/08/01 23:39:43 Using n1ql client
2022/08/01 23:39:43 Scan failed as expected with error: Index Not Found - cause: GSI index s1_c1_i1 not found.
2022/08/01 23:39:43 Dropped scope s2 for bucket: default, body: {"uid":"7"}
2022/08/01 23:39:48 Using n1ql client
2022-08-01T23:39:48.608+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:39:48.608+05:30 [Info] GSIC[default/default-s2-c1-1659377388605571896] started ...
2022/08/01 23:39:48 Scan failed as expected with error: Index Not Found - cause: GSI index s2_c1_i1 not found.
--- PASS: TestCollectionDrop (51.32s)
=== RUN   TestCollectionDDLWithConcurrentSystemEvents
2022/08/01 23:39:48 Creating scope: sc for bucket: default as it does not exist
2022/08/01 23:39:48 Create scope succeeded for bucket default, scopeName: sc, body: {"uid":"8"} 
2022/08/01 23:39:48 Created collection succeeded for bucket: default, scope: sc, collection: cc, body: {"uid":"9"}
2022/08/01 23:40:03 Created the secondary index sc_cc_i1. Waiting for it become active
2022/08/01 23:40:03 Index is 6693848021362945331 now active
2022/08/01 23:40:05 Build command issued for the deferred indexes [sc_cc_i2]
2022/08/01 23:40:05 Waiting for the index sc_cc_i2 to become active
2022/08/01 23:40:05 Waiting for index 18033991820219117459 to go active ...
2022/08/01 23:40:05 Created collection succeeded for bucket: default, scope: sc, collection: cc_0, body: {"uid":"a"}
2022/08/01 23:40:06 Created collection succeeded for bucket: default, scope: sc, collection: cc_1, body: {"uid":"b"}
2022/08/01 23:40:06 Waiting for index 18033991820219117459 to go active ...
2022/08/01 23:40:06 Created collection succeeded for bucket: default, scope: sc, collection: cc_2, body: {"uid":"c"}
2022/08/01 23:40:07 Created collection succeeded for bucket: default, scope: sc, collection: cc_3, body: {"uid":"d"}
2022/08/01 23:40:07 Created collection succeeded for bucket: default, scope: sc, collection: cc_4, body: {"uid":"e"}
2022/08/01 23:40:07 Created collection succeeded for bucket: default, scope: sc, collection: cc_5, body: {"uid":"f"}
2022/08/01 23:40:07 Waiting for index 18033991820219117459 to go active ...
2022/08/01 23:40:08 Created collection succeeded for bucket: default, scope: sc, collection: cc_6, body: {"uid":"10"}
2022/08/01 23:40:08 Created collection succeeded for bucket: default, scope: sc, collection: cc_7, body: {"uid":"11"}
2022/08/01 23:40:08 Waiting for index 18033991820219117459 to go active ...
2022/08/01 23:40:09 Created collection succeeded for bucket: default, scope: sc, collection: cc_8, body: {"uid":"12"}
2022/08/01 23:40:09 Waiting for index 18033991820219117459 to go active ...
2022/08/01 23:40:10 Waiting for index 18033991820219117459 to go active ...
2022/08/01 23:40:11 Created collection succeeded for bucket: default, scope: sc, collection: cc_9, body: {"uid":"13"}
2022/08/01 23:40:11 Waiting for index 18033991820219117459 to go active ...
2022/08/01 23:40:12 Index is 18033991820219117459 now active
2022/08/01 23:40:12 Using n1ql client
2022-08-01T23:40:12.822+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:40:12.822+05:30 [Info] GSIC[default/default-sc-cc-1659377412819348860] started ...
--- PASS: TestCollectionDDLWithConcurrentSystemEvents (24.22s)
=== RUN   TestCollectionDropWithMultipleBuckets
2022/08/01 23:40:12 In TestCollectionWithDropMultipleBuckets()
2022/08/01 23:40:12 This test will create a collection across multiple buckets and 
2022/08/01 23:40:12 drops a collection on one bucket. Indexer should not drop indexes
2022/08/01 23:40:12 with same CollectionID but different buckets
2022/08/01 23:40:12 Creating test_bucket_1
2022/08/01 23:40:12 Created bucket test_bucket_1, responseBody: 
2022/08/01 23:40:22 Creating test_bucket_2
2022/08/01 23:40:22 Created bucket test_bucket_2, responseBody: 
2022/08/01 23:40:32 Creating collection: test for bucket: test_bucket_1
2022/08/01 23:40:33 Created collection succeeded for bucket: test_bucket_1, scope: _default, collection: test, body: {"uid":"1"}
2022/08/01 23:40:33 Creating collection: test for bucket: test_bucket_2
2022/08/01 23:40:33 Created collection succeeded for bucket: test_bucket_2, scope: _default, collection: test, body: {"uid":"1"}
2022/08/01 23:40:43 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_1
2022/08/01 23:40:46 Created the secondary index idx_1. Waiting for it become active
2022/08/01 23:40:46 Index is 9020703314764144375 now active
2022-08-01T23:40:48.267+05:30 [Error] receiving packet: read tcp 127.0.0.1:52612->127.0.0.1:9107: i/o timeout
2022-08-01T23:40:48.267+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(-6282678788371316307) connection "127.0.0.1:52612" response transport failed `read tcp 127.0.0.1:52612->127.0.0.1:9107: i/o timeout`
2022/08/01 23:40:51 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_2
2022/08/01 23:40:55 Created the secondary index idx_1. Waiting for it become active
2022/08/01 23:40:55 Index is 9719017568506437527 now active
2022/08/01 23:41:00 Dropping collection: test for bucket: test_bucket_1
2022/08/01 23:41:00 Dropped collection test for bucket: test_bucket_1, scope: _default, body: {"uid":"2"}
2022/08/01 23:41:02 Scanning index: idx_1, bucket: test_bucket_2
2022/08/01 23:41:02 Using n1ql client
2022-08-01T23:41:02.214+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:41:02.215+05:30 [Info] GSIC[default/test_bucket_2-_default-test-1659377462212559299] started ...
2022/08/01 23:41:02 Deleting bucket: test_bucket_2
2022/08/01 23:41:03 Deleted bucket test_bucket_2, responseBody: 
2022/08/01 23:41:08 Creating test_bucket_2
2022/08/01 23:41:08 Created bucket test_bucket_2, responseBody: 
2022/08/01 23:41:18 Creating collection: test for bucket: test_bucket_2
2022/08/01 23:41:18 Created collection succeeded for bucket: test_bucket_2, scope: _default, collection: test, body: {"uid":"1"}
2022/08/01 23:41:28 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_2
2022/08/01 23:41:33 Build command issued for the deferred indexes [idx_1]
2022/08/01 23:41:33 Waiting for the index idx_1 to become active
2022/08/01 23:41:33 Waiting for index 3196564295004725633 to go active ...
2022/08/01 23:41:34 Waiting for index 3196564295004725633 to go active ...
2022/08/01 23:41:35 Waiting for index 3196564295004725633 to go active ...
2022/08/01 23:41:36 Index is 3196564295004725633 now active
2022/08/01 23:41:36 Scanning index: idx_1, bucket: test_bucket_2
2022/08/01 23:41:36 Using n1ql client
2022/08/01 23:41:38 Deleted bucket test_bucket_1, responseBody: 
2022/08/01 23:41:39 Deleted bucket test_bucket_2, responseBody: 
--- PASS: TestCollectionDropWithMultipleBuckets (91.98s)
=== RUN   TestStringToByteSlice
--- PASS: TestStringToByteSlice (0.00s)
=== RUN   TestStringToByteSlice_Stack
--- PASS: TestStringToByteSlice_Stack (1.37s)
=== 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/08/01 23:41:46 In TestEphemeralBuckets()
2022/08/01 23:41:46 In DropAllSecondaryIndexes()
2022/08/01 23:41:46 Index found:  _default__default_i1
2022/08/01 23:41:46 Dropped index _default__default_i1
2022/08/01 23:41:46 Index found:  sc_cc_i1
2022/08/01 23:41:46 Dropped index sc_cc_i1
2022/08/01 23:41:46 Index found:  sc_cc_i2
2022/08/01 23:41:46 Dropped index sc_cc_i2
2022/08/01 23:41:46 Index found:  _default__default_i2
2022/08/01 23:41:46 Dropped index _default__default_i2
2022/08/01 23:42:21 Flushed the bucket default, Response body: 
2022/08/01 23:42:24 Modified parameters of bucket default, responseBody: 
2022/08/01 23:42:25 Created bucket ephemeral1, responseBody: 
2022/08/01 23:42:25 Created bucket ephemeral2, responseBody: 
2022/08/01 23:42:25 Created bucket ephemeral3, responseBody: 
2022/08/01 23:42:40 Generating docs and Populating all the buckets
2022/08/01 23:42:45 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 23:42:45 Index is 1058736081153628752 now active
2022/08/01 23:42:50 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 23:42:50 Index is 3226644148827213103 now active
2022/08/01 23:42:57 Created the secondary index bucket3_gender. Waiting for it become active
2022/08/01 23:42:57 Index is 10200498208783201644 now active
2022/08/01 23:43:05 Created the secondary index bucket4_balance. Waiting for it become active
2022/08/01 23:43:05 Index is 15660457979946563677 now active
2022/08/01 23:43:08 Using n1ql client
2022/08/01 23:43:08 Expected and Actual scan responses are the same
2022/08/01 23:43:08 Using n1ql client
2022-08-01T23:43:08.524+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:43:08.525+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1659377588521770407] started ...
2022/08/01 23:43:08 Expected and Actual scan responses are the same
2022/08/01 23:43:08 Using n1ql client
2022-08-01T23:43:08.534+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:43:08.534+05:30 [Info] GSIC[default/ephemeral2-_default-_default-1659377588531754571] started ...
2022/08/01 23:43:08 Expected and Actual scan responses are the same
2022/08/01 23:43:08 Using n1ql client
2022-08-01T23:43:08.548+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:43:08.549+05:30 [Info] GSIC[default/ephemeral3-_default-_default-1659377588544759131] started ...
2022/08/01 23:43:08 Expected and Actual scan responses are the same
2022/08/01 23:43:09 Deleted bucket ephemeral1, responseBody: 
2022/08/01 23:43:10 Deleted bucket ephemeral2, responseBody: 
2022/08/01 23:43:12 Deleted bucket ephemeral3, responseBody: 
2022/08/01 23:43:15 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketBasic (104.05s)
=== RUN   TestEphemeralBucketRecovery
2022/08/01 23:43:30 In TestEphemeralBucketRecovery()
2022/08/01 23:43:30 In DropAllSecondaryIndexes()
2022/08/01 23:43:30 Index found:  bucket1_age
2022/08/01 23:43:30 Dropped index bucket1_age
2022/08/01 23:44:05 Flushed the bucket default, Response body: 
2022/08/01 23:44:08 Modified parameters of bucket default, responseBody: 
2022/08/01 23:44:08 Created bucket ephemeral1, responseBody: 
2022/08/01 23:44:23 Generating docs and Populating all the buckets
2022/08/01 23:44:27 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 23:44:27 Index is 12186434919318563719 now active
2022/08/01 23:44:33 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 23:44:33 Index is 10449746710358627791 now active
Restarting indexer process ...
2022/08/01 23:44:36 []
2022-08-01T23:44:36.444+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:44:36.444+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:44:36.444+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:44:36.445+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:44:56 Using n1ql client
2022-08-01T23:44:56.395+05:30 [Error] transport error between 127.0.0.1:34520->127.0.0.1:9107: write tcp 127.0.0.1:34520->127.0.0.1:9107: write: broken pipe
2022-08-01T23:44:56.395+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 2578405057544614872 request transport failed `write tcp 127.0.0.1:34520->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:44:56.395+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T23:44:56.395+05:30 [Error] metadataClient:PickRandom: Replicas - [4164088231510515784], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 23:44:56 Expected and Actual scan responses are the same
2022/08/01 23:44:56 Using n1ql client
2022-08-01T23:44:56.417+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:44:56.418+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1659377696414989492] started ...
2022/08/01 23:44:56 Expected and Actual scan responses are the same
2022/08/01 23:44:58 Deleted bucket ephemeral1, responseBody: 
2022/08/01 23:45:01 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketRecovery (105.91s)
=== RUN   TestEphemeralBucketFlush
2022/08/01 23:45:16 In TestEphemeralBucketFlush()
2022/08/01 23:45:16 In DropAllSecondaryIndexes()
2022/08/01 23:45:16 Index found:  bucket1_age
2022/08/01 23:45:16 Dropped index bucket1_age
2022/08/01 23:45:51 Flushed the bucket default, Response body: 
2022/08/01 23:45:54 Modified parameters of bucket default, responseBody: 
2022/08/01 23:45:54 Created bucket ephemeral1, responseBody: 
2022/08/01 23:46:09 Generating docs and Populating all the buckets
2022/08/01 23:46:13 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 23:46:13 Index is 13847183494447524163 now active
2022/08/01 23:46:19 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 23:46:19 Index is 15903493166138804308 now active
2022/08/01 23:46:58 Flushed the bucket default, Response body: 
2022/08/01 23:47:01 Flush Enabled on bucket ephemeral1, responseBody: 
2022/08/01 23:47:34 Flushed the bucket ephemeral1, Response body: 
2022/08/01 23:47:34 Using n1ql client
2022/08/01 23:47:34 Using n1ql client
2022-08-01T23:47:34.211+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:47:34.212+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1659377854209226679] started ...
2022/08/01 23:47:36 Deleted bucket ephemeral1, responseBody: 
2022/08/01 23:47:39 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketFlush (158.04s)
=== RUN   TestEphemeralBucketMCDCrash
2022/08/01 23:47:54 In TestEphemeralBucketMCDCrash()
2022/08/01 23:47:54 In DropAllSecondaryIndexes()
2022/08/01 23:47:54 Index found:  bucket1_age
2022/08/01 23:47:54 Dropped index bucket1_age
2022/08/01 23:48:29 Flushed the bucket default, Response body: 
2022/08/01 23:48:32 Modified parameters of bucket default, responseBody: 
2022/08/01 23:48:32 Created bucket ephemeral1, responseBody: 
2022/08/01 23:48:47 Generating docs and Populating all the buckets
2022/08/01 23:48:51 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 23:48:51 Index is 13415250295751480094 now active
2022/08/01 23:48:57 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 23:48:57 Index is 11259539955482660488 now active
Restarting memcached process ...
2022/08/01 23:49:00 []
2022/08/01 23:49:20 Using n1ql client
2022/08/01 23:49:20 Expected and Actual scan responses are the same
2022/08/01 23:49:20 Using n1ql client
2022-08-01T23:49:20.404+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T23:49:20.405+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1659377960402616639] started ...
2022/08/01 23:49:21 Deleted bucket ephemeral1, responseBody: 
2022/08/01 23:49:24 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketMCDCrash (105.47s)
=== RUN   TestScheduleIndexBasic
2022/08/01 23:49:39 In TestMultipleDeferredIndexes_BuildTogether()
2022/08/01 23:49:39 In DropAllSecondaryIndexes()
2022/08/01 23:49:39 Index found:  bucket1_age
2022/08/01 23:49:39 Dropped index bucket1_age
2022/08/01 23:49:52 Setting JSON docs in KV
2022/08/01 23:50:11 Changing config key indexer.debug.enableBackgroundIndexCreation to value false
2022/08/01 23:50:11 Creating indexes Asynchronously
2022/08/01 23:50:11 Finding definition IDs for all indexes
2022/08/01 23:50:14 Status of all indexes
2022/08/01 23:50:14 Index id_gender is in state INDEX_STATE_SCHEDULED
2022/08/01 23:50:14 Changing config key indexer.debug.enableBackgroundIndexCreation to value true
2022/08/01 23:50:14 Waiting for all indexes to become active
2022/08/01 23:50:14 Waiting for index 3682558215500118423 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 23:50:14 Waiting for index 16220477337379929546 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:14 Waiting for index 15808465571179990783 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:14 Waiting for index 12976738850479318776 in state INDEX_STATE_ERROR to go active ...
2022-08-01T23:50:16.566+05:30 [Error] Error in waitForScheduledIndex Index id_gender will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022/08/01 23:50:17 Waiting for index 3682558215500118423 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 23:50:17 Waiting for index 16220477337379929546 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:17 Waiting for index 15808465571179990783 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:17 Waiting for index 12976738850479318776 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:20 Index 3682558215500118423 is now active
2022/08/01 23:50:20 Waiting for index 16220477337379929546 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:20 Waiting for index 15808465571179990783 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 23:50:20 Waiting for index 12976738850479318776 in state INDEX_STATE_ERROR to go active ...
2022-08-01T23:50:22.550+05:30 [Error] Error in waitForScheduledIndex Index id_age will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022/08/01 23:50:23 Waiting for index 16220477337379929546 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:23 Waiting for index 15808465571179990783 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 23:50:23 Waiting for index 12976738850479318776 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:26 Waiting for index 16220477337379929546 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:26 Waiting for index 15808465571179990783 in state INDEX_STATE_CATCHUP to go active ...
2022/08/01 23:50:26 Waiting for index 12976738850479318776 in state INDEX_STATE_ERROR to go active ...
2022-08-01T23:50:28.475+05:30 [Error] Error in waitForScheduledIndex Index id_isActive will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022/08/01 23:50:28 Error Index id_age will retry building in the background for reason: Build Already In Progress. Keyspace default.
 Observed when creating index
2022/08/01 23:50:28 Error Index id_gender will retry building in the background for reason: Build Already In Progress. Keyspace default.
 Observed when creating index
2022/08/01 23:50:28 Error Index id_isActive will retry building in the background for reason: Build Already In Progress. Keyspace default.
 Observed when creating index
2022/08/01 23:50:28 Error  Observed when creating index
2022/08/01 23:50:29 Waiting for index 16220477337379929546 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 23:50:29 Index 15808465571179990783 is now active
2022/08/01 23:50:29 Waiting for index 12976738850479318776 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:32 Waiting for index 16220477337379929546 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 23:50:32 Waiting for index 12976738850479318776 in state INDEX_STATE_ERROR to go active ...
2022/08/01 23:50:35 Index 16220477337379929546 is now active
2022/08/01 23:50:35 Waiting for index 12976738850479318776 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 23:50:38 Waiting for index 12976738850479318776 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 23:50:41 Waiting for index 12976738850479318776 in state INDEX_STATE_CATCHUP to go active ...
2022/08/01 23:50:44 Index 12976738850479318776 is now active
--- PASS: TestScheduleIndexBasic (64.49s)
=== RUN   TestFlattenArrayIndexTestSetup
2022/08/01 23:50:44 In DropAllSecondaryIndexes()
2022/08/01 23:50:44 Index found:  id_gender
2022/08/01 23:50:44 Dropped index id_gender
2022/08/01 23:50:44 Index found:  id_age
2022/08/01 23:50:44 Dropped index id_age
2022/08/01 23:50:44 Index found:  id_company
2022/08/01 23:50:44 Dropped index id_company
2022/08/01 23:50:44 Index found:  id_isActive
2022/08/01 23:50:44 Dropped index id_isActive
2022/08/01 23:51:20 Flushed the bucket default, Response body: 
--- PASS: TestFlattenArrayIndexTestSetup (39.79s)
=== RUN   TestScanOnFlattenedAraryIndex
2022/08/01 23:51:30 Created the secondary index idx_flatten. Waiting for it become active
2022/08/01 23:51:30 Index is 15545913215167032797 now active
2022/08/01 23:51:30 Using n1ql client
--- PASS: TestScanOnFlattenedAraryIndex (8.07s)
=== RUN   TestGroupAggrFlattenArrayIndex
2022/08/01 23:51:31 In TestGroupAggrArrayIndex()
2022/08/01 23:51:36 Created the secondary index ga_flatten_arr1. Waiting for it become active
2022/08/01 23:51:36 Index is 4392768231887961786 now active
2022/08/01 23:51:40 Created the secondary index ga_flatten_arr2. Waiting for it become active
2022/08/01 23:51:40 Index is 6483989961037935879 now active
2022/08/01 23:51:40 Scenario 1
2022-08-01T23:51:40.604+05:30 [Error] transport error between 127.0.0.1:52614->127.0.0.1:9107: write tcp 127.0.0.1:52614->127.0.0.1:9107: write: broken pipe
2022-08-01T23:51:40.604+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:52614->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:51:40.604+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T23:51:40.604+05:30 [Error] metadataClient:PickRandom: Replicas - [8320026736967844726], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 23:51:40 Total Scanresults = 636
2022/08/01 23:51:41 Scenario 2
2022/08/01 23:51:41 Total Scanresults = 2765
2022/08/01 23:51:42 Scenario 3
2022/08/01 23:51:42 Total Scanresults = 1
2022/08/01 23:51:43 Scenario 4
2022/08/01 23:51:43 Total Scanresults = 994
2022/08/01 23:51:43 Scenario 5
2022/08/01 23:51:43 Total Scanresults = 2765
2022/08/01 23:51:44 Scenario 6
2022/08/01 23:51:44 Total Scanresults = 1
2022/08/01 23:51:44 Scenario 7
2022/08/01 23:51:44 Total Scanresults = 2887
2022/08/01 23:51:48 Scenario 8
2022/08/01 23:51:48 Total Scanresults = 2765
2022/08/01 23:51:48 Scenario 9
2022/08/01 23:51:48 Total Scanresults = 1
2022/08/01 23:51:48 Scenario 10
2022/08/01 23:51:48 Total Scanresults = 636
2022/08/01 23:51:49 Scenario 11
2022/08/01 23:51:49 Total Scanresults = 1145
2022/08/01 23:51:50 Scenario 12
2022/08/01 23:51:50 Total Scanresults = 1
2022/08/01 23:51:50 Scenario 13
2022/08/01 23:51:54 Total Scanresults = 1
2022/08/01 23:51:54 Count of scanResults is 1
2022/08/01 23:51:54 Value: [2 126]
--- PASS: TestGroupAggrFlattenArrayIndex (22.76s)
=== RUN   TestNullAndMissingValuesFlattenArrayIndex
2022/08/01 23:51:54 In TestNullAndMissingValuesFlattenArrayIndex
2022/08/01 23:51:55 Scenario-1: Scanning for docsWithNullEntries with array as non-leading key
2022/08/01 23:51:55 Using n1ql client
2022/08/01 23:51:55 Scenario-2: Scanning for docsWithMissingEntries with array as non-leading key
2022/08/01 23:51:55 Using n1ql client
2022/08/01 23:51:55 Scenario-3: Scanning for docs with 'missing' entry for first key in array expression with array as non-leading key
2022/08/01 23:51:55 Using n1ql client
2022/08/01 23:51:55 Scenario-4: Scanning for docs with valid entry for first key in array expression with array as non-leading key
2022/08/01 23:51:55 Add docs in docsWithPartialMissingLeadingKeyInArrEntry should be present in results
2022/08/01 23:51:55 Using n1ql client
2022/08/01 23:51:55 Scenario-5: Scanning for docsWithNullEntries with array as leading key
2022/08/01 23:51:55 Using n1ql client
2022/08/01 23:51:55 Scenario-6: Scanning for docsWithMissingEntries with array as leading entry
2022/08/01 23:51:55 Using n1ql client
2022/08/01 23:51:55 Scenario-7: Scanning for docs with 'missing' entry for first key in array expression
2022/08/01 23:51:55 Using n1ql client
2022/08/01 23:51:55 Scenario-9: Scanning for all docs in the index
2022/08/01 23:51:55 Docs in docsWithCompleteMissingLeadingKeyInArrEntry should be present in results
2022/08/01 23:51:55 Using n1ql client
2022/08/01 23:51:55 Scenario-9: Scanning for docs with valid entry for first key in array expression
2022/08/01 23:51:55 Add docs in docsWithPartialMissingLeadingKeyInArrEntry should be present in results
2022/08/01 23:51:55 Using n1ql client
--- PASS: TestNullAndMissingValuesFlattenArrayIndex (0.95s)
=== RUN   TestEmptyArrayFlattenArrayIndex
2022/08/01 23:51:55 In TestEmptyArrayFlattenArrayIndex
2022/08/01 23:51:56 Scenario-1: Scanning for docs with missing entry for first key in array expression
2022/08/01 23:51:56 The docs in `docsWithEmptyArrayEntry` should not be presnt in scanResults
2022/08/01 23:51:56 Using n1ql client
2022/08/01 23:51:56 Scenario-1: Scanning for all docs in the index
2022/08/01 23:51:56 The docs in `docsWithEmptyArrayEntry` should not be presnt in scanResults
2022/08/01 23:51:56 Using n1ql client
--- PASS: TestEmptyArrayFlattenArrayIndex (0.90s)
=== RUN   TestOSOSetup
2022/08/01 23:51:56 In TestOSOSetup()
2022/08/01 23:51:56 In DropAllSecondaryIndexes()
2022/08/01 23:51:56 Index found:  ga_flatten_arr2
2022/08/01 23:51:56 Dropped index ga_flatten_arr2
2022/08/01 23:51:56 Index found:  idx_flatten
2022/08/01 23:51:56 Dropped index idx_flatten
2022/08/01 23:51:56 Index found:  #primary
2022/08/01 23:51:56 Dropped index #primary
2022/08/01 23:51:56 Index found:  ga_flatten_arr1
2022/08/01 23:51:57 Dropped index ga_flatten_arr1
2022/08/01 23:51:57 Index found:  test_oneperprimarykey
2022/08/01 23:51:57 Dropped index test_oneperprimarykey
2022/08/01 23:52:32 Flushed the bucket default, Response body: 
2022/08/01 23:52:33 Populating the default bucket
2022/08/01 23:52:37 Changing config key indexer.build.enableOSO to value true
--- PASS: TestOSOSetup (41.10s)
=== RUN   TestOSOInitBuildDeleteMutation
2022/08/01 23:52:37 In TestOSOInitBuildDeleteMutation()
2022/08/01 23:52:42 Created the secondary index index_p1_oso. Waiting for it become active
2022/08/01 23:52:42 Index is 682151038929509956 now active
2022/08/01 23:52:51 Created the secondary index index_p_oso. Waiting for it become active
2022/08/01 23:52:51 Index is 6698667647553359737 now active
2022/08/01 23:52:51 Expected and Actual scan responses are the same
2022/08/01 23:52:51 CountRange() expected and actual is:  1797 and 1797
2022/08/01 23:52:51 lookupkey for CountLookup() = User298edb54-6d21-4bf0-868f-9b345f7933cd
2022/08/01 23:52:51 CountLookup() = 1
--- PASS: TestOSOInitBuildDeleteMutation (13.51s)
=== RUN   TestOSOInitBuildIndexerRestart
2022/08/01 23:52:51 In TestOSOInitBuildIndexerRestart()
2022/08/01 23:52:51 Build command issued for the deferred indexes [4996426428072784165]
2022/08/01 23:52:51 []
2022-08-01T23:52:51.487+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:52:51.487+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:52:51.487+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:52:51.487+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:52:56 Waiting for index 4996426428072784165 to go active ...
2022/08/01 23:52:57 Waiting for index 4996426428072784165 to go active ...
2022/08/01 23:52:58 Waiting for index 4996426428072784165 to go active ...
2022/08/01 23:52:59 Waiting for index 4996426428072784165 to go active ...
2022/08/01 23:53:00 Waiting for index 4996426428072784165 to go active ...
2022/08/01 23:53:01 Index is 4996426428072784165 now active
2022-08-01T23:53:01.427+05:30 [Error] transport error between 127.0.0.1:34154->127.0.0.1:9107: write tcp 127.0.0.1:34154->127.0.0.1:9107: write: broken pipe
2022-08-01T23:53:01.427+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:34154->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:53:01.427+05:30 [Warn] scan failed: requestId  queryport 127.0.0.1:9107 inst 14649681644371648515 partition [0]
2022-08-01T23:53:01.427+05:30 [Warn] Scan failed with error for index 4996426428072784165.  Trying scan again with replica, reqId: :  write tcp 127.0.0.1:34154->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022/08/01 23:53:01 Expected and Actual scan responses are the same
2022/08/01 23:53:01 CountRange() expected and actual is:  1797 and 1797
2022/08/01 23:53:01 lookupkey for CountLookup() = User2a4dcd24-18b7-46a7-b8d1-b090d92d77fe
2022/08/01 23:53:01 CountLookup() = 1
--- PASS: TestOSOInitBuildIndexerRestart (10.27s)
=== RUN   TestMissingLeadingKeyBasic
2022/08/01 23:53:01 In DropAllSecondaryIndexes()
2022/08/01 23:53:01 Index found:  index_p1_oso
2022/08/01 23:53:01 Dropped index index_p1_oso
2022/08/01 23:53:01 Index found:  index_p2_oso
2022/08/01 23:53:01 Dropped index index_p2_oso
2022/08/01 23:53:01 Index found:  index_p_oso
2022/08/01 23:53:01 Dropped index index_p_oso
2022/08/01 23:53:37 Flushed the bucket default, Response body: 
2022/08/01 23:53:37 Populating the default bucket
--- PASS: TestMissingLeadingKeyBasic (40.40s)
=== RUN   TestMissingLeadingKeyPartitioned
2022/08/01 23:53:41 In DropAllSecondaryIndexes()
2022/08/01 23:53:41 Index found:  idx_vac
2022/08/01 23:53:41 Dropped index idx_vac
--- PASS: TestMissingLeadingKeyPartitioned (6.28s)
=== RUN   TestIdxCorruptBasicSanityMultipleIndices
2022/08/01 23:53:48 In DropAllSecondaryIndexes()
2022/08/01 23:53:48 Index found:  idx_doses_partn
2022/08/01 23:53:48 Dropped index idx_doses_partn
Creating two indices ...
2022/08/01 23:54:01 Created the secondary index corrupt_idx1_age. Waiting for it become active
2022/08/01 23:54:01 Index is 13966703353037545309 now active
2022/08/01 23:54:07 Created the secondary index corrupt_idx2_company. Waiting for it become active
2022/08/01 23:54:07 Index is 13195498216737222845 now active
hosts = [127.0.0.1:9108]
2022/08/01 23:54:07 Corrupting index corrupt_idx1_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx1_age_6750428810757457392_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx1_age_6750428810757457392_0.index/snapshot.2022-08-01.235401.387
Restarting indexer process ...
2022/08/01 23:54:12 []
2022-08-01T23:54:12.363+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:54:12.363+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:54:12.363+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:54:12.364+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:54:33 Using n1ql client
2022-08-01T23:54:33.317+05:30 [Error] transport error between 127.0.0.1:48158->127.0.0.1:9107: write tcp 127.0.0.1:48158->127.0.0.1:9107: write: broken pipe
2022-08-01T23:54:33.317+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -6595455286132449096 request transport failed `write tcp 127.0.0.1:48158->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:54:33.317+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T23:54:33.317+05:30 [Error] metadataClient:PickRandom: Replicas - [4339927950000365917], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 23:54:33 Using n1ql client
--- PASS: TestIdxCorruptBasicSanityMultipleIndices (45.18s)
=== RUN   TestIdxCorruptPartitionedIndex
Creating partitioned index ...
2022/08/01 23:54:37 Created the secondary index corrupt_idx3_age. Waiting for it become active
2022/08/01 23:54:37 Index is 2231680240022259870 now active
hosts = [127.0.0.1:9108]
indexer.numPartitions = 8
Corrupting partn id 8
Getting slicepath for  1
slicePath for partn 1 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_1.index
Getting slicepath for  2
slicePath for partn 2 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_2.index
Getting slicepath for  3
slicePath for partn 3 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_3.index
Getting slicepath for  4
slicePath for partn 4 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_4.index
Getting slicepath for  5
slicePath for partn 5 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_5.index
Getting slicepath for  6
slicePath for partn 6 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_6.index
Getting slicepath for  7
slicePath for partn 7 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_7.index
Getting slicepath for  8
slicePath for partn 8 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_8.index
2022/08/01 23:54:37 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_8.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_8.index/snapshot.2022-08-01.235436.212
Restarting indexer process ...
2022/08/01 23:54:42 []
2022-08-01T23:54:42.744+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:54:42.745+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:54:42.745+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:54:42.745+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:55:02 Using n1ql client
2022-08-01T23:55:02.719+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T23:55:02.719+05:30 [Error] metadataClient:PickRandom: Replicas - [3932039524041262579], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T23:55:02.729+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T23:55:02.729+05:30 [Error] metadataClient:PickRandom: Replicas - [3932039524041262579], 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/08/01 23:55:02 []
2022-08-01T23:55:02.770+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:55:02.770+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:55:02.771+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:55:02.775+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:55:22 Using n1ql client
2022-08-01T23:55:22.752+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T23:55:22.752+05:30 [Error] metadataClient:PickRandom: Replicas - [3932039524041262579], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T23:55:22.762+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T23:55:22.762+05:30 [Error] metadataClient:PickRandom: Replicas - [3932039524041262579], PrunedReplica - map[], FilteredReplica map[]
Scan error: All indexer replica is down or unavailable or unable to process request - cause: queryport.client.noHost
2022/08/01 23:55:22 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_1.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_1.index/snapshot.2022-08-01.235436.179
2022/08/01 23:55:27 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_2.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_2.index/snapshot.2022-08-01.235436.186
2022/08/01 23:55:32 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_3.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_3.index/snapshot.2022-08-01.235436.187
2022/08/01 23:55:37 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_4.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_4.index/snapshot.2022-08-01.235436.178
2022/08/01 23:55:42 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_5.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_5.index/snapshot.2022-08-01.235436.161
2022/08/01 23:55:47 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_6.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_6.index/snapshot.2022-08-01.235436.209
2022/08/01 23:55:52 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_7.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_3932039524041262579_7.index/snapshot.2022-08-01.235436.181
Skip corrupting partition 8
Restarting indexer process ...
2022/08/01 23:55:57 []
2022-08-01T23:55:57.829+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:55:57.829+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:55:57.829+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:55:57.829+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:56:17 Using n1ql client
2022-08-01T23:56:17.810+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T23:56:17.810+05:30 [Error] metadataClient:PickRandom: Replicas - [3932039524041262579], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T23:56:17.821+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T23:56:17.821+05:30 [Error] metadataClient:PickRandom: Replicas - [3932039524041262579], 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.49s)
=== RUN   TestIdxCorruptMOITwoSnapsOneCorrupt
2022/08/01 23:56:17 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 20000
Creating an index ...
2022/08/01 23:56:32 Created the secondary index corrupt_idx4_age. Waiting for it become active
2022/08/01 23:56:32 Index is 1567935886843029858 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_14418204995718550280_0.index/snapshot.2022-08-01.235632.383 /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_14418204995718550280_0.index/snapshot.2022-08-01.235652.391]
2022/08/01 23:56:59 Corrupting index corrupt_idx4_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_14418204995718550280_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_14418204995718550280_0.index/snapshot.2022-08-01.235652.391
Restarting indexer process ...
2022/08/01 23:56:59 []
2022-08-01T23:56:59.244+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:56:59.244+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:56:59.244+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:56:59.244+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:57:19 Using n1ql client
2022-08-01T23:57:19.224+05:30 [Error] transport error between 127.0.0.1:40776->127.0.0.1:9107: write tcp 127.0.0.1:40776->127.0.0.1:9107: write: broken pipe
2022-08-01T23:57:19.224+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -4716906886585894005 request transport failed `write tcp 127.0.0.1:40776->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:57:19.224+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T23:57:19.224+05:30 [Error] metadataClient:PickRandom: Replicas - [14418204995718550280], PrunedReplica - map[], FilteredReplica map[]
Restarting indexer process ...
2022/08/01 23:57:19 []
2022/08/01 23:57:39 Using n1ql client
2022-08-01T23:57:39.268+05:30 [Error] transport error between 127.0.0.1:47202->127.0.0.1:9107: write tcp 127.0.0.1:47202->127.0.0.1:9107: write: broken pipe
2022-08-01T23:57:39.268+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 4755262361266213390 request transport failed `write tcp 127.0.0.1:47202->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:57:39.268+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T23:57:39.268+05:30 [Error] metadataClient:PickRandom: Replicas - [14418204995718550280], PrunedReplica - map[], FilteredReplica map[]
--- PASS: TestIdxCorruptMOITwoSnapsOneCorrupt (81.47s)
=== RUN   TestIdxCorruptMOITwoSnapsBothCorrupt
2022/08/01 23:57:39 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 20000
Creating an index ...
2022/08/01 23:57:44 Created the secondary index corrupt_idx5_name. Waiting for it become active
2022/08/01 23:57:44 Index is 1609117797406337821 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_3168374616282391922_0.index/snapshot.2022-08-01.235743.167 /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_3168374616282391922_0.index/snapshot.2022-08-01.235800.130]
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_3168374616282391922_0.index/snapshot.2022-08-01.235800.130
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_3168374616282391922_0.index/snapshot.2022-08-01.235743.167
Restarting indexer process ...
2022/08/01 23:58:11 []
2022-08-01T23:58:11.500+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:58:11.500+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:58:11.500+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:58:11.501+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:58:31 Using n1ql client
2022-08-01T23:58:31.482+05:30 [Error] transport error between 127.0.0.1:48024->127.0.0.1:9107: write tcp 127.0.0.1:48024->127.0.0.1:9107: write: broken pipe
2022-08-01T23:58:31.482+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -4575533590218168856 request transport failed `write tcp 127.0.0.1:48024->127.0.0.1:9107: write: broken pipe`
2022-08-01T23:58:31.482+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T23:58:31.482+05:30 [Error] metadataClient:PickRandom: Replicas - [3168374616282391922], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T23:58:31.495+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(-4575533590218168856) response failed `Index not found`
2022-08-01T23:58:31.495+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T23:58:31.495+05:30 [Error] metadataClient:PickRandom: Replicas - [3168374616282391922], 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.20s)
=== RUN   TestIdxCorruptBackup
2022/08/01 23:58:31 Changing config key indexer.settings.enable_corrupt_index_backup to value true
Creating index ...
2022/08/01 23:58:46 Created the secondary index corrupt_idx6_age. Waiting for it become active
2022/08/01 23:58:46 Index is 13647913414931422113 now active
hosts = [127.0.0.1:9108]
2022/08/01 23:58:46 Corrupting index corrupt_idx6_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx6_age_5898041490081672347_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx6_age_5898041490081672347_0.index/snapshot.2022-08-01.235845.325
Restarting indexer process ...
2022/08/01 23:58:51 []
2022-08-01T23:58:51.635+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(-4575533590218168856) connection "127.0.0.1:50026" closed `EOF`
2022-08-01T23:58:51.635+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:58:51.635+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:58:51.635+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:58:51.635+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
--- PASS: TestIdxCorruptBackup (40.11s)
=== RUN   TestStatsPersistence
2022/08/01 23:59:11 In TestStatsPersistence()
2022/08/01 23:59:11 In DropAllSecondaryIndexes()
2022/08/01 23:59:11 Index found:  corrupt_idx2_company
2022/08/01 23:59:21 Dropped index corrupt_idx2_company
2022/08/01 23:59:21 Index found:  corrupt_idx4_age
2022/08/01 23:59:21 Dropped index corrupt_idx4_age
2022/08/01 23:59:26 Created the secondary index index_age. Waiting for it become active
2022/08/01 23:59:26 Index is 4893889795404224877 now active
2022/08/01 23:59:32 Created the secondary index index_gender. Waiting for it become active
2022/08/01 23:59:32 Index is 12764765858145217122 now active
2022/08/01 23:59:38 Created the secondary index index_city. Waiting for it become active
2022/08/01 23:59:38 Index is 1138998303792367423 now active
2022/08/01 23:59:42 Created the secondary index p1. Waiting for it become active
2022/08/01 23:59:42 Index is 5066705591303147726 now active
2022/08/01 23:59:42 === Testing for persistence enabled = true, with interval = 5  ===
2022/08/01 23:59:42 Changing config key indexer.statsPersistenceInterval to value 5
2022/08/01 23:59:43 []
2022-08-01T23:59:43.155+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:59:43.155+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T23:59:43.155+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T23:59:43.155+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 23:59:48 Using n1ql client
2022/08/01 23:59:48 Using n1ql client
2022/08/01 23:59:48 Using n1ql client
2022/08/01 23:59:55 []
2022/08/02 00:00:00 === Testing for persistence enabled = false, with interval = 0  ===
2022/08/02 00:00:00 Changing config key indexer.statsPersistenceInterval to value 0
2022/08/02 00:00:00 []
2022/08/02 00:00:05 Using n1ql client
2022-08-02T00:00:05.480+05:30 [Error] transport error between 127.0.0.1:53148->127.0.0.1:9107: write tcp 127.0.0.1:53148->127.0.0.1:9107: write: broken pipe
2022-08-02T00:00:05.480+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 8110870984675122148 request transport failed `write tcp 127.0.0.1:53148->127.0.0.1:9107: write: broken pipe`
2022-08-02T00:00:05.480+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-02T00:00:05.480+05:30 [Error] metadataClient:PickRandom: Replicas - [17127670283505009190], PrunedReplica - map[], FilteredReplica map[]
2022/08/02 00:00:05 Using n1ql client
2022/08/02 00:00:05 Using n1ql client
2022/08/02 00:00:07 []
2022/08/02 00:00:12 === Testing for persistence enabled = true, with interval = 10  ===
2022/08/02 00:00:12 Changing config key indexer.statsPersistenceInterval to value 10
2022/08/02 00:00:12 []
2022/08/02 00:00:17 Using n1ql client
2022-08-02T00:00:17.948+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(-4901745941908654003) connection "127.0.0.1:54002" closed `EOF` 
2022-08-02T00:00:17.948+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(-4901745941908654003) response failed `EOF`
2022-08-02T00:00:17.948+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-02T00:00:17.948+05:30 [Error] metadataClient:PickRandom: Replicas - [17127670283505009190], PrunedReplica - map[], FilteredReplica map[]
2022/08/02 00:00:18 Using n1ql client
2022/08/02 00:00:18 Using n1ql client
2022/08/02 00:00:30 []
2022/08/02 00:00:35 === Testing for persistence enabled = true, with interval = 5  ===
2022/08/02 00:00:35 Changing config key indexer.statsPersistenceInterval to value 5
2022/08/02 00:00:35 []
2022/08/02 00:00:40 Using n1ql client
2022-08-02T00:00:40.484+05:30 [Error] transport error between 127.0.0.1:54706->127.0.0.1:9107: write tcp 127.0.0.1:54706->127.0.0.1:9107: write: broken pipe
2022-08-02T00:00:40.484+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 3067545875790200009 request transport failed `write tcp 127.0.0.1:54706->127.0.0.1:9107: write: broken pipe`
2022-08-02T00:00:40.484+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-02T00:00:40.484+05:30 [Error] metadataClient:PickRandom: Replicas - [17127670283505009190], PrunedReplica - map[], FilteredReplica map[]
2022/08/02 00:00:40 Using n1ql client
2022/08/02 00:00:40 Using n1ql client
2022/08/02 00:00:47 []
2022-08-02T00:00:47.733+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-02T00:00:47.733+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-02T00:00:47.733+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-02T00:00:47.733+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
--- PASS: TestStatsPersistence (101.19s)
=== RUN   TestStats_StorageStatistics
2022/08/02 00:00:52 In TestStats_StorageStatistics()
2022/08/02 00:00:52 Index found:  index_age
2022/08/02 00:00:52 Stats from Index4 StorageStatistics for index index_age are [map[AVG_ITEM_SIZE:98 NUM_ITEMS:11502 PARTITION_ID:0]]
2022/08/02 00:00:52 Index found:  p1
2022/08/02 00:00:52 Stats from Index4 StorageStatistics for index p1 are [map[AVG_ITEM_SIZE:86 NUM_ITEMS:11502 PARTITION_ID:0]]
--- PASS: TestStats_StorageStatistics (0.20s)
PASS
ok  	github.com/couchbase/indexing/secondary/tests/functionaltests	7399.402s
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 65192    0 65192    0     0  9788k      0 --:--:-- --:--:-- --:--:-- 10.3M
2022/08/02 00:00:55 In TestMain()
2022/08/02 00:00:55 Changing config key indexer.api.enableTestServer to value true
2022/08/02 00:00:55 Using memory_optimized for creating indexes
2022/08/02 00:00:55 Changing config key indexer.settings.storage_mode to value memory_optimized
=== RUN   TestRangeWithConcurrentAddMuts
2022/08/02 00:01:00 In TestRangeWithConcurrentAddMuts()
2022/08/02 00:01:00 In DropAllSecondaryIndexes()
2022/08/02 00:01:00 Index found:  index_city
2022/08/02 00:01:00 Dropped index index_city
2022/08/02 00:01:00 Index found:  index_gender
2022/08/02 00:01:00 Dropped index index_gender
2022/08/02 00:01:00 Index found:  index_age
2022/08/02 00:01:00 Dropped index index_age
2022/08/02 00:01:00 Index found:  p1
2022/08/02 00:01:00 Dropped index p1
2022/08/02 00:01:00 Generating JSON docs
2022/08/02 00:01:01 Setting initial JSON docs in KV
2022/08/02 00:01:01 All indexers are active
2022/08/02 00:01:01 Creating a 2i
2022/08/02 00:01:04 Created the secondary index index_company. Waiting for it become active
2022/08/02 00:01:04 Index is 18365097443967477032 now active
2022/08/02 00:01:04 In Range Scan for Thread 1: 
2022/08/02 00:01:04 CreateDocs:: Creating mutations
2022/08/02 00:01:04 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
--- PASS: TestRangeWithConcurrentAddMuts (124.38s)
=== RUN   TestRangeWithConcurrentDelMuts
2022/08/02 00:03:05 In TestRangeWithConcurrentDelMuts()
2022/08/02 00:03:05 Generating JSON docs
2022-08-02T00:03:05.066+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:34892->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/02 00:03:06 Setting initial JSON docs in KV
2022/08/02 00:03:21 All indexers are active
2022/08/02 00:03:21 Creating a 2i
2022/08/02 00:03:21 Index found:  index_company
2022/08/02 00:03:21 In Range Scan for Thread 1: 
2022/08/02 00:03:21 CreateDocs:: Delete mutations
2022/08/02 00:03:21 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
--- PASS: TestRangeWithConcurrentDelMuts (136.90s)
=== RUN   TestScanWithConcurrentIndexOps
2022/08/02 00:05:21 In TestScanWithConcurrentIndexOps()
2022-08-02T00:05:21.967+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:37360->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/02 00:05:21 Generating JSON docs
2022/08/02 00:05:26 Setting initial JSON docs in KV
2022/08/02 00:06:23 All indexers are active
2022/08/02 00:06:23 Creating a 2i
2022/08/02 00:06:23 Index found:  index_company
2022/08/02 00:06:23 In Range Scan for Thread 1: 
2022/08/02 00:06:23 Create and Drop index operations
2022/08/02 00:06:23 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022/08/02 00:06:40 Created the secondary index index_age. Waiting for it become active
2022/08/02 00:06:40 Index is 6267481092769870043 now active
2022/08/02 00:07:01 Created the secondary index index_firstname. Waiting for it become active
2022/08/02 00:07:01 Index is 15664873563263772505 now active
2022/08/02 00:07:03 Dropping the secondary index index_age
2022/08/02 00:07:03 Index dropped
2022/08/02 00:07:04 Dropping the secondary index index_firstname
2022/08/02 00:07:04 Index dropped
2022/08/02 00:07:22 Created the secondary index index_age. Waiting for it become active
2022/08/02 00:07:22 Index is 453828865748070910 now active
2022/08/02 00:07:41 Created the secondary index index_firstname. Waiting for it become active
2022/08/02 00:07:41 Index is 17134058423338053587 now active
2022/08/02 00:07:43 Dropping the secondary index index_age
2022/08/02 00:07:43 Index dropped
2022/08/02 00:07:44 Dropping the secondary index index_firstname
2022/08/02 00:07:44 Index dropped
2022/08/02 00:08:06 Created the secondary index index_age. Waiting for it become active
2022/08/02 00:08:06 Index is 5928147381933794291 now active
2022-08-02T00:08:23.761+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:41796->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/02 00:08:24 Created the secondary index index_firstname. Waiting for it become active
2022/08/02 00:08:24 Index is 14485964455557925525 now active
2022/08/02 00:08:25 Dropping the secondary index index_age
2022/08/02 00:08:25 Index dropped
2022/08/02 00:08:26 Dropping the secondary index index_firstname
2022/08/02 00:08:26 Index dropped
--- PASS: TestScanWithConcurrentIndexOps (185.88s)
=== RUN   TestConcurrentScans_SameIndex
2022/08/02 00:08:27 In TestConcurrentScans_SameIndex()
2022/08/02 00:08:27 Generating JSON docs
2022-08-02T00:08:27.846+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:41794->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/02 00:08:32 Setting initial JSON docs in KV
2022/08/02 00:09:28 All indexers are active
2022/08/02 00:09:28 Creating a 2i
2022/08/02 00:09:28 Index found:  index_company
2022/08/02 00:09:28 In Range Scan for Thread 6: 
2022/08/02 00:09:28 In Range Scan for Thread 1: 
2022/08/02 00:09:28 In Range Scan for Thread 2: 
2022/08/02 00:09:28 In Range Scan for Thread 3: 
2022/08/02 00:09:28 In Range Scan for Thread 4: 
2022/08/02 00:09:28 In Range Scan for Thread 5: 
2022/08/02 00:09:28 ListAllSecondaryIndexes() for Thread 5: : Index index_company Bucket default
2022/08/02 00:09:28 ListAllSecondaryIndexes() for Thread 3: : Index index_company Bucket default
2022/08/02 00:09:28 ListAllSecondaryIndexes() for Thread 6: : Index index_company Bucket default
2022/08/02 00:09:28 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022/08/02 00:09:28 ListAllSecondaryIndexes() for Thread 4: : Index index_company Bucket default
2022/08/02 00:09:28 ListAllSecondaryIndexes() for Thread 2: : Index index_company Bucket default
2022-08-02T00:11:28.965+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:43350->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-02T00:11:29.056+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:43362->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-02T00:11:29.112+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:43352->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-02T00:11:29.135+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:43366->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-02T00:11:29.168+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:43356->127.0.0.1:9106: use of closed network connection. Kill Pipe.
--- PASS: TestConcurrentScans_SameIndex (181.39s)
=== RUN   TestConcurrentScans_MultipleIndexes
2022/08/02 00:11:29 In TestConcurrentScans_MultipleIndexes()
2022/08/02 00:11:29 Generating JSON docs
2022-08-02T00:11:29.234+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:43354->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/02 00:11:34 Setting initial JSON docs in KV
2022/08/02 00:12:30 All indexers are active
2022/08/02 00:12:30 Creating multiple indexes
2022/08/02 00:12:30 Index found:  index_company
2022/08/02 00:12:54 Created the secondary index index_age. Waiting for it become active
2022/08/02 00:12:54 Index is 13675231343675499778 now active
2022/08/02 00:13:15 Created the secondary index index_firstname. Waiting for it become active
2022/08/02 00:13:15 Index is 12771456635094186988 now active
2022/08/02 00:13:15 In Range Scan for Thread 3: 
2022/08/02 00:13:15 In Range Scan for Thread 1: 
2022/08/02 00:13:15 In Range Scan
2022/08/02 00:13:16 ListAllSecondaryIndexes() for Thread 1: : Index index_firstname Bucket default
2022/08/02 00:13:16 ListAllSecondaryIndexes() for Thread 1: : Index index_age Bucket default
2022/08/02 00:13:16 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022/08/02 00:13:16 ListAllSecondaryIndexes() for Thread 3: : Index index_firstname Bucket default
2022/08/02 00:13:16 ListAllSecondaryIndexes() for Thread 3: : Index index_age Bucket default
2022/08/02 00:13:16 ListAllSecondaryIndexes() for Thread 3: : Index index_company Bucket default
2022-08-02T00:15:16.283+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:45044->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-02T00:15:16.324+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:45046->127.0.0.1:9106: use of closed network connection. Kill Pipe.
--- PASS: TestConcurrentScans_MultipleIndexes (227.23s)
=== RUN   TestMutationsWithMultipleIndexBuilds
2022/08/02 00:15:16 In TestMutationsWithMultipleIndexBuilds()
2022-08-02T00:15:16.464+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:45050->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/02 00:15:16 In DropAllSecondaryIndexes()
2022/08/02 00:15:16 Index found:  index_company
2022/08/02 00:15:16 Dropped index index_company
2022/08/02 00:15:16 Index found:  index_age
2022/08/02 00:15:16 Dropped index index_age
2022/08/02 00:15:16 Index found:  index_firstname
2022/08/02 00:15:16 Dropped index index_firstname
2022/08/02 00:15:16 Generating JSON docs
2022/08/02 00:15:21 Setting initial JSON docs in KV
2022/08/02 00:16:18 Created the secondary index index_primary. Waiting for it become active
2022/08/02 00:16:18 Index is 3880995286118920996 now active
2022/08/02 00:16:18 Creating multiple indexes in deferred mode
2022/08/02 00:16:18 Build Indexes and wait for indexes to become active: [index_company index_age index_firstname index_lastname]
2022/08/02 00:16:18 Build command issued for the deferred indexes [index_company index_age index_firstname index_lastname]
2022/08/02 00:16:18 Waiting for the index index_company to become active
2022/08/02 00:16:18 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:19 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:20 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:21 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:22 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:23 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:24 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:25 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:26 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:27 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:28 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:29 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:30 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:31 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:32 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:33 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:34 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:35 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:36 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:37 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:38 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:39 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:40 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:41 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:42 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:43 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:44 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:45 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:46 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:47 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:48 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:49 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:50 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:51 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:52 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:53 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:54 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:55 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:56 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:57 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:58 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:16:59 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:17:00 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:17:01 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:17:02 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:17:03 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:17:04 Waiting for index 13605966185191325705 to go active ...
2022/08/02 00:17:05 Index is 13605966185191325705 now active
2022/08/02 00:17:05 Waiting for the index index_age to become active
2022/08/02 00:17:05 Index is 10632108543201833945 now active
2022/08/02 00:17:05 Waiting for the index index_firstname to become active
2022/08/02 00:17:05 Index is 6837655965864902307 now active
2022/08/02 00:17:05 Waiting for the index index_lastname to become active
2022/08/02 00:17:05 Index is 15385781973835515733 now active
--- PASS: TestMutationsWithMultipleIndexBuilds (109.05s)
PASS
ok  	github.com/couchbase/indexing/secondary/tests/largedatatests	970.035s
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 61319    0 61319    0     0  9084k      0 --:--:-- --:--:-- --:--:-- 9980k

Integration tests

Disabled integration tests

Testing Succeeded


Version: versions-01.08.2022-20.54.cfg
Build Log: make-01.08.2022-20.54.log
Server Log: logs-01.08.2022-20.54.tar.gz

Finished