Building

Started building at 2023/03/28 00:14:14
Using pegged server, 3762 build
Calculating base
Updating mirror
Basing run on 7.5.0-3762 abe057b697
Updating tree for run 28.03.2023-00.14
query is at 119cb55, changes since last good build: none
gometa is at e041ad6, changes since last good build: 

ns_server is at b976680, changes since last good build: none
couchstore is at d75745b, changes since last good build: none
forestdb is at acba458, changes since last good build: none
kv_engine is at c3394a8, changes since last good build: none
Switching indexing to unstable
indexing is at 955d16d, changes since last good build: none
Switching plasma to unstable
plasma is at 537ef48, changes since last good build: 
fatal: Invalid revision range d560b7f8f86f2df50b89a4e0e2315fe5d0832d8e..HEAD

Switching nitro to unstable
nitro is at d5f5610, changes since last good build: none
Switching gometa to master
gometa is at 3036efd, 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'
Submodule 'magma_loader/DocLoader' (https://github.com/couchbaselabs/DocLoader.git) registered for path 'magma_loader/DocLoader'
Cloning into '/opt/build/testrunner/gauntlet'...
Cloning into '/opt/build/testrunner/java_sdk_client'...
Cloning into '/opt/build/testrunner/lib/capellaAPI'...
Cloning into '/opt/build/testrunner/magma_loader/DocLoader'...
Submodule path 'gauntlet': checked out '4e2424851a59c6f4b4edfdb7e36fa6a0874d6300'
Submodule path 'java_sdk_client': checked out 'de89b059ce28567dbac18afb032271a4eaa674ff'
Submodule path 'lib/capellaAPI': checked out 'cc4fdf13570415078d22f84d2401990fa1009f89'
Submodule path 'magma_loader/DocLoader': checked out 'c86d919e54ce8402fa16ad8704bf1d5f380cd919'
testrunner is at ed4a4a6, changes since last good build: none
Pulling in uncommitted change 187313 at refs/changes/13/187313/8
Total 7 (delta 3), reused 3 (delta 3)
[unstable 34bcef5e] MB-55738: Add config for copy retry
 Author: Saptarshi Sen 
 Date: Thu Feb 23 10:46:19 2023 -0800
 2 files changed, 13 insertions(+), 2 deletions(-)
Pulling in uncommitted change 188501 at refs/changes/01/188501/1
Total 21 (delta 16), reused 21 (delta 16)
[unstable 0a98fdfa] MB-55917 Wait for cancelPrepare to finish before proceeding further
 Author: Varun Velamuri 
 Date: Mon Mar 20 20:52:07 2023 +0530
 1 file changed, 5 insertions(+)
Pulling in uncommitted change 188502 at refs/changes/02/188502/1
Total 26 (delta 20), reused 26 (delta 20)
[unstable 776c65d8] MB-55917 Fix error reporting in DDL service manager for sched indexes
 Author: Varun Velamuri 
 Date: Mon Mar 20 21:00:32 2023 +0530
 1 file changed, 2 insertions(+), 3 deletions(-)
Pulling in uncommitted change 188503 at refs/changes/03/188503/1
Total 31 (delta 24), reused 31 (delta 24)
[unstable 499e0334] MB-55917 Transfer scheduled tokens at the end of shard rebalance
 Author: Varun Velamuri 
 Date: Mon Mar 20 21:03:04 2023 +0530
 1 file changed, 16 insertions(+)
Pulling in uncommitted change 188553 at refs/changes/53/188553/3
Total 7 (delta 6), reused 7 (delta 6)
[unstable 68ec64a5] MB-55092,MB-55093 progress reporting pt 1
 Author: Dhruvil Shah 
 Date: Fri Mar 17 14:53:14 2023 +0530
 3 files changed, 83 insertions(+), 22 deletions(-)
Pulling in uncommitted change 188824 at refs/changes/24/188824/3
Total 14 (delta 12), reused 14 (delta 12)
[unstable bd20945a] MB-55092,MB-55093 progress reporting pt 2
 Author: Dhruvil Shah 
 Date: Mon Mar 27 19:04:49 2023 +0530
 3 files changed, 406 insertions(+), 47 deletions(-)
Pulling in uncommitted change 187263 at refs/changes/63/187263/10
Total 5 (delta 0), reused 1 (delta 0)
[unstable b9128f8] MB-55738: Add copier retry
 Author: Saptarshi Sen 
 Date: Wed Feb 22 16:30:30 2023 -0800
 3 files changed, 436 insertions(+), 85 deletions(-)
Pulling in uncommitted change 187738 at refs/changes/38/187738/1
Total 3 (delta 2), reused 3 (delta 2)
[unstable 210fc84] MB-100: Fix validate RP in tests
 Author: Saptarshi Sen 
 Date: Fri Mar 3 20:50:04 2023 -0800
 1 file changed, 3 insertions(+), 6 deletions(-)
Pulling in uncommitted change 188620 at refs/changes/20/188620/2
Total 6 (delta 5), reused 6 (delta 5)
[unstable 56d412b] MB-55160: Provide Control to cancel recovery
 Author: jliang00 
 Date: Wed Mar 22 13:51:26 2023 -0700
 4 files changed, 450 insertions(+), 20 deletions(-)
Building community edition
Building cmakefiles and deps [CE]
Building main product [CE]
Build CE finished
BUILD_ENTERPRISE empty. Building enterprise edition
Building Enterprise Edition
Building cmakefiles and deps [EE]
Building main product [EE]
Build EE finished

Testing

Started testing at 2023/03/28 01:09:01
Testing mode: sanity,unit,functional,serverless,integration
Using storage type: memdb
Setting ulimit to 200000

Simple Test

Mar 28 01:14:36 rebalance_in_with_ops (rebalance.rebalancein.RebalanceInTests) ... ok
Mar 28 01:18:59 rebalance_in_with_ops (rebalance.rebalancein.RebalanceInTests) ... ok
Mar 28 01:19:48 do_warmup_100k (memcapable.WarmUpMemcachedTest) ... ok
Mar 28 01:21:12 test_view_ops (view.createdeleteview.CreateDeleteViewTests) ... ok
Mar 28 01:22:05 b" 'stop_on_failure': 'True'}"
Mar 28 01:22:05 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'
Mar 28 01:22:05 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-23-Mar-28_01-09-25/test_1'}"
Mar 28 01:22:05 b'-->result: '
Mar 28 01:22:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 1 , fail 0'
Mar 28 01:22:05 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'
Mar 28 01:22:05 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': 'False', 'teardown_run': 'True', 'logs_folder': '/opt/build/testrunner/logs/testrunner-23-Mar-28_01-09-25/test_2'}"
Mar 28 01:22:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 2 , fail 0'
Mar 28 01:22:05 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'
Mar 28 01:22:05 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': 'False', 'teardown_run': 'True', 'logs_folder': '/opt/build/testrunner/logs/testrunner-23-Mar-28_01-09-25/test_3'}"
Mar 28 01:22:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 2 , fail 0'
Mar 28 01:22:05 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 1 , fail 0'
Mar 28 01:22:05 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'
Mar 28 01:22:05 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': 'False', 'teardown_run': 'True', 'logs_folder': '/opt/build/testrunner/logs/testrunner-23-Mar-28_01-09-25/test_4'}"
Mar 28 01:22:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 2 , fail 0'
Mar 28 01:22:05 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 1 , fail 0'
Mar 28 01:22:05 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 1 , fail 0'
Mar 28 01:32:27 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'ok
Mar 28 01:33:13 test_simple_dataset_stale_queries_data_modification (view.viewquerytests.ViewQueryTests) ... ok
Mar 28 01:37:26 load_with_ops (xdcr.uniXDCR.unidirectional) ... ok
Mar 28 01:41:39 load_with_failover (xdcr.uniXDCR.unidirectional) ... ok
Mar 28 01:44:27 suite_tearDown (xdcr.uniXDCR.unidirectional) ... ok
Mar 28 01:44:27 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': 'False', 'teardown_run': 'True', 'logs_folder': '/opt/build/testrunner/logs/testrunner-23-Mar-28_01-09-25/test_5'}"
Mar 28 01:44:27 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 2 , fail 0'
Mar 28 01:44:27 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 1 , fail 0'
Mar 28 01:44:27 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 1 , fail 0'
Mar 28 01:44:27 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 1 , fail 0'
Mar 28 01:44:27 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'
Mar 28 01:44:27 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': 'False', 'teardown_run': 'True', 'logs_folder': '/opt/build/testrunner/logs/testrunner-23-Mar-28_01-09-25/test_6'}"
Mar 28 01:44:27 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 2 , fail 0'
Mar 28 01:44:27 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 1 , fail 0'
Mar 28 01:44:27 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 1 , fail 0'
Mar 28 01:44:27 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 2 , fail 0'
Mar 28 01:44:27 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'
Mar 28 01:44:27 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': 'False', 'teardown_run': 'True', 'logs_folder': '/opt/build/testrunner/logs/testrunner-23-Mar-28_01-09-25/test_7'}"
Mar 28 01:44:27 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 2 , fail 0'
Mar 28 01:44:27 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 1 , fail 0'
Mar 28 01:44:27 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 1 , fail 0'
Mar 28 01:44:27 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 2 , fail 0'
Mar 28 01:44:27 b'summary so far suite xdcr.uniXDCR.unidirectional , pass 1 , fail 0'
Mar 28 01:44:27 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'
Mar 28 01:44:27 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': 'False', 'teardown_run': 'True', 'logs_folder': '/opt/build/testrunner/logs/testrunner-23-Mar-28_01-09-25/test_8'}"
Mar 28 01:44:27 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 2 , fail 0'
Mar 28 01:44:27 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 1 , fail 0'
Mar 28 01:44:27 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 1 , fail 0'
Mar 28 01:44:27 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 2 , fail 0'
Mar 28 01:44:27 b'summary so far suite xdcr.uniXDCR.unidirectional , pass 2 , fail 0'
Mar 28 01:44:27 b'Run after suite setup for xdcr.uniXDCR.unidirectional.load_with_failover'
Mar 28 01:44:28 b"('rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops', ' pass')"
Mar 28 01:44:28 b"('rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops', ' pass')"
Mar 28 01:44:28 b"('memcapable.WarmUpMemcachedTest.do_warmup_100k', ' pass')"
Mar 28 01:44:28 b"('view.createdeleteview.CreateDeleteViewTests.test_view_ops', ' pass')"
Mar 28 01:44:28 b"('view.viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_in', ' pass')"
Mar 28 01:44:28 b"('view.viewquerytests.ViewQueryTests.test_simple_dataset_stale_queries_data_modification', ' pass')"
Mar 28 01:44:28 b"('xdcr.uniXDCR.unidirectional.load_with_ops', ' pass')"
Mar 28 01:44:28 b"('xdcr.uniXDCR.unidirectional.load_with_failover', ' pass')"

Unit tests

=== RUN   TestMerger
--- PASS: TestMerger (0.02s)
=== RUN   TestInsert
--- PASS: TestInsert (0.00s)
=== RUN   TestInsertPerf
16000000 items took 28.274667094s -> 565877.573263993 items/s conflicts 22
--- PASS: TestInsertPerf (28.27s)
=== RUN   TestGetPerf
16000000 items took 5.707799371s -> 2.8031819200394945e+06 items/s
--- PASS: TestGetPerf (6.30s)
=== RUN   TestGetRangeSplitItems
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3334,
"memory_used":            37334672,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750193,
"level1": 187224,
"level2": 46825,
"level3": 11802,
"level4": 2978,
"level5": 718,
"level6": 201,
"level7": 44,
"level8": 14,
"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
}
}
Split range keys [68438 125581 187470 345397 497355 556530 772792]
No of items in each range [68438 57143 61889 157927 151958 59175 216262 227208]
--- PASS: TestGetRangeSplitItems (0.61s)
=== RUN   TestBuilder
{
"node_count":             50000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3333,
"memory_used":            1866645728,
"node_allocs":            50000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 37500369,
"level1": 9373852,
"level2": 2344824,
"level3": 586244,
"level4": 146547,
"level5": 36136,
"level6": 9013,
"level7": 2230,
"level8": 567,
"level9": 159,
"level10": 48,
"level11": 9,
"level12": 2,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Took 7.607725087s to build 50000000 items, 6.572267e+06 items/sec
Took 418.463922ms to iterate 50000000 items
--- PASS: TestBuilder (8.03s)
=== RUN   TestNodeDCAS
--- PASS: TestNodeDCAS (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/memdb/skiplist	43.466s
=== RUN   TestInsert
Set IO Concurrency: 716
--- PASS: TestInsert (0.01s)
=== RUN   TestInsertPerf
20000000 items took 51.541143746s -> 388039.5068173503 items/s snapshots_created 210 live_snapshots 1
--- PASS: TestInsertPerf (66.56s)
=== RUN   TestInsertDuplicates
--- PASS: TestInsertDuplicates (0.01s)
=== RUN   TestGetPerf
16000000 items took 21.884692159s -> 731104.6408034604 items/s
--- PASS: TestGetPerf (23.65s)
=== RUN   TestLoadStoreDisk
Inserting 1000000 items took 1.478721777s
{
"node_count":             1000734,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       9,
"next_pointers_per_node": 1.3335,
"memory_used":            57340528,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750340,
"level1": 187794,
"level2": 47062,
"level3": 11600,
"level4": 2973,
"level5": 704,
"level6": 192,
"level7": 53,
"level8": 14,
"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
}
}
snap count = 1000000
2023-03-28T01:47:04.695+05:30 [Info] MemDB::StoreToDisk: Unexpected amount of data being persisted dir [db.dump] count per shard [[35489 69617 29366 65303 62828 39071 62357 79330 23806 60507 74741 24002 36210 101007 79246 157120]] total count [1000000] snap count [999999] size per shard [[283912 556936 234928 522424 502624 312568 498856 634640 190448 484056 597928 192016 289680 808056 633968 1256960]] total size [8000000] memoryInUse [57340528]
2023-03-28T01:47:04.751+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[35489 69617 29366 65303 62828 39071 62357 79330 23806 60507 74741 24002 36210 101007 79246 157120]] total count [1000000] snap count [999999] size per shard [[283912 556936 234928 522424 502624 312568 498856 634640 190448 484056 597928 192016 289680 808056 633968 1256960]] total size [8000000] memoryInUse [57340528]
Storing to disk took 319.370056ms
Loading from disk took 292.530145ms
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3334,
"memory_used":            57334720,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750296,
"level1": 186779,
"level2": 47432,
"level3": 11570,
"level4": 2907,
"level5": 758,
"level6": 184,
"level7": 54,
"level8": 14,
"level9": 5,
"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.53s)
=== RUN   TestConcurrentLoadCloseFragmentation
Done Inserting 2000000 items
frag = NaN%
2023-03-28T01:47:10.305+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[93794 22972 185942 197665 38398 237981 64609 268692 113784 8592 155384 56592 61027 156587 316646 21335]] total count [2000000] snap count [2000000] size per shard [[750352 183776 1487536 1581320 307184 1903848 516872 2149536 910272 68736 1243072 452736 488216 1252696 2533168 170680]] total size [16000000] memoryInUse [114672600]
Done Storing to disk
frag = NaN%
Done Closing
Done Loading from disk
frag = NaN%
--- PASS: TestConcurrentLoadCloseFragmentation (5.65s)
=== RUN   TestConcurrentLoadCloseFragmentationSmall
Done Inserting 10 items
frag = NaN%
2023-03-28T01:47:11.966+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.10s)
=== RUN   TestConcurrentLoadCloseFragmentationEmpty
Done Inserting 0 items
frag = NaN%
2023-03-28T01:47:12.622+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 (1.16s)
=== RUN   TestConcurrentCloseSingleNode
A
--- PASS: TestConcurrentCloseSingleNode (0.00s)
=== RUN   TestStoreDiskShutdown
Inserting 1000000 items took 1.322454956s
{
"node_count":             999999,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       10,
"next_pointers_per_node": 1.3331,
"memory_used":            57329296,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750190,
"level1": 187429,
"level2": 46806,
"level3": 11602,
"level4": 2936,
"level5": 807,
"level6": 169,
"level7": 43,
"level8": 14,
"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 (2.13s)
=== 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.4000,
"memory_used":            604,
"node_allocs":            20,
"node_frees":             10,
"level_node_distribution":{
"level0": 7,
"level1": 2,
"level2": 1,
"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 = 66657, wait_time_for_collection = 9ms
--- PASS: TestGCPerf (35.13s)
=== RUN   TestMemoryInUse
ItemsCount: 5000, MemoryInUse: 296880, NodesCount: 5000
ItemsCount: 0, MemoryInUse: 64, NodesCount: 0
--- PASS: TestMemoryInUse (1.01s)
=== RUN   TestFullScan
Inserting 1600000 items took 2.354508541s
{
"node_count":             1601457,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       18,
"next_pointers_per_node": 1.3341,
"memory_used":            91760636,
"node_allocs":            1602696,
"node_frees":             0,
"level_node_distribution":{
"level0": 1200541,
"level1": 300269,
"level2": 75551,
"level3": 18812,
"level4": 4721,
"level5": 1165,
"level6": 297,
"level7": 71,
"level8": 24,
"level9": 4,
"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
}
}
Full iteration of 1600000 items took 443.322119ms
--- PASS: TestFullScan (4.10s)
=== RUN   TestVisitor
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3341,
"memory_used":            57345856,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749683,
"level1": 187750,
"level2": 46717,
"level3": 11773,
"level4": 3088,
"level5": 740,
"level6": 194,
"level7": 47,
"level8": 4,
"level9": 4,
"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 45.47803ms to iterate 1000000 items, 2.1988638e+07 items/s
shard - 0 count = 44108, range: 0-44107
shard - 1 count = 20582, range: 44108-64689
shard - 2 count = 67980, range: 64690-132669
shard - 3 count = 54825, range: 132670-187494
shard - 4 count = 21251, range: 187495-208745
shard - 5 count = 59808, range: 208746-268553
shard - 6 count = 54164, range: 268554-322717
shard - 7 count = 53454, range: 322718-376171
shard - 8 count = 69026, range: 376172-445197
shard - 9 count = 4273, range: 445198-449470
shard - 10 count = 19183, range: 449471-468653
shard - 11 count = 22977, range: 468654-491630
shard - 12 count = 11651, range: 491631-503281
shard - 13 count = 36301, range: 503282-539582
shard - 14 count = 17698, range: 539583-557280
shard - 15 count = 31413, range: 557281-588693
shard - 16 count = 23549, range: 588694-612242
shard - 17 count = 31222, range: 612243-643464
shard - 18 count = 59967, range: 643465-703431
shard - 19 count = 34097, range: 703432-737528
shard - 20 count = 15584, range: 737529-753112
shard - 21 count = 56700, range: 753113-809812
shard - 22 count = 43639, range: 809813-853451
shard - 23 count = 32531, range: 853452-885982
shard - 24 count = 32360, range: 885983-918342
shard - 25 count = 11870, range: 918343-930212
shard - 26 count = 8613, range: 930213-938825
shard - 27 count = 58694, range: 938826-997519
shard - 28 count = 2480, range: 997520-999999
shard - 29 count = 0, range: 0-0
shard - 30 count = 0, range: 0-0
shard - 31 count = 0, range: 0-0
--- PASS: TestVisitor (1.45s)
=== RUN   TestVisitorError
--- PASS: TestVisitorError (0.14s)
=== RUN   TestLoadDeltaStoreDisk
snap count = 1000000
2023-03-28T01:48:02.446+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 205052 256460 453930]] total count [915442] snap count [1000000] size per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 1640416 2051680 3631440]] total size [7323536] memoryInUse [132208668]
Storing to disk took 15.857114896s
Loading from disk took 1.197771142s
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3335,
"memory_used":            57335504,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749348,
"level1": 188473,
"level2": 46653,
"level3": 11706,
"level4": 2817,
"level5": 778,
"level6": 172,
"level7": 43,
"level8": 9,
"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
}
}
Restored 84558
RestoredFailed 381249
--- PASS: TestLoadDeltaStoreDisk (19.09s)
=== RUN   TestExecuteConcurrGCWorkers
--- PASS: TestExecuteConcurrGCWorkers (0.54s)
=== RUN   TestCloseWithActiveIterators
--- PASS: TestCloseWithActiveIterators (32.81s)
=== RUN   TestDiskCorruption
Inserting 100000 items took 96.350557ms
{
"node_count":             100000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       8,
"next_pointers_per_node": 1.3338,
"memory_used":            5734012,
"node_allocs":            100000,
"node_frees":             0,
"level_node_distribution":{
"level0": 74961,
"level1": 18822,
"level2": 4584,
"level3": 1252,
"level4": 293,
"level5": 71,
"level6": 13,
"level7": 4,
"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
}
}
2023-03-28T01:48:51.268+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[5761 6098 7499 4141 2476 11347 7575 3787 6639 3003 6407 3292 8813 4957 2562 15643]] total count [100000] snap count [100000] size per shard [[46088 48784 59992 33128 19808 90776 60600 30296 53112 24024 51256 26336 70504 39656 20496 125144]] total size [800000] memoryInUse [5734012]
Storing to disk took 112.920796ms
Loading from disk took 37.583416ms
--- PASS: TestDiskCorruption (0.83s)
=== RUN   TestSnapshotStats
--- PASS: TestSnapshotStats (0.00s)
=== RUN   TestInsertDeleteConcurrent
total items in snapshot: 8299867  items deleted: 1700133
{
"node_count":             8299867,
"soft_deletes":           0,
"read_conflicts":         9167,
"insert_conflicts":       194,
"next_pointers_per_node": 1.3331,
"memory_used":            475828108,
"node_allocs":            10000000,
"node_frees":             10000002,
"level_node_distribution":{
"level0": 6225448,
"level1": 1556034,
"level2": 389309,
"level3": 96873,
"level4": 24227,
"level5": 5983,
"level6": 1508,
"level7": 365,
"level8": 94,
"level9": 21,
"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.21s)
=== RUN   TestNodeList
--- PASS: TestNodeList (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/memdb	217.397s
=== 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.034s
=== RUN   TestForestDBIterator
2023-03-28T01:49:24.752+05:30 [INFO][FDB] Forestdb blockcache size 134217728 initialized in 5416 us

2023-03-28T01:49:24.753+05:30 [INFO][FDB] Forestdb opened database file test
2023-03-28T01:49:24.756+05:30 [INFO][FDB] Forestdb closed database file test
--- PASS: TestForestDBIterator (0.01s)
=== RUN   TestForestDBIteratorSeek
2023-03-28T01:49:24.757+05:30 [INFO][FDB] Forestdb opened database file test
2023-03-28T01:49:24.759+05:30 [INFO][FDB] Forestdb closed database file test
--- PASS: TestForestDBIteratorSeek (0.00s)
=== RUN   TestPrimaryIndexEntry
--- PASS: TestPrimaryIndexEntry (0.00s)
=== RUN   TestSecondaryIndexEntry
--- PASS: TestSecondaryIndexEntry (0.00s)
=== RUN   TestPrimaryIndexEntryMatch
--- PASS: TestPrimaryIndexEntryMatch (0.00s)
=== RUN   TestSecondaryIndexEntryMatch
--- PASS: TestSecondaryIndexEntryMatch (0.00s)
=== RUN   TestLongDocIdEntry
--- PASS: TestLongDocIdEntry (0.00s)
=== RUN   TestMemDBInsertionPerf
Maximum number of file descriptors = 200000
Set IO Concurrency: 7200
Initial build: 10000000 items took 1m3.40465962s -> 157717.11511318732 items/s
Incr build: 10000000 items took 2m40.71193029s -> 62223.13416281723 items/s
Main Index: {
"node_count":             18000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       2,
"next_pointers_per_node": 1.3332,
"memory_used":            1695875612,
"node_allocs":            18000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 13499648,
"level1": 3376364,
"level2": 843598,
"level3": 210454,
"level4": 52194,
"level5": 13311,
"level6": 3358,
"level7": 786,
"level8": 213,
"level9": 51,
"level10": 18,
"level11": 4,
"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 (224.12s)
=== 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	248.211s
=== RUN   TestConnPoolBasicSanity
2023-03-28T01:53:36.213+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 3 overflow 6 low WM 3 relConn batch size 1 ...
2023-03-28T01:53:36.422+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2023-03-28T01:53:37.213+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestConnPoolBasicSanity (5.00s)
=== RUN   TestConnRelease
2023-03-28T01:53:41.216+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
2023-03-28T01:54:20.988+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2023-03-28T01:54:21.230+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestConnRelease (43.77s)
=== RUN   TestLongevity
2023-03-28T01:54:24.990+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Releasing 3 conns.
Getting 0 conns.
Releasing 3 conns.
Getting 0 conns.
Releasing 2 conns.
Getting 2 conns.
Releasing 3 conns.
Getting 0 conns.
Releasing 2 conns.
Getting 0 conns.
Releasing 1 conns.
Getting 2 conns.
Releasing 4 conns.
Getting 4 conns.
Releasing 3 conns.
Getting 2 conns.
Releasing 2 conns.
Getting 2 conns.
Releasing 3 conns.
Getting 1 conns.
Releasing 0 conns.
Getting 1 conns.
Releasing 1 conns.
Getting 2 conns.
Releasing 4 conns.
Getting 3 conns.
Releasing 2 conns.
Getting 4 conns.
Releasing 3 conns.
Getting 1 conns.
2023-03-28T01:55:03.353+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2023-03-28T01:55:04.007+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestLongevity (42.36s)
=== RUN   TestSustainedHighConns
2023-03-28T01:55:07.354+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Allocating 3 Connections
cp.curActConns = 0
Returning 0 Connections
Returning 2 Connections
cp.curActConns = 3
Allocating 9 Connections
Returning 2 Connections
cp.curActConns = 8
Allocating 20 Connections
Returning 1 Connections
cp.curActConns = 11
Returning 0 Connections
cp.curActConns = 22
Returning 4 Connections
cp.curActConns = 23
Allocating 12 Connections
Returning 2 Connections
cp.curActConns = 33
cp.curActConns = 33
Returning 2 Connections
Allocating 11 Connections
Returning 3 Connections
cp.curActConns = 39
Allocating 4 Connections
cp.curActConns = 43
Returning 3 Connections
Allocating 18 Connections
Returning 2 Connections
cp.curActConns = 45
cp.curActConns = 56
Returning 2 Connections
Allocating 5 Connections
Returning 2 Connections
cp.curActConns = 54
cp.curActConns = 57
Returning 2 Connections
Allocating 7 Connections
Returning 1 Connections
cp.curActConns = 61
Allocating 5 Connections
Returning 1 Connections
cp.curActConns = 66
Allocating 19 Connections
cp.curActConns = 68
Returning 0 Connections
Returning 3 Connections
cp.curActConns = 78
cp.curActConns = 81
Returning 1 Connections
Allocating 20 Connections
Returning 4 Connections
cp.curActConns = 89
cp.curActConns = 96
Returning 2 Connections
Allocating 7 Connections
cp.curActConns = 101
Returning 1 Connections
Allocating 15 Connections
Returning 4 Connections
cp.curActConns = 105
cp.curActConns = 111
Returning 0 Connections
Allocating 21 Connections
Returning 2 Connections
cp.curActConns = 115
cp.curActConns = 129
Returning 0 Connections
Returning 4 Connections
cp.curActConns = 126
Allocating 22 Connections
Returning 1 Connections
cp.curActConns = 140
Returning 4 Connections
cp.curActConns = 146
Allocating 16 Connections
Returning 2 Connections
cp.curActConns = 153
Returning 1 Connections
cp.curActConns = 157
Allocating 20 Connections
Returning 0 Connections
cp.curActConns = 164
cp.curActConns = 176
Returning 2 Connections
Allocating 3 Connections
Returning 3 Connections
cp.curActConns = 174
cp.curActConns = 174
Returning 0 Connections
Allocating 9 Connections
Returning 4 Connections
cp.curActConns = 179
Allocating 24 Connections
Returning 3 Connections
cp.curActConns = 187
Returning 1 Connections
cp.curActConns = 198
Returning 3 Connections
cp.curActConns = 196
Allocating 5 Connections
Returning 4 Connections
cp.curActConns = 197
Allocating 16 Connections
Returning 2 Connections
cp.curActConns = 209
Returning 4 Connections
cp.curActConns = 207
Allocating 0 Connections
cp.curActConns = 207
Returning 2 Connections
Allocating 4 Connections
cp.curActConns = 209
Returning 4 Connections
Allocating 4 Connections
Returning 0 Connections
cp.curActConns = 209
Allocating 0 Connections
Returning 2 Connections
cp.curActConns = 207
Allocating 2 Connections
Returning 1 Connections
cp.curActConns = 208
Allocating 4 Connections
cp.curActConns = 212
Returning 0 Connections
Allocating 2 Connections
Returning 4 Connections
cp.curActConns = 214
Allocating 0 Connections
cp.curActConns = 210
Returning 0 Connections
Allocating 2 Connections
cp.curActConns = 212
Returning 2 Connections
Allocating 1 Connections
Returning 1 Connections
cp.curActConns = 211
Allocating 0 Connections
cp.curActConns = 210
Returning 2 Connections
Allocating 4 Connections
Returning 0 Connections
cp.curActConns = 212
Allocating 4 Connections
Returning 4 Connections
cp.curActConns = 212
Allocating 1 Connections
cp.curActConns = 213
Returning 3 Connections
Allocating 4 Connections
Returning 3 Connections
cp.curActConns = 211
Allocating 2 Connections
cp.curActConns = 213
Returning 2 Connections
Allocating 3 Connections
Returning 0 Connections
cp.curActConns = 214
Allocating 1 Connections
Returning 3 Connections
cp.curActConns = 213
Allocating 1 Connections
cp.curActConns = 213
Returning 4 Connections
Allocating 0 Connections
Returning 4 Connections
cp.curActConns = 205
Allocating 1 Connections
cp.curActConns = 206
Returning 0 Connections
Allocating 2 Connections
cp.curActConns = 208
Returning 0 Connections
Allocating 1 Connections
cp.curActConns = 209
Returning 2 Connections
Allocating 2 Connections
Returning 0 Connections
cp.curActConns = 209
Allocating 4 Connections
cp.curActConns = 213
Returning 3 Connections
Allocating 0 Connections
Returning 4 Connections
cp.curActConns = 206
Allocating 4 Connections
Returning 3 Connections
cp.curActConns = 207
Allocating 4 Connections
cp.curActConns = 211
Returning 0 Connections
Allocating 4 Connections
Returning 2 Connections
cp.curActConns = 213
Allocating 1 Connections
cp.curActConns = 214
Returning 1 Connections
Allocating 0 Connections
Returning 3 Connections
cp.curActConns = 210
Allocating 1 Connections
Returning 3 Connections
cp.curActConns = 211
Allocating 2 Connections
cp.curActConns = 210
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 209
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 208
Returning 2 Connections
Allocating 1 Connections
Returning 3 Connections
cp.curActConns = 204
Allocating 0 Connections
Returning 1 Connections
cp.curActConns = 203
Allocating 4 Connections
cp.curActConns = 207
Returning 1 Connections
Allocating 2 Connections
Returning 2 Connections
cp.curActConns = 206
Allocating 4 Connections
cp.curActConns = 210
Returning 0 Connections
Allocating 3 Connections
Returning 1 Connections
cp.curActConns = 212
Allocating 1 Connections
cp.curActConns = 213
Returning 1 Connections
Allocating 2 Connections
Returning 3 Connections
cp.curActConns = 211
Allocating 0 Connections
cp.curActConns = 211
Returning 1 Connections
Allocating 0 Connections
Returning 2 Connections
cp.curActConns = 210
Allocating 1 Connections
cp.curActConns = 209
Returning 0 Connections
Allocating 2 Connections
cp.curActConns = 211
Returning 0 Connections
Allocating 2 Connections
Returning 1 Connections
cp.curActConns = 213
Allocating 4 Connections
cp.curActConns = 216
Returning 0 Connections
Allocating 0 Connections
Returning 2 Connections
cp.curActConns = 214
Allocating 4 Connections
cp.curActConns = 218
Returning 3 Connections
Allocating 1 Connections
Returning 0 Connections
cp.curActConns = 216
Allocating 1 Connections
Returning 0 Connections
cp.curActConns = 217
Allocating 3 Connections
Returning 3 Connections
cp.curActConns = 217
Allocating 1 Connections
cp.curActConns = 218
Returning 1 Connections
Allocating 4 Connections
Returning 1 Connections
cp.curActConns = 220
Allocating 4 Connections
Returning 0 Connections
cp.curActConns = 220
cp.curActConns = 224
Retuning from startDeallocatorRoutine
Retuning from startAllocatorRoutine
2023-03-28T01:56:02.438+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2023-03-28T01:56:03.383+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestSustainedHighConns (59.08s)
=== RUN   TestLowWM
2023-03-28T01:56:06.439+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 20 overflow 5 low WM 10 relConn batch size 2 ...
2023-03-28T01:57:06.456+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] active conns 0, free conns 10
2023-03-28T01:58:06.471+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] active conns 0, free conns 10
2023-03-28T01:58:11.951+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2023-03-28T01:58:12.472+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestLowWM (129.51s)
=== RUN   TestTotalConns
2023-03-28T01:58:15.953+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 120 overflow 5 low WM 10 relConn batch size 10 ...
2023-03-28T01:58:30.132+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2023-03-28T01:58:30.960+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestTotalConns (18.18s)
=== RUN   TestUpdateTickRate
2023-03-28T01:58:34.134+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 40 overflow 5 low WM 2 relConn batch size 2 ...
2023-03-28T01:58:54.983+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2023-03-28T01:58:55.145+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.826s
Starting server: attempt 1

Functional tests

2023/03/28 02:01:19 In TestMain()
2023/03/28 02:01:19 otp node fetch error: json: cannot unmarshal string into Go value of type couchbase.Pool
2023/03/28 02:01:19 Initialising services with role: kv,n1ql on node: 127.0.0.1:9000
2023/03/28 02:01:20 Initialising web UI on node: 127.0.0.1:9000
2023/03/28 02:01:21 InitWebCreds, response is: {"newBaseUri":"http://127.0.0.1:9000/"}
2023/03/28 02:01:22 Setting data quota of 1500M and Index quota of 1500M
2023/03/28 02:01:23 Adding node: https://127.0.0.1:19001 with role: kv,index to the cluster
2023/03/28 02:01:39 AddNode: Successfully added node: 127.0.0.1:9001 (role kv,index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 02:01:44 Rebalance progress: 0
2023/03/28 02:01:49 Rebalance progress: 0
2023/03/28 02:01:54 Rebalance progress: 100
2023/03/28 02:01:59 Created bucket default, responseBody: 
2023/03/28 02:02:04 Cluster status: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 02:02:04 Successfully initialised cluster
2023/03/28 02:02:04 Cluster status: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 02:02:05 Changing config key queryport.client.settings.backfillLimit to value 0
2023/03/28 02:02:05 Changing config key queryport.client.log_level to value Warn
2023/03/28 02:02:05 Changing config key indexer.api.enableTestServer to value true
2023/03/28 02:02:05 Changing config key indexer.settings.persisted_snapshot_init_build.moi.interval to value 60000
2023/03/28 02:02:05 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 60000
2023/03/28 02:02:05 Changing config key indexer.settings.log_level to value info
2023/03/28 02:02:05 Changing config key indexer.settings.storage_mode.disable_upgrade to value true
2023/03/28 02:02:05 Using memory_optimized for creating indexes
2023/03/28 02:02:05 Changing config key indexer.settings.storage_mode to value memory_optimized
2023/03/28 02:02:10 Data file exists. Skipping download
2023/03/28 02:02:10 Data file exists. Skipping download
2023/03/28 02:02:12 In DropAllSecondaryIndexes()
2023/03/28 02:02:12 Emptying the default bucket
2023/03/28 02:02:15 Flush Enabled on bucket default, responseBody: 
2023/03/28 02:02:53 Flushed the bucket default, Response body: 
2023/03/28 02:02:53 Create Index On the empty default Bucket()
2023/03/28 02:02:56 Created the secondary index index_eyeColor. Waiting for it become active
2023/03/28 02:02:56 Index is 10742888136648825694 now active
2023/03/28 02:02:56 Populating the default bucket
=== RUN   TestScanAfterBucketPopulate
2023/03/28 02:03:06 In TestScanAfterBucketPopulate()
2023/03/28 02:03:06 Create an index on empty bucket, populate the bucket and Run a scan on the index
2023/03/28 02:03:06 Using n1ql client
2023-03-28T02:03:06.020+05:30 [Info] creating GsiClient for 127.0.0.1:9000
2023/03/28 02:03:06 Expected and Actual scan responses are the same
--- PASS: TestScanAfterBucketPopulate (0.10s)
=== RUN   TestRestartNilSnapshot
2023/03/28 02:03:06 In TestRestartNilSnapshot()
2023/03/28 02:03:10 Created the secondary index idx_age. Waiting for it become active
2023/03/28 02:03:10 Index is 849788507612888102 now active
2023/03/28 02:03:10 Restarting indexer process ...
2023/03/28 02:03:10 []
2023-03-28T02:03:10.172+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023-03-28T02:03:10.177+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023/03/28 02:06:30 Using n1ql client
2023-03-28T02:06:30.135+05:30 [Error] transport error between 127.0.0.1:54032->127.0.0.1:9107: write tcp 127.0.0.1:54032->127.0.0.1:9107: write: broken pipe
2023-03-28T02:06:30.135+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 6505216789336590821 request transport failed `write tcp 127.0.0.1:54032->127.0.0.1:9107: write: broken pipe`
2023-03-28T02:06:30.135+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2023-03-28T02:06:30.135+05:30 [Error] metadataClient:PickRandom: Replicas - [12009880605016074022], PrunedReplica - map[], FilteredReplica map[]
2023/03/28 02:06:30 Expected and Actual scan responses are the same
--- PASS: TestRestartNilSnapshot (204.07s)
=== RUN   TestThreeIndexCreates
2023/03/28 02:06:30 In TestThreeIndexCreates()
2023/03/28 02:06:34 Created the secondary index index_balance. Waiting for it become active
2023/03/28 02:06:34 Index is 15820675736078609551 now active
2023/03/28 02:06:34 Create docs mutations
2023/03/28 02:06:34 Using n1ql client
2023/03/28 02:06:34 Expected and Actual scan responses are the same
2023/03/28 02:06:40 Created the secondary index index_email. Waiting for it become active
2023/03/28 02:06:40 Index is 10796743434123244814 now active
2023/03/28 02:06:40 Create docs mutations
2023/03/28 02:06:40 Using n1ql client
2023/03/28 02:06:40 Expected and Actual scan responses are the same
2023/03/28 02:06:46 Created the secondary index index_pin. Waiting for it become active
2023/03/28 02:06:46 Index is 16201537185452683734 now active
2023/03/28 02:06:46 Delete docs mutations
2023/03/28 02:06:47 Using n1ql client
2023/03/28 02:06:47 Expected and Actual scan responses are the same
--- PASS: TestThreeIndexCreates (16.90s)
=== RUN   TestMultipleIndexCreatesDropsWithMutations
2023/03/28 02:06:47 In TestThreeIndexCreates()
2023/03/28 02:06:53 Created the secondary index index_state. Waiting for it become active
2023/03/28 02:06:53 Index is 7497782608054466469 now active
2023/03/28 02:06:53 Create docs mutations
2023/03/28 02:06:53 Using n1ql client
2023/03/28 02:06:53 Expected and Actual scan responses are the same
2023/03/28 02:06:59 Created the secondary index index_registered. Waiting for it become active
2023/03/28 02:06:59 Index is 4243706558733035967 now active
2023/03/28 02:06:59 Create docs mutations
2023/03/28 02:06:59 Using n1ql client
2023/03/28 02:06:59 Expected and Actual scan responses are the same
2023/03/28 02:07:05 Created the secondary index index_gender. Waiting for it become active
2023/03/28 02:07:05 Index is 14042746404589205929 now active
2023/03/28 02:07:05 Create docs mutations
2023/03/28 02:07:05 Using n1ql client
2023/03/28 02:07:05 Expected and Actual scan responses are the same
2023/03/28 02:07:05 Dropping the secondary index index_registered
2023/03/28 02:07:06 Index dropped
2023/03/28 02:07:06 Create docs mutations
2023/03/28 02:07:06 Delete docs mutations
2023/03/28 02:07:06 Using n1ql client
2023/03/28 02:07:06 Expected and Actual scan responses are the same
2023/03/28 02:07:12 Created the secondary index index_longitude. Waiting for it become active
2023/03/28 02:07:12 Index is 17325701316263547548 now active
2023/03/28 02:07:12 Create docs mutations
2023/03/28 02:07:12 Using n1ql client
2023/03/28 02:07:12 Expected and Actual scan responses are the same
--- PASS: TestMultipleIndexCreatesDropsWithMutations (25.64s)
=== RUN   TestCreateDropScan
2023/03/28 02:07:12 In TestCreateDropScan()
2023/03/28 02:07:18 Created the secondary index index_cd. Waiting for it become active
2023/03/28 02:07:18 Index is 17134318903582811558 now active
2023/03/28 02:07:18 Using n1ql client
2023/03/28 02:07:18 Expected and Actual scan responses are the same
2023/03/28 02:07:18 Dropping the secondary index index_cd
2023/03/28 02:07:18 Index dropped
2023/03/28 02:07:18 Using n1ql client
2023/03/28 02:07:18 Scan failed as expected with error: Index Not Found - cause: GSI index index_cd not found.
--- PASS: TestCreateDropScan (6.16s)
=== RUN   TestCreateDropCreate
2023/03/28 02:07:18 In TestCreateDropCreate()
2023/03/28 02:07:24 Created the secondary index index_cdc. Waiting for it become active
2023/03/28 02:07:24 Index is 15203783848418044733 now active
2023/03/28 02:07:24 Using n1ql client
2023/03/28 02:07:24 Expected and Actual scan responses are the same
2023/03/28 02:07:24 Dropping the secondary index index_cdc
2023/03/28 02:07:25 Index dropped
2023/03/28 02:07:25 Using n1ql client
2023/03/28 02:07:25 Scan 2 failed as expected with error: Index Not Found - cause: GSI index index_cdc not found.
2023/03/28 02:07:30 Created the secondary index index_cdc. Waiting for it become active
2023/03/28 02:07:30 Index is 803423330245393328 now active
2023/03/28 02:07:31 Using n1ql client
2023/03/28 02:07:31 Expected and Actual scan responses are the same
2023/03/28 02:07:31 (Inclusion 1) Lengths of expected and actual scan results are 5045 and 5045. Num of docs in bucket = 10402
2023/03/28 02:07:31 Using n1ql client
2023/03/28 02:07:31 Expected and Actual scan responses are the same
2023/03/28 02:07:31 (Inclusion 3) Lengths of expected and actual scan results are 5045 and 5045. Num of docs in bucket = 10402
--- PASS: TestCreateDropCreate (12.29s)
=== RUN   TestCreate2Drop1Scan2
2023/03/28 02:07:31 In TestCreate2Drop1Scan2()
2023/03/28 02:07:37 Created the secondary index index_i1. Waiting for it become active
2023/03/28 02:07:37 Index is 11018873965834651535 now active
2023/03/28 02:07:43 Created the secondary index index_i2. Waiting for it become active
2023/03/28 02:07:43 Index is 17987841829026464426 now active
2023/03/28 02:07:43 Using n1ql client
2023/03/28 02:07:43 Expected and Actual scan responses are the same
2023/03/28 02:07:43 Using n1ql client
2023/03/28 02:07:43 Expected and Actual scan responses are the same
2023/03/28 02:07:43 Dropping the secondary index index_i1
2023/03/28 02:07:43 Index dropped
2023/03/28 02:07:43 Using n1ql client
2023/03/28 02:07:43 Expected and Actual scan responses are the same
--- PASS: TestCreate2Drop1Scan2 (12.36s)
=== RUN   TestIndexNameCaseSensitivity
2023/03/28 02:07:43 In TestIndexNameCaseSensitivity()
2023/03/28 02:07:49 Created the secondary index index_age. Waiting for it become active
2023/03/28 02:07:49 Index is 13152582892725074327 now active
2023/03/28 02:07:49 Using n1ql client
2023/03/28 02:07:49 Expected and Actual scan responses are the same
2023/03/28 02:07:49 Using n1ql client
2023/03/28 02:07:49 Scan failed as expected with error: Index Not Found - cause: GSI index index_Age not found.
--- PASS: TestIndexNameCaseSensitivity (6.04s)
=== RUN   TestCreateDuplicateIndex
2023/03/28 02:07:49 In TestCreateDuplicateIndex()
2023/03/28 02:07:55 Created the secondary index index_di1. Waiting for it become active
2023/03/28 02:07:55 Index is 5629441961997499815 now active
2023/03/28 02:07:55 Index found:  index_di1
2023/03/28 02:07:55 Create failed as expected with error: Index index_di1 already exists.
--- PASS: TestCreateDuplicateIndex (6.02s)
=== RUN   TestDropNonExistingIndex
2023/03/28 02:07:55 In TestDropNonExistingIndex()
2023/03/28 02:07:55 Dropping the secondary index 123456
2023/03/28 02:07:55 Index drop failed as expected with error: Index does not exist.
--- PASS: TestDropNonExistingIndex (0.03s)
=== RUN   TestCreateIndexNonExistentBucket
2023/03/28 02:07:55 In TestCreateIndexNonExistentBucket()
2023-03-28T02:07:56.116+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.
2023-03-28T02:08:07.118+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.
2023/03/28 02:08:07 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 (11.51s)
=== RUN   TestScanWithNoTimeout
2023/03/28 02:08:07 Create an index on empty bucket, populate the bucket and Run a scan on the index
2023/03/28 02:08:07 Changing config key indexer.settings.scan_timeout to value 0
2023/03/28 02:08:07 Using n1ql client
2023/03/28 02:08:07 Expected and Actual scan responses are the same
--- PASS: TestScanWithNoTimeout (0.39s)
=== RUN   TestIndexingOnBinaryBucketMeta
2023/03/28 02:08:07 In TestIndexingOnBinaryBucketMeta()
2023/03/28 02:08:07 	 1. Populate a bucekt with binary docs and create indexs on the `id`, `cas` and `expiration` fields of Metadata
2023/03/28 02:08:07 	 2. Validate the test by comparing the items_count of indexes and the number of docs in the bucket for each of the fields
2023/03/28 02:08:10 Modified parameters of bucket default, responseBody: 
2023/03/28 02:08:10 Created bucket binaryBucket, responseBody: 
2023/03/28 02:08:29 Created the secondary index index_binary_meta_id. Waiting for it become active
2023/03/28 02:08:29 Index is 5793717554413721256 now active
2023/03/28 02:08:34 items_count stat is 10 for index index_binary_meta_id
2023/03/28 02:08:34 Dropping the secondary index index_binary_meta_id
2023/03/28 02:08:34 Index dropped
2023/03/28 02:08:37 Created the secondary index index_binary_meta_cas. Waiting for it become active
2023/03/28 02:08:37 Index is 14511845598326599251 now active
2023/03/28 02:08:42 items_count stat is 10 for index index_binary_meta_cas
2023/03/28 02:08:42 Dropping the secondary index index_binary_meta_cas
2023/03/28 02:08:42 Index dropped
2023/03/28 02:08:45 Created the secondary index index_binary_meta_expiration. Waiting for it become active
2023/03/28 02:08:45 Index is 18051197700408253575 now active
2023/03/28 02:08:50 items_count stat is 10 for index index_binary_meta_expiration
2023/03/28 02:08:50 Dropping the secondary index index_binary_meta_expiration
2023/03/28 02:08:50 Index dropped
2023/03/28 02:08:52 Deleted bucket binaryBucket, responseBody: 
2023/03/28 02:08:55 Modified parameters of bucket default, responseBody: 
--- PASS: TestIndexingOnBinaryBucketMeta (63.19s)
=== RUN   TestRetainDeleteXATTRBinaryDocs
2023/03/28 02:09:10 In TestRetainDeleteXATTRBinaryDocs()
2023/03/28 02:09:10 	 1. Populate a bucket with binary docs having system XATTRS
2023/03/28 02:09:10 	 2. Create index on the system XATTRS with "retain_deleted_xattr" attribute set to true
2023/03/28 02:09:10 	 3. Delete the documents in the bucket
2023/03/28 02:09:10 	 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
2023/03/28 02:09:13 Modified parameters of bucket default, responseBody: 
2023/03/28 02:09:13 Created bucket binaryBucket, responseBody: 
2023/03/28 02:09:32 Created the secondary index index_system_xattr. Waiting for it become active
2023/03/28 02:09:32 Index is 3843364844528653595 now active
2023/03/28 02:09:37 Deleted all the documents in the bucket: binaryBucket successfully
2023/03/28 02:09:40 Deleted bucket binaryBucket, responseBody: 
2023/03/28 02:09:43 Modified parameters of bucket default, responseBody: 
--- PASS: TestRetainDeleteXATTRBinaryDocs (47.42s)
=== RUN   TestIndexingOnXATTRs
2023/03/28 02:09:58 In TestIndexingOnXATTRs()
2023/03/28 02:10:01 Modified parameters of bucket default, responseBody: 
2023/03/28 02:10:01 Created bucket bucket_xattrs, responseBody: 
2023/03/28 02:10:20 Created the secondary index index_sync_rev. Waiting for it become active
2023/03/28 02:10:20 Index is 15154385067763447459 now active
2023/03/28 02:10:27 Created the secondary index index_sync_channels. Waiting for it become active
2023/03/28 02:10:27 Index is 9749791257364515711 now active
2023/03/28 02:10:33 Created the secondary index index_sync_sequence. Waiting for it become active
2023/03/28 02:10:33 Index is 5306182428345484144 now active
2023/03/28 02:10:38 items_count stat is 100 for index index_sync_rev
2023/03/28 02:10:38 items_count stat is 100 for index index_sync_channels
2023/03/28 02:10:38 items_count stat is 100 for index index_sync_sequence
2023/03/28 02:10:38 Using n1ql client
2023-03-28T02:10:38.278+05:30 [Info] GSIC[default/bucket_xattrs-_default-_default-1679949638274159727] started ...
2023/03/28 02:10:38 Dropping the secondary index index_sync_rev
2023/03/28 02:10:38 Index dropped
2023/03/28 02:10:38 Using n1ql client
2023/03/28 02:10:38 Dropping the secondary index index_sync_channels
2023/03/28 02:10:38 Index dropped
2023/03/28 02:10:38 Using n1ql client
2023/03/28 02:10:38 Dropping the secondary index index_sync_sequence
2023/03/28 02:10:38 Index dropped
2023/03/28 02:10:40 Deleted bucket bucket_xattrs, responseBody: 
2023/03/28 02:10:43 Modified parameters of bucket default, responseBody: 
--- PASS: TestIndexingOnXATTRs (60.14s)
=== RUN   TestSimpleIndex_FloatDataType
2023/03/28 02:10:58 In TestSimpleIndex_FloatDataType()
2023/03/28 02:10:58 Index found:  index_age
2023/03/28 02:10:58 Using n1ql client
2023/03/28 02:10:58 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_FloatDataType (0.07s)
=== RUN   TestSimpleIndex_StringDataType
2023/03/28 02:10:58 In TestSimpleIndex_StringDataType()
2023/03/28 02:11:02 Created the secondary index index_company. Waiting for it become active
2023/03/28 02:11:02 Index is 13382315508933725535 now active
2023/03/28 02:11:02 Using n1ql client
2023/03/28 02:11:02 Expected and Actual scan responses are the same
2023/03/28 02:11:02 Using n1ql client
2023/03/28 02:11:02 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_StringDataType (4.43s)
=== RUN   TestSimpleIndex_FieldValueCaseSensitivity
2023/03/28 02:11:02 In TestSimpleIndex_StringCaseSensitivity()
2023/03/28 02:11:02 Index found:  index_company
2023/03/28 02:11:02 Using n1ql client
2023/03/28 02:11:02 Expected and Actual scan responses are the same
2023/03/28 02:11:02 Using n1ql client
2023/03/28 02:11:02 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_FieldValueCaseSensitivity (0.06s)
=== RUN   TestSimpleIndex_BoolDataType
2023/03/28 02:11:02 In TestSimpleIndex_BoolDataType()
2023/03/28 02:11:08 Created the secondary index index_isActive. Waiting for it become active
2023/03/28 02:11:08 Index is 7433515038352632727 now active
2023/03/28 02:11:09 Using n1ql client
2023/03/28 02:11:09 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_BoolDataType (6.25s)
=== RUN   TestBasicLookup
2023/03/28 02:11:09 In TestBasicLookup()
2023/03/28 02:11:09 Index found:  index_company
2023/03/28 02:11:09 Using n1ql client
2023/03/28 02:11:09 Expected and Actual scan responses are the same
--- PASS: TestBasicLookup (0.01s)
=== RUN   TestIndexOnNonExistentField
2023/03/28 02:11:09 In TestIndexOnNonExistentField()
2023/03/28 02:11:15 Created the secondary index index_height. Waiting for it become active
2023/03/28 02:11:15 Index is 3730660059465957506 now active
2023/03/28 02:11:15 Using n1ql client
2023/03/28 02:11:15 Expected and Actual scan responses are the same
--- PASS: TestIndexOnNonExistentField (6.17s)
=== RUN   TestIndexPartiallyMissingField
2023/03/28 02:11:15 In TestIndexPartiallyMissingField()
2023/03/28 02:11:21 Created the secondary index index_nationality. Waiting for it become active
2023/03/28 02:11:21 Index is 6340219923539868255 now active
2023/03/28 02:11:21 Using n1ql client
2023/03/28 02:11:21 Expected and Actual scan responses are the same
--- PASS: TestIndexPartiallyMissingField (6.30s)
=== RUN   TestScanNonMatchingDatatype
2023/03/28 02:11:21 In TestScanNonMatchingDatatype()
2023/03/28 02:11:21 Index found:  index_age
2023/03/28 02:11:21 Using n1ql client
2023/03/28 02:11:21 Expected and Actual scan responses are the same
--- PASS: TestScanNonMatchingDatatype (0.02s)
=== RUN   TestInclusionNeither
2023/03/28 02:11:21 In TestInclusionNeither()
2023/03/28 02:11:21 Index found:  index_age
2023/03/28 02:11:21 Using n1ql client
2023/03/28 02:11:21 Expected and Actual scan responses are the same
--- PASS: TestInclusionNeither (0.04s)
=== RUN   TestInclusionLow
2023/03/28 02:11:21 In TestInclusionLow()
2023/03/28 02:11:21 Index found:  index_age
2023/03/28 02:11:21 Using n1ql client
2023/03/28 02:11:21 Expected and Actual scan responses are the same
--- PASS: TestInclusionLow (0.03s)
=== RUN   TestInclusionHigh
2023/03/28 02:11:21 In TestInclusionHigh()
2023/03/28 02:11:21 Index found:  index_age
2023/03/28 02:11:21 Using n1ql client
2023/03/28 02:11:21 Expected and Actual scan responses are the same
--- PASS: TestInclusionHigh (0.02s)
=== RUN   TestInclusionBoth
2023/03/28 02:11:21 In TestInclusionBoth()
2023/03/28 02:11:21 Index found:  index_age
2023/03/28 02:11:21 Using n1ql client
2023/03/28 02:11:21 Expected and Actual scan responses are the same
--- PASS: TestInclusionBoth (0.02s)
=== RUN   TestNestedIndex_String
2023/03/28 02:11:21 In TestNestedIndex_String()
2023/03/28 02:11:27 Created the secondary index index_streetname. Waiting for it become active
2023/03/28 02:11:27 Index is 5709439503820561773 now active
2023/03/28 02:11:28 Using n1ql client
2023/03/28 02:11:28 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_String (6.37s)
=== RUN   TestNestedIndex_Float
2023/03/28 02:11:28 In TestNestedIndex_Float()
2023/03/28 02:11:34 Created the secondary index index_floor. Waiting for it become active
2023/03/28 02:11:34 Index is 8212849757281862382 now active
2023/03/28 02:11:34 Using n1ql client
2023/03/28 02:11:34 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_Float (6.31s)
=== RUN   TestNestedIndex_Bool
2023/03/28 02:11:34 In TestNestedIndex_Bool()
2023/03/28 02:11:40 Created the secondary index index_isresidential. Waiting for it become active
2023/03/28 02:11:40 Index is 3172346049771609627 now active
2023/03/28 02:11:40 Using n1ql client
2023/03/28 02:11:40 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_Bool (6.28s)
=== RUN   TestLookupJsonObject
2023/03/28 02:11:40 In TestLookupJsonObject()
2023/03/28 02:11:46 Created the secondary index index_streetaddress. Waiting for it become active
2023/03/28 02:11:46 Index is 917612539217081964 now active
2023/03/28 02:11:46 Using n1ql client
2023/03/28 02:11:47 Count of docScanResults is 1
2023/03/28 02:11:47 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2023/03/28 02:11:47 Count of scanResults is 1
2023/03/28 02:11:47 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2023/03/28 02:11:47 Expected and Actual scan responses are the same
--- PASS: TestLookupJsonObject (6.38s)
=== RUN   TestLookupObjDifferentOrdering
2023/03/28 02:11:47 In TestLookupObjDifferentOrdering()
2023/03/28 02:11:47 Index found:  index_streetaddress
2023/03/28 02:11:47 Using n1ql client
2023/03/28 02:11:47 Count of docScanResults is 1
2023/03/28 02:11:47 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2023/03/28 02:11:47 Count of scanResults is 1
2023/03/28 02:11:47 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2023/03/28 02:11:47 Expected and Actual scan responses are the same
--- PASS: TestLookupObjDifferentOrdering (0.02s)
=== RUN   TestRangeJsonObject
2023/03/28 02:11:47 In TestRangeJsonObject()
2023/03/28 02:11:47 Index found:  index_streetaddress
2023/03/28 02:11:47 Using n1ql client
2023/03/28 02:11:47 Count of scanResults is 2
2023/03/28 02:11:47 Key: string Userbb48952f-f8d1-4e04-a0e1-96b9019706fb  Value: value.Values [{"buildingname":"Rosewood Gardens","doornumber":"514","floor":2,"streetname":"Karweg Place"}] false
2023/03/28 02:11:47 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2023/03/28 02:11:47 Count of docScanResults is 2
2023/03/28 02:11:47 Key: Userbb48952f-f8d1-4e04-a0e1-96b9019706fb  Value: [map[buildingname:Rosewood Gardens doornumber:514 floor:2 streetname:Karweg Place]]
2023/03/28 02:11:47 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2023/03/28 02:11:47 Expected and Actual scan responses are the same
--- PASS: TestRangeJsonObject (0.00s)
=== RUN   TestLookupFloatDiffForms
2023/03/28 02:11:47 In TestLookupFloatDiffForms()
2023/03/28 02:11:53 Created the secondary index index_latitude. Waiting for it become active
2023/03/28 02:11:53 Index is 5119964835070488920 now active
2023/03/28 02:11:53 Scan 1
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 2
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 3
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 4
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 5
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 6
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
--- PASS: TestLookupFloatDiffForms (6.50s)
=== RUN   TestRangeFloatInclVariations
2023/03/28 02:11:53 In TestRangeFloatInclVariations()
2023/03/28 02:11:53 Index found:  index_latitude
2023/03/28 02:11:53 Scan 1
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 2
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 3
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 4
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 5
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
2023/03/28 02:11:53 Scan 6
2023/03/28 02:11:53 Using n1ql client
2023/03/28 02:11:53 Expected and Actual scan responses are the same
--- PASS: TestRangeFloatInclVariations (0.03s)
=== RUN   TestScanAll
2023/03/28 02:11:53 In TestScanAll()
2023/03/28 02:11:59 Created the secondary index index_name. Waiting for it become active
2023/03/28 02:11:59 Index is 8297888282423708095 now active
2023/03/28 02:11:59 Length of docScanResults = 10502
2023/03/28 02:11:59 Using n1ql client
2023/03/28 02:11:59 Length of scanResults = 10502
2023/03/28 02:11:59 Expected and Actual scan responses are the same
--- PASS: TestScanAll (6.37s)
=== RUN   TestScanAllNestedField
2023/03/28 02:11:59 In TestScanAllNestedField()
2023/03/28 02:11:59 Index found:  index_streetname
2023/03/28 02:11:59 Length of docScanResults = 2
2023/03/28 02:11:59 Using n1ql client
2023/03/28 02:11:59 Length of scanResults = 2
2023/03/28 02:11:59 Expected and Actual scan responses are the same
--- PASS: TestScanAllNestedField (0.02s)
=== RUN   TestBasicPrimaryIndex
2023/03/28 02:11:59 In TestBasicPrimaryIndex()
2023/03/28 02:12:06 Created the secondary index index_p1. Waiting for it become active
2023/03/28 02:12:06 Index is 17529971935215861528 now active
2023-03-28T02:12:06.938+05:30 [Error] transport error between 127.0.0.1:53344->127.0.0.1:9107: write tcp 127.0.0.1:53344->127.0.0.1:9107: write: broken pipe
2023-03-28T02:12:06.938+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:53344->127.0.0.1:9107: write: broken pipe`
2023-03-28T02:12:06.939+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2023-03-28T02:12:06.939+05:30 [Error] metadataClient:PickRandom: Replicas - [8577290282453927393], PrunedReplica - map[], FilteredReplica map[]
2023/03/28 02:12:07 Expected and Actual scan responses are the same
2023/03/28 02:12:07 CountRange() expected and actual is:  1889 and 1889
2023/03/28 02:12:07 lookupkey for CountLookup() = Userb91eef40-4ce2-4c58-94db-e032ea6a8373
2023/03/28 02:12:07 CountLookup() = 1
--- PASS: TestBasicPrimaryIndex (7.10s)
=== RUN   TestBasicNullDataType
2023/03/28 02:12:07 In TestBasicNullDataType()
2023/03/28 02:12:07 Index found:  index_email
2023/03/28 02:12:07 Using n1ql client
2023/03/28 02:12:07 Expected and Actual scan responses are the same
--- PASS: TestBasicNullDataType (0.01s)
=== RUN   TestBasicArrayDataType_ScanAll
2023/03/28 02:12:07 In TestBasicArrayDataType_ScanAll()
2023/03/28 02:12:13 Created the secondary index index_tags. Waiting for it become active
2023/03/28 02:12:13 Index is 11788544494245045556 now active
2023/03/28 02:12:13 Using n1ql client
2023/03/28 02:12:13 Expected and Actual scan responses are the same
--- PASS: TestBasicArrayDataType_ScanAll (6.87s)
=== RUN   TestBasicArrayDataType_Lookup
2023/03/28 02:12:13 In TestBasicArrayDataType_Lookup()
2023/03/28 02:12:15 Index found:  index_tags
2023/03/28 02:12:15 Count of scanResults is 1
2023/03/28 02:12:15 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
2023/03/28 02:12:15 In TestArrayDataType_LookupMissingArrayValue()
2023/03/28 02:12:15 Index found:  index_tags
2023/03/28 02:12:15 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupMissingArrayValue (0.00s)
=== RUN   TestArrayDataType_LookupWrongOrder
2023/03/28 02:12:15 In TestArrayDataType_LookupWrongOrder()
2023/03/28 02:12:15 Index found:  index_tags
2023/03/28 02:12:15 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupWrongOrder (0.00s)
=== RUN   TestArrayDataType_LookupSubset
2023/03/28 02:12:15 In TestArrayDataType_LookupSubset()
2023/03/28 02:12:15 Index found:  index_tags
2023/03/28 02:12:15 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupSubset (0.00s)
=== RUN   TestScanLimitParameter
2023/03/28 02:12:15 In TestScanLimitParameter()
2023/03/28 02:12:15 Index found:  index_age
2023/03/28 02:12:15 Using n1ql client
2023/03/28 02:12:15 Using n1ql client
--- PASS: TestScanLimitParameter (0.01s)
=== RUN   TestCountRange
2023/03/28 02:12:15 In TestRangeCount()
2023/03/28 02:12:15 Index found:  index_age
2023/03/28 02:12:15 Count of expected and actual Range is:  2398 and 2398
2023/03/28 02:12:15 Count of expected and actual Range is: 10002 and 10002
2023/03/28 02:12:15 Count of expected and actual Range are: 0 and 0
2023/03/28 02:12:15 Count of expected and actual Range are: 487 and 487
2023/03/28 02:12:15 Testing CountRange() for key <= val
2023/03/28 02:12:15 Count of expected and actual CountRange for key <= 30 are: 5229 and 5229
2023/03/28 02:12:15 Testing CountRange() for key >= val
2023/03/28 02:12:15 Count of expected and actual CountRange for key >= 25 are: 7688 and 7688
2023/03/28 02:12:15 Testing CountRange() for null < key <= val
2023/03/28 02:12:15 Count of expected and actual CountRange for key > null && key <= 30 are: 5229 and 5229
2023/03/28 02:12:15 Testing CountRange() for val <= key < null 
2023/03/28 02:12:16 Count of expected and actual CountRange for key >= 25 && key < null are: 0 and 0
2023/03/28 02:12:16 Count of expected and actual Range are: 0 and 0
--- PASS: TestCountRange (0.06s)
=== RUN   TestCountLookup
2023/03/28 02:12:16 In TestCountLookup()
2023/03/28 02:12:16 Index found:  index_age
2023/03/28 02:12:16 Count of expected and actual Range are: 507 and 507
2023/03/28 02:12:16 Count of expected and actual Range are: 0 and 0
--- PASS: TestCountLookup (0.01s)
=== RUN   TestRangeStatistics
2023/03/28 02:12:16 In TestRangeCount()
2023/03/28 02:12:16 Index found:  index_age
--- PASS: TestRangeStatistics (0.00s)
=== RUN   TestIndexCreateWithWhere
2023/03/28 02:12:16 In TestIndexCreateWithWhere()
2023/03/28 02:12:20 Created the secondary index index_ageabove30. Waiting for it become active
2023/03/28 02:12:20 Index is 14939631651371293816 now active
2023/03/28 02:12:20 Using n1ql client
2023/03/28 02:12:20 Expected and Actual scan responses are the same
2023/03/28 02:12:20 Lengths of expected and actual scanReuslts are:  4286 and 4286
2023/03/28 02:12:26 Created the secondary index index_ageteens. Waiting for it become active
2023/03/28 02:12:26 Index is 11484488040662693891 now active
2023/03/28 02:12:26 Using n1ql client
2023/03/28 02:12:26 Expected and Actual scan responses are the same
2023/03/28 02:12:26 Lengths of expected and actual scanReuslts are:  0 and 0
2023/03/28 02:12:33 Created the secondary index index_age35to45. Waiting for it become active
2023/03/28 02:12:33 Index is 4445520764339793133 now active
2023/03/28 02:12:33 Using n1ql client
2023/03/28 02:12:33 Expected and Actual scan responses are the same
2023/03/28 02:12:33 Lengths of expected and actual scanReuslts are:  2885 and 2885
--- PASS: TestIndexCreateWithWhere (17.36s)
=== RUN   TestDeferredIndexCreate
2023/03/28 02:12:33 In TestDeferredIndexCreate()
2023/03/28 02:12:33 Created the index index_deferred in deferred mode. Index state is INDEX_STATE_READY
2023/03/28 02:12:35 Build the deferred index index_deferred. Waiting for the index to become active
2023/03/28 02:12:35 Waiting for index 3861270289027242265 to go active ...
2023/03/28 02:12:36 Waiting for index 3861270289027242265 to go active ...
2023/03/28 02:12:37 Waiting for index 3861270289027242265 to go active ...
2023/03/28 02:12:38 Waiting for index 3861270289027242265 to go active ...
2023/03/28 02:12:39 Waiting for index 3861270289027242265 to go active ...
2023/03/28 02:12:40 Index is 3861270289027242265 now active
2023/03/28 02:12:40 Using n1ql client
2023/03/28 02:12:40 Expected and Actual scan responses are the same
--- PASS: TestDeferredIndexCreate (7.11s)
=== RUN   TestCompositeIndex_NumAndString
2023/03/28 02:12:40 In TestCompositeIndex()
2023/03/28 02:12:46 Created the secondary index index_composite1. Waiting for it become active
2023/03/28 02:12:46 Index is 7813568068314513709 now active
2023/03/28 02:12:46 Using n1ql client
2023/03/28 02:12:47 Using n1ql client
2023/03/28 02:12:47 Using n1ql client
2023/03/28 02:12:47 Expected and Actual scan responses are the same
--- PASS: TestCompositeIndex_NumAndString (6.56s)
=== RUN   TestCompositeIndex_TwoNumberFields
2023/03/28 02:12:47 In TestCompositeIndex()
2023/03/28 02:12:53 Created the secondary index index_composite2. Waiting for it become active
2023/03/28 02:12:53 Index is 7663995498875830488 now active
2023/03/28 02:12:53 Using n1ql client
--- PASS: TestCompositeIndex_TwoNumberFields (6.57s)
=== RUN   TestNumbers_Int64_Float64
2023/03/28 02:12:53 In TestNumbers_Int64_Float64()
2023/03/28 02:12:59 Created the secondary index idx_numbertest. Waiting for it become active
2023/03/28 02:12:59 Index is 5751626997383691660 now active
2023/03/28 02:12:59 
 ==== Int64 test #0
2023/03/28 02:12:59 Using n1ql client
2023/03/28 02:12:59 Expected and Actual scan responses are the same
2023/03/28 02:12:59 
 ==== Int64 test #1
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Int64 test #2
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Int64 test #3
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Int64 test #4
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Int64 test #5
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Int64 test #6
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Int64 test #7
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Int64 test #8
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Float64 test #0
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Float64 test #1
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Float64 test #2
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
2023/03/28 02:13:00 
 ==== Float64 test #3
2023/03/28 02:13:00 Using n1ql client
2023/03/28 02:13:00 Expected and Actual scan responses are the same
--- PASS: TestNumbers_Int64_Float64 (7.16s)
=== RUN   TestRestartIndexer
2023/03/28 02:13:00 In TestRestartIndexer()
2023/03/28 02:13:00 []
2023-03-28T02:13:00.834+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023-03-28T02:13:00.834+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023/03/28 02:13:20 Using n1ql client
2023-03-28T02:13:20.807+05:30 [Error] transport error between 127.0.0.1:55796->127.0.0.1:9107: write tcp 127.0.0.1:55796->127.0.0.1:9107: write: broken pipe
2023-03-28T02:13:20.808+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -9067971987941067226 request transport failed `write tcp 127.0.0.1:55796->127.0.0.1:9107: write: broken pipe`
2023/03/28 02:13:20 Len of expected and actual scan results are :  10002 and 10002
2023/03/28 02:13:20 Expected and Actual scan responses are the same
--- PASS: TestRestartIndexer (20.09s)
=== RUN   TestCreateDocsMutation
2023/03/28 02:13:20 In TestCreateDocsMutation()
2023/03/28 02:13:20 Index found:  index_age
2023/03/28 02:13:20 Using n1ql client
2023/03/28 02:13:20 Len of expected and actual scan results are :  10002 and 10002
2023/03/28 02:13:20 Expected and Actual scan responses are the same
2023/03/28 02:13:21 Using n1ql client
2023/03/28 02:13:21 Index Scan after mutations took 51.886061ms
2023/03/28 02:13:21 Len of expected and actual scan results are :  10102 and 10102
2023/03/28 02:13:21 Expected and Actual scan responses are the same
--- PASS: TestCreateDocsMutation (0.36s)
=== RUN   TestRestartProjector
2023/03/28 02:13:21 In TestRestartProjector()
2023/03/28 02:13:21 []
2023/03/28 02:13:41 Using n1ql client
2023/03/28 02:13:41 Len of expected and actual scan results are :  10102 and 10102
2023/03/28 02:13:41 Expected and Actual scan responses are the same
--- PASS: TestRestartProjector (20.09s)
=== RUN   TestDeleteDocsMutation
2023/03/28 02:13:41 In TestDeleteDocsMutation()
2023/03/28 02:13:41 Index found:  index_age
2023/03/28 02:13:41 Using n1ql client
2023/03/28 02:13:41 Len of expected and actual scan results are :  10102 and 10102
2023/03/28 02:13:41 Expected and Actual scan responses are the same
2023/03/28 02:13:41 Using n1ql client
2023/03/28 02:13:41 Index Scan after mutations took 53.557375ms
2023/03/28 02:13:41 Len of expected and actual scan results are :  9902 and 9902
2023/03/28 02:13:41 Expected and Actual scan responses are the same
--- PASS: TestDeleteDocsMutation (0.39s)
=== RUN   TestUpdateDocsMutation
2023/03/28 02:13:41 In TestUpdateDocsMutation()
2023/03/28 02:13:41 Index found:  index_age
2023/03/28 02:13:41 Using n1ql client
2023/03/28 02:13:41 Len of expected and actual scan results are :  9440 and 9440
2023/03/28 02:13:41 Expected and Actual scan responses are the same
2023/03/28 02:13:41 Num of keysFromMutDocs: 100
2023/03/28 02:13:41 Updating number of documents: 100
2023/03/28 02:13:42 Using n1ql client
2023/03/28 02:13:42 Index Scan after mutations took 51.135839ms
2023/03/28 02:13:42 Len of expected and actual scan results are :  9446 and 9446
2023/03/28 02:13:42 Expected and Actual scan responses are the same
--- PASS: TestUpdateDocsMutation (0.39s)
=== RUN   TestLargeMutations
2023/03/28 02:13:42 In TestLargeMutations()
2023/03/28 02:13:42 In DropAllSecondaryIndexes()
2023/03/28 02:13:42 Index found:  index_nationality
2023/03/28 02:13:42 Dropped index index_nationality
2023/03/28 02:13:42 Index found:  index_i2
2023/03/28 02:13:42 Dropped index index_i2
2023/03/28 02:13:42 Index found:  index_floor
2023/03/28 02:13:42 Dropped index index_floor
2023/03/28 02:13:42 Index found:  index_p1
2023/03/28 02:13:42 Dropped index index_p1
2023/03/28 02:13:42 Index found:  index_company
2023/03/28 02:13:42 Dropped index index_company
2023/03/28 02:13:42 Index found:  index_deferred
2023/03/28 02:13:42 Dropped index index_deferred
2023/03/28 02:13:42 Index found:  index_name
2023/03/28 02:13:42 Dropped index index_name
2023/03/28 02:13:42 Index found:  index_isresidential
2023/03/28 02:13:42 Dropped index index_isresidential
2023/03/28 02:13:42 Index found:  index_composite1
2023/03/28 02:13:42 Dropped index index_composite1
2023/03/28 02:13:42 Index found:  index_state
2023/03/28 02:13:42 Dropped index index_state
2023/03/28 02:13:42 Index found:  index_ageteens
2023/03/28 02:13:42 Dropped index index_ageteens
2023/03/28 02:13:42 Index found:  index_composite2
2023/03/28 02:13:43 Dropped index index_composite2
2023/03/28 02:13:43 Index found:  index_isActive
2023/03/28 02:13:43 Dropped index index_isActive
2023/03/28 02:13:43 Index found:  index_latitude
2023/03/28 02:13:43 Dropped index index_latitude
2023/03/28 02:13:43 Index found:  idx_numbertest
2023/03/28 02:13:43 Dropped index idx_numbertest
2023/03/28 02:13:43 Index found:  index_eyeColor
2023/03/28 02:13:43 Dropped index index_eyeColor
2023/03/28 02:13:43 Index found:  index_streetname
2023/03/28 02:13:43 Dropped index index_streetname
2023/03/28 02:13:43 Index found:  index_email
2023/03/28 02:13:43 Dropped index index_email
2023/03/28 02:13:43 Index found:  index_tags
2023/03/28 02:13:43 Dropped index index_tags
2023/03/28 02:13:43 Index found:  index_age
2023/03/28 02:13:43 Dropped index index_age
2023/03/28 02:13:43 Index found:  index_streetaddress
2023/03/28 02:13:43 Dropped index index_streetaddress
2023/03/28 02:13:43 Index found:  index_age35to45
2023/03/28 02:13:43 Dropped index index_age35to45
2023/03/28 02:13:43 Index found:  index_ageabove30
2023/03/28 02:13:43 Dropped index index_ageabove30
2023/03/28 02:13:43 Index found:  idx_age
2023/03/28 02:13:43 Dropped index idx_age
2023/03/28 02:13:43 Index found:  index_gender
2023/03/28 02:13:43 Dropped index index_gender
2023/03/28 02:13:43 Index found:  index_cdc
2023/03/28 02:13:43 Dropped index index_cdc
2023/03/28 02:13:43 Index found:  index_longitude
2023/03/28 02:13:43 Dropped index index_longitude
2023/03/28 02:13:43 Index found:  index_pin
2023/03/28 02:13:44 Dropped index index_pin
2023/03/28 02:13:44 Index found:  index_di1
2023/03/28 02:13:44 Dropped index index_di1
2023/03/28 02:13:44 Index found:  index_balance
2023/03/28 02:13:44 Dropped index index_balance
2023/03/28 02:13:44 Index found:  index_height
2023/03/28 02:13:44 Dropped index index_height
2023/03/28 02:14:04 Created the secondary index indexmut_1. Waiting for it become active
2023/03/28 02:14:04 Index is 3863177983459427734 now active
2023/03/28 02:14:04 Using n1ql client
2023/03/28 02:14:04 Expected and Actual scan responses are the same
2023/03/28 02:14:04 Len of expected and actual scan results are :  29902 and 29902
2023/03/28 02:14:04 ITERATION 0
2023/03/28 02:14:21 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:14:21 Index is 4804037184271626108 now active
2023/03/28 02:14:22 Using n1ql client
2023/03/28 02:14:22 Expected and Actual scan responses are the same
2023/03/28 02:14:22 Len of expected and actual scan results are :  39902 and 39902
2023/03/28 02:14:22 Using n1ql client
2023/03/28 02:14:22 Expected and Actual scan responses are the same
2023/03/28 02:14:22 Len of expected and actual scan results are :  39902 and 39902
2023/03/28 02:14:22 Dropping the secondary index indexmut_2
2023/03/28 02:14:22 Index dropped
2023/03/28 02:14:22 ITERATION 1
2023/03/28 02:14:39 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:14:39 Index is 14278900972721018735 now active
2023/03/28 02:14:39 Using n1ql client
2023/03/28 02:14:39 Expected and Actual scan responses are the same
2023/03/28 02:14:39 Len of expected and actual scan results are :  49902 and 49902
2023/03/28 02:14:40 Using n1ql client
2023/03/28 02:14:40 Expected and Actual scan responses are the same
2023/03/28 02:14:40 Len of expected and actual scan results are :  49902 and 49902
2023/03/28 02:14:40 Dropping the secondary index indexmut_2
2023/03/28 02:14:40 Index dropped
2023/03/28 02:14:40 ITERATION 2
2023/03/28 02:14:57 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:14:57 Index is 17308397288211260136 now active
2023/03/28 02:14:57 Using n1ql client
2023/03/28 02:14:58 Expected and Actual scan responses are the same
2023/03/28 02:14:58 Len of expected and actual scan results are :  59902 and 59902
2023/03/28 02:14:58 Using n1ql client
2023/03/28 02:14:58 Expected and Actual scan responses are the same
2023/03/28 02:14:58 Len of expected and actual scan results are :  59902 and 59902
2023/03/28 02:14:58 Dropping the secondary index indexmut_2
2023/03/28 02:14:59 Index dropped
2023/03/28 02:14:59 ITERATION 3
2023/03/28 02:15:19 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:15:19 Index is 10865928022266955377 now active
2023/03/28 02:15:19 Using n1ql client
2023/03/28 02:15:20 Expected and Actual scan responses are the same
2023/03/28 02:15:20 Len of expected and actual scan results are :  69902 and 69902
2023/03/28 02:15:20 Using n1ql client
2023/03/28 02:15:21 Expected and Actual scan responses are the same
2023/03/28 02:15:21 Len of expected and actual scan results are :  69902 and 69902
2023/03/28 02:15:21 Dropping the secondary index indexmut_2
2023/03/28 02:15:21 Index dropped
2023/03/28 02:15:21 ITERATION 4
2023/03/28 02:15:39 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:15:39 Index is 10019218070948654539 now active
2023/03/28 02:15:39 Using n1ql client
2023/03/28 02:15:40 Expected and Actual scan responses are the same
2023/03/28 02:15:40 Len of expected and actual scan results are :  79902 and 79902
2023/03/28 02:15:40 Using n1ql client
2023/03/28 02:15:41 Expected and Actual scan responses are the same
2023/03/28 02:15:41 Len of expected and actual scan results are :  79902 and 79902
2023/03/28 02:15:41 Dropping the secondary index indexmut_2
2023/03/28 02:15:41 Index dropped
2023/03/28 02:15:41 ITERATION 5
2023/03/28 02:15:59 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:15:59 Index is 2044304109601081646 now active
2023/03/28 02:15:59 Using n1ql client
2023/03/28 02:16:00 Expected and Actual scan responses are the same
2023/03/28 02:16:00 Len of expected and actual scan results are :  89902 and 89902
2023/03/28 02:16:00 Using n1ql client
2023/03/28 02:16:01 Expected and Actual scan responses are the same
2023/03/28 02:16:01 Len of expected and actual scan results are :  89902 and 89902
2023/03/28 02:16:01 Dropping the secondary index indexmut_2
2023/03/28 02:16:01 Index dropped
2023/03/28 02:16:01 ITERATION 6
2023/03/28 02:16:21 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:16:21 Index is 7297263723492295277 now active
2023/03/28 02:16:21 Using n1ql client
2023/03/28 02:16:21 Expected and Actual scan responses are the same
2023/03/28 02:16:21 Len of expected and actual scan results are :  99902 and 99902
2023/03/28 02:16:22 Using n1ql client
2023/03/28 02:16:22 Expected and Actual scan responses are the same
2023/03/28 02:16:22 Len of expected and actual scan results are :  99902 and 99902
2023/03/28 02:16:22 Dropping the secondary index indexmut_2
2023/03/28 02:16:22 Index dropped
2023/03/28 02:16:22 ITERATION 7
2023/03/28 02:16:44 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:16:44 Index is 10313409061597249391 now active
2023/03/28 02:16:44 Using n1ql client
2023/03/28 02:16:45 Expected and Actual scan responses are the same
2023/03/28 02:16:45 Len of expected and actual scan results are :  109902 and 109902
2023/03/28 02:16:46 Using n1ql client
2023/03/28 02:16:48 Expected and Actual scan responses are the same
2023/03/28 02:16:48 Len of expected and actual scan results are :  109902 and 109902
2023/03/28 02:16:48 Dropping the secondary index indexmut_2
2023/03/28 02:16:48 Index dropped
2023/03/28 02:16:48 ITERATION 8
2023/03/28 02:17:09 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:17:09 Index is 8153506438655289188 now active
2023/03/28 02:17:09 Using n1ql client
2023/03/28 02:17:10 Expected and Actual scan responses are the same
2023/03/28 02:17:10 Len of expected and actual scan results are :  119902 and 119902
2023/03/28 02:17:10 Using n1ql client
2023/03/28 02:17:11 Expected and Actual scan responses are the same
2023/03/28 02:17:11 Len of expected and actual scan results are :  119902 and 119902
2023/03/28 02:17:11 Dropping the secondary index indexmut_2
2023/03/28 02:17:11 Index dropped
2023/03/28 02:17:11 ITERATION 9
2023/03/28 02:17:32 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:17:32 Index is 7441645479165580080 now active
2023/03/28 02:17:32 Using n1ql client
2023/03/28 02:17:33 Expected and Actual scan responses are the same
2023/03/28 02:17:33 Len of expected and actual scan results are :  129902 and 129902
2023/03/28 02:17:33 Using n1ql client
2023/03/28 02:17:34 Expected and Actual scan responses are the same
2023/03/28 02:17:34 Len of expected and actual scan results are :  129902 and 129902
2023/03/28 02:17:34 Dropping the secondary index indexmut_2
2023/03/28 02:17:34 Index dropped
2023/03/28 02:17:34 ITERATION 10
2023/03/28 02:17:57 Created the secondary index indexmut_2. Waiting for it become active
2023/03/28 02:17:57 Index is 12411720478080783675 now active
2023/03/28 02:17:58 Using n1ql client
2023/03/28 02:17:59 Expected and Actual scan responses are the same
2023/03/28 02:17:59 Len of expected and actual scan results are :  139902 and 139902
2023/03/28 02:17:59 Using n1ql client
2023/03/28 02:18:00 Expected and Actual scan responses are the same
2023/03/28 02:18:00 Len of expected and actual scan results are :  139902 and 139902
2023/03/28 02:18:00 Dropping the secondary index indexmut_2
2023/03/28 02:18:00 Index dropped
--- PASS: TestLargeMutations (258.50s)
=== RUN   TestPlanner
2023/03/28 02:18:00 In TestPlanner()
2023/03/28 02:18:00 -------------------------------------------
2023/03/28 02:18:00 initial placement - 20-50M, 10 index, 3 replica, 2x
2023-03-28T02:18:00.594+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T02:18:00.594+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T02:18:00.594+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:00.599+05:30 [Info] switched currmeta from 482 -> 482 force true 
2023-03-28T02:18:00.599+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T02:18:00.600+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T02:18:00.604+05:30 [Info] switched currmeta from 476 -> 478 force true 
2023-03-28T02:18:00.604+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T02:18:00.604+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T02:18:00.606+05:30 [Info] switched currmeta from 482 -> 482 force true 
2023-03-28T02:18:00.612+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T02:18:00.613+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T02:18:00.615+05:30 [Info] switched currmeta from 478 -> 478 force true 
2023-03-28T02:18:00.702+05:30 [Info] Score: 0.014033557146583943
2023-03-28T02:18:00.702+05:30 [Info] Memory Quota: 57370540548 (53.4305G)
2023-03-28T02:18:00.702+05:30 [Info] CPU Quota: 12
2023-03-28T02:18:00.702+05:30 [Info] Indexer Memory Mean 37449811989 (34.8779G)
2023-03-28T02:18:00.702+05:30 [Info] Indexer Memory Deviation 1051108153 (1002.41M) (2.81%)
2023-03-28T02:18:00.702+05:30 [Info] Indexer Memory Utilization 0.6528
2023-03-28T02:18:00.702+05:30 [Info] Indexer CPU Mean 10.8812
2023-03-28T02:18:00.702+05:30 [Info] Indexer CPU Deviation 1.75 (16.07%)
2023-03-28T02:18:00.702+05:30 [Info] Indexer CPU Utilization 0.9068
2023-03-28T02:18:00.702+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:00.702+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:00.702+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:00.702+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:00.702+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:00.702+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:00.702+05:30 [Info] Indexer Data Size Mean 37449811989 (34.8779G)
2023-03-28T02:18:00.702+05:30 [Info] Indexer Data Size Deviation 1051108153 (1002.41M) (2.81%)
2023-03-28T02:18:00.702+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:00.702+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:00.702+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:00.702+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:00 -------------------------------------------
2023/03/28 02:18:00 initial placement - 20-50M, 30 index, 3 replica, 2x
2023-03-28T02:18:00.703+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:01.584+05:30 [Info] Score: 0.0389590065544047
2023-03-28T02:18:01.584+05:30 [Info] Memory Quota: 65331036826 (60.8443G)
2023-03-28T02:18:01.584+05:30 [Info] CPU Quota: 12
2023-03-28T02:18:01.584+05:30 [Info] Indexer Memory Mean 41495286555 (38.6455G)
2023-03-28T02:18:01.584+05:30 [Info] Indexer Memory Deviation 3233230281 (3.01118G) (7.79%)
2023-03-28T02:18:01.584+05:30 [Info] Indexer Memory Utilization 0.6352
2023-03-28T02:18:01.584+05:30 [Info] Indexer CPU Mean 11.5705
2023-03-28T02:18:01.584+05:30 [Info] Indexer CPU Deviation 3.63 (31.37%)
2023-03-28T02:18:01.584+05:30 [Info] Indexer CPU Utilization 0.9642
2023-03-28T02:18:01.584+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:01.584+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:01.584+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:01.584+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:01.584+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:01.584+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:01.584+05:30 [Info] Indexer Data Size Mean 41495286555 (38.6455G)
2023-03-28T02:18:01.584+05:30 [Info] Indexer Data Size Deviation 3233230281 (3.01118G) (7.79%)
2023-03-28T02:18:01.584+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:01.585+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:01.585+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:01.585+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:01 -------------------------------------------
2023/03/28 02:18:01 initial placement - 20-50M, 30 index, 3 replica, 4x
2023-03-28T02:18:01.585+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:01.926+05:30 [Info] Score: 0.01487011324007139
2023-03-28T02:18:01.927+05:30 [Info] Memory Quota: 134618676160 (125.373G)
2023-03-28T02:18:01.927+05:30 [Info] CPU Quota: 24
2023-03-28T02:18:01.927+05:30 [Info] Indexer Memory Mean 84465898022 (78.665G)
2023-03-28T02:18:01.927+05:30 [Info] Indexer Memory Deviation 2512034937 (2.33951G) (2.97%)
2023-03-28T02:18:01.927+05:30 [Info] Indexer Memory Utilization 0.6274
2023-03-28T02:18:01.927+05:30 [Info] Indexer CPU Mean 25.1534
2023-03-28T02:18:01.927+05:30 [Info] Indexer CPU Deviation 3.20 (12.71%)
2023-03-28T02:18:01.927+05:30 [Info] Indexer CPU Utilization 1.0481
2023-03-28T02:18:01.927+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:01.927+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:01.927+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:01.927+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:01.927+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:01.927+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:01.927+05:30 [Info] Indexer Data Size Mean 84465898022 (78.665G)
2023-03-28T02:18:01.927+05:30 [Info] Indexer Data Size Deviation 2512034937 (2.33951G) (2.97%)
2023-03-28T02:18:01.927+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:01.927+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:01.927+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:01.927+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:01 -------------------------------------------
2023/03/28 02:18:01 initial placement - 200-500M, 10 index, 3 replica, 2x
2023-03-28T02:18:01.928+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:01.942+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2023-03-28T02:18:01.957+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T02:18:01.957+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T02:18:01.960+05:30 [Info] switched currmeta from 478 -> 478 force true 
2023-03-28T02:18:01.966+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T02:18:01.966+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T02:18:01.971+05:30 [Info] switched currmeta from 482 -> 482 force true 
2023-03-28T02:18:02.023+05:30 [Info] Score: 0.0318333879629825
2023-03-28T02:18:02.023+05:30 [Info] Memory Quota: 452274572550 (421.214G)
2023-03-28T02:18:02.023+05:30 [Info] CPU Quota: 12
2023-03-28T02:18:02.023+05:30 [Info] Indexer Memory Mean 339964373726 (316.616G)
2023-03-28T02:18:02.023+05:30 [Info] Indexer Memory Deviation 21644435604 (20.158G) (6.37%)
2023-03-28T02:18:02.024+05:30 [Info] Indexer Memory Utilization 0.7517
2023-03-28T02:18:02.024+05:30 [Info] Indexer CPU Mean 10.0115
2023-03-28T02:18:02.024+05:30 [Info] Indexer CPU Deviation 2.25 (22.49%)
2023-03-28T02:18:02.024+05:30 [Info] Indexer CPU Utilization 0.8343
2023-03-28T02:18:02.024+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:02.024+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:02.024+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:02.024+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:02.024+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:02.024+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:02.024+05:30 [Info] Indexer Data Size Mean 339964373726 (316.616G)
2023-03-28T02:18:02.024+05:30 [Info] Indexer Data Size Deviation 21644435604 (20.158G) (6.37%)
2023-03-28T02:18:02.024+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:02.025+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:02.025+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:02.025+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:02 -------------------------------------------
2023/03/28 02:18:02 initial placement - 200-500M, 30 index, 3 replica, 2x
2023-03-28T02:18:02.026+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:02.999+05:30 [Info] Score: 0.026075187137862943
2023-03-28T02:18:02.999+05:30 [Info] Memory Quota: 524613716984 (488.585G)
2023-03-28T02:18:02.999+05:30 [Info] CPU Quota: 12
2023-03-28T02:18:02.999+05:30 [Info] Indexer Memory Mean 405788092990 (377.92G)
2023-03-28T02:18:02.999+05:30 [Info] Indexer Memory Deviation 21162000926 (19.7086G) (5.22%)
2023-03-28T02:18:02.999+05:30 [Info] Indexer Memory Utilization 0.7735
2023-03-28T02:18:02.999+05:30 [Info] Indexer CPU Mean 11.4840
2023-03-28T02:18:02.999+05:30 [Info] Indexer CPU Deviation 2.91 (25.33%)
2023-03-28T02:18:02.999+05:30 [Info] Indexer CPU Utilization 0.9570
2023-03-28T02:18:02.999+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:02.999+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:02.999+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:02.999+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:02.999+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:02.999+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:02.999+05:30 [Info] Indexer Data Size Mean 405788092990 (377.92G)
2023-03-28T02:18:02.999+05:30 [Info] Indexer Data Size Deviation 21162000926 (19.7086G) (5.22%)
2023-03-28T02:18:02.999+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:02.999+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:02.999+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:02.999+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:02 -------------------------------------------
2023/03/28 02:18:02 initial placement - mixed small/medium, 30 index, 3 replica, 1.5/4x
2023-03-28T02:18:03.001+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:03.732+05:30 [Info] Score: 0.022226844225897074
2023-03-28T02:18:03.732+05:30 [Info] Memory Quota: 336120516484 (313.037G)
2023-03-28T02:18:03.732+05:30 [Info] CPU Quota: 16
2023-03-28T02:18:03.732+05:30 [Info] Indexer Memory Mean 255155540718 (237.632G)
2023-03-28T02:18:03.732+05:30 [Info] Indexer Memory Deviation 11342604913 (10.5636G) (4.45%)
2023-03-28T02:18:03.732+05:30 [Info] Indexer Memory Utilization 0.7591
2023-03-28T02:18:03.732+05:30 [Info] Indexer CPU Mean 7.2473
2023-03-28T02:18:03.732+05:30 [Info] Indexer CPU Deviation 2.96 (40.79%)
2023-03-28T02:18:03.732+05:30 [Info] Indexer CPU Utilization 0.4530
2023-03-28T02:18:03.732+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:03.732+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:03.732+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:03.732+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:03.732+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:03.732+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:03.732+05:30 [Info] Indexer Data Size Mean 255155540718 (237.632G)
2023-03-28T02:18:03.733+05:30 [Info] Indexer Data Size Deviation 11342604913 (10.5636G) (4.45%)
2023-03-28T02:18:03.733+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:03.733+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:03.733+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:03.733+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:03 -------------------------------------------
2023/03/28 02:18:03 initial placement - mixed all, 30 index, 3 replica, 1.5/4x
2023-03-28T02:18:03.733+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:04.092+05:30 [Info] Score: 0.008618633972698228
2023-03-28T02:18:04.092+05:30 [Info] Memory Quota: 384266771286 (357.876G)
2023-03-28T02:18:04.092+05:30 [Info] CPU Quota: 20
2023-03-28T02:18:04.092+05:30 [Info] Indexer Memory Mean 308346903613 (287.17G)
2023-03-28T02:18:04.092+05:30 [Info] Indexer Memory Deviation 5315058197 (4.95003G) (1.72%)
2023-03-28T02:18:04.092+05:30 [Info] Indexer Memory Utilization 0.8024
2023-03-28T02:18:04.092+05:30 [Info] Indexer CPU Mean 11.4133
2023-03-28T02:18:04.092+05:30 [Info] Indexer CPU Deviation 3.11 (27.28%)
2023-03-28T02:18:04.092+05:30 [Info] Indexer CPU Utilization 0.5707
2023-03-28T02:18:04.092+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.092+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.092+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.092+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.092+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.092+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.092+05:30 [Info] Indexer Data Size Mean 308346903613 (287.17G)
2023-03-28T02:18:04.092+05:30 [Info] Indexer Data Size Deviation 5315058197 (4.95003G) (1.72%)
2023-03-28T02:18:04.092+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.092+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.092+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.092+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 initial placement - 6 2M index, 1 replica, 2x
2023-03-28T02:18:04.102+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:04.117+05:30 [Info] Score: 0
2023-03-28T02:18:04.117+05:30 [Info] Memory Quota: 4848128000 (4.51517G)
2023-03-28T02:18:04.117+05:30 [Info] CPU Quota: 2
2023-03-28T02:18:04.117+05:30 [Info] Indexer Memory Mean 2080000000 (1.93715G)
2023-03-28T02:18:04.117+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.117+05:30 [Info] Indexer Memory Utilization 0.4290
2023-03-28T02:18:04.117+05:30 [Info] Indexer CPU Mean 1.2000
2023-03-28T02:18:04.117+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:04.117+05:30 [Info] Indexer CPU Utilization 0.6000
2023-03-28T02:18:04.117+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.117+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.117+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.117+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.117+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.117+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.117+05:30 [Info] Indexer Data Size Mean 2080000000 (1.93715G)
2023-03-28T02:18:04.117+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.117+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.117+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.117+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.117+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 initial placement - 5 20M primary index, 2 replica, 2x
2023-03-28T02:18:04.127+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:04.168+05:30 [Info] Score: 0
2023-03-28T02:18:04.168+05:30 [Info] Memory Quota: 14310128000 (13.3273G)
2023-03-28T02:18:04.168+05:30 [Info] CPU Quota: 2
2023-03-28T02:18:04.168+05:30 [Info] Indexer Memory Mean 10960000000 (10.2073G)
2023-03-28T02:18:04.168+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.168+05:30 [Info] Indexer Memory Utilization 0.7659
2023-03-28T02:18:04.168+05:30 [Info] Indexer CPU Mean 1.2000
2023-03-28T02:18:04.168+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:04.168+05:30 [Info] Indexer CPU Utilization 0.6000
2023-03-28T02:18:04.168+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.168+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.168+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.168+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.168+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.168+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.168+05:30 [Info] Indexer Data Size Mean 10960000000 (10.2073G)
2023-03-28T02:18:04.168+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.168+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.168+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.168+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.168+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 initial placement - 5 20M array index, 2 replica, 2x
2023-03-28T02:18:04.177+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:04.217+05:30 [Info] Score: 0
2023-03-28T02:18:04.217+05:30 [Info] Memory Quota: 237416768000 (221.112G)
2023-03-28T02:18:04.217+05:30 [Info] CPU Quota: 2
2023-03-28T02:18:04.217+05:30 [Info] Indexer Memory Mean 191440000000 (178.292G)
2023-03-28T02:18:04.217+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.217+05:30 [Info] Indexer Memory Utilization 0.8063
2023-03-28T02:18:04.217+05:30 [Info] Indexer CPU Mean 1.2000
2023-03-28T02:18:04.217+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:04.217+05:30 [Info] Indexer CPU Utilization 0.6000
2023-03-28T02:18:04.217+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.217+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.217+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.217+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.217+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.217+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.217+05:30 [Info] Indexer Data Size Mean 191440000000 (178.292G)
2023-03-28T02:18:04.217+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.217+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.217+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.217+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.217+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 initial placement - 3 replica constraint, 2 index, 2x
2023-03-28T02:18:04.221+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:04.263+05:30 [Info] Score: 0
2023-03-28T02:18:04.263+05:30 [Info] Memory Quota: 530294000 (505.728M)
2023-03-28T02:18:04.263+05:30 [Info] CPU Quota: 2
2023-03-28T02:18:04.263+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2023-03-28T02:18:04.263+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.263+05:30 [Info] Indexer Memory Utilization 0.0049
2023-03-28T02:18:04.263+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:04.263+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:04.263+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:04.263+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.263+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.263+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.263+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.263+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.263+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.263+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2023-03-28T02:18:04.263+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.263+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.263+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.263+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.263+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 incr placement - 20-50M, 5 2M index, 1 replica, 1x
2023-03-28T02:18:04.277+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.03177677223869018
2023-03-28T02:18:04.432+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:04.432+05:30 [Info] Score: 0.007189938568471697
2023-03-28T02:18:04.432+05:30 [Info] Memory Quota: 125233041042 (116.632G)
2023-03-28T02:18:04.432+05:30 [Info] CPU Quota: 27
2023-03-28T02:18:04.432+05:30 [Info] Indexer Memory Mean 71117238485 (66.2331G)
2023-03-28T02:18:04.432+05:30 [Info] Indexer Memory Deviation 1022657151 (975.282M) (1.44%)
2023-03-28T02:18:04.432+05:30 [Info] Indexer Memory Utilization 0.5679
2023-03-28T02:18:04.432+05:30 [Info] Indexer CPU Mean 20.1734
2023-03-28T02:18:04.432+05:30 [Info] Indexer CPU Deviation 1.87 (9.29%)
2023-03-28T02:18:04.432+05:30 [Info] Indexer CPU Utilization 0.7472
2023-03-28T02:18:04.432+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.432+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.432+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.432+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.432+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.432+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.432+05:30 [Info] Indexer Data Size Mean 71117238485 (66.2331G)
2023-03-28T02:18:04.432+05:30 [Info] Indexer Data Size Deviation 1022657151 (975.282M) (1.44%)
2023-03-28T02:18:04.432+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.432+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.432+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.432+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 incr placement - mixed small/medium, 6 2M index, 1 replica, 1x
2023-03-28T02:18:04.447+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0017989963328123902
2023-03-28T02:18:04.694+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:04.694+05:30 [Info] Score: 0.00043718596495524715
2023-03-28T02:18:04.694+05:30 [Info] Memory Quota: 536870912000 (500G)
2023-03-28T02:18:04.694+05:30 [Info] CPU Quota: 20
2023-03-28T02:18:04.694+05:30 [Info] Indexer Memory Mean 393025602195 (366.034G)
2023-03-28T02:18:04.694+05:30 [Info] Indexer Memory Deviation 343650554 (327.731M) (0.09%)
2023-03-28T02:18:04.694+05:30 [Info] Indexer Memory Utilization 0.7321
2023-03-28T02:18:04.694+05:30 [Info] Indexer CPU Mean 14.2305
2023-03-28T02:18:04.694+05:30 [Info] Indexer CPU Deviation 0.95 (6.65%)
2023-03-28T02:18:04.694+05:30 [Info] Indexer CPU Utilization 0.7115
2023-03-28T02:18:04.694+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.694+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.694+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.694+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.694+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.694+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.694+05:30 [Info] Indexer Data Size Mean 393025602195 (366.034G)
2023-03-28T02:18:04.695+05:30 [Info] Indexer Data Size Deviation 343650554 (327.731M) (0.09%)
2023-03-28T02:18:04.695+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.695+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.695+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.695+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 incr placement - 3 server group, 3 replica, 1x
2023-03-28T02:18:04.697+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.816496580927726
2023-03-28T02:18:04.724+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:04.724+05:30 [Info] Score: 0
2023-03-28T02:18:04.724+05:30 [Info] Memory Quota: 530294000 (505.728M)
2023-03-28T02:18:04.724+05:30 [Info] CPU Quota: 16
2023-03-28T02:18:04.724+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2023-03-28T02:18:04.724+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.724+05:30 [Info] Indexer Memory Utilization 0.0049
2023-03-28T02:18:04.724+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:04.724+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:04.724+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:04.724+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.724+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.724+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.724+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.724+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.724+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.724+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2023-03-28T02:18:04.724+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.724+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.724+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.724+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.724+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 incr placement - 2 server group, 3 replica, 1x
2023-03-28T02:18:04.726+05:30 [Warn] Index has more replica than server group. Index=index1 0 Bucket=bucket2 Scope= Collection=
2023-03-28T02:18:04.726+05:30 [Warn] Index has more replica than server group. Index=index1 0 (replica 1) Bucket=bucket2 Scope= Collection=
2023-03-28T02:18:04.726+05:30 [Warn] Index has more replica than server group. Index=index1 0 (replica 2) Bucket=bucket2 Scope= Collection=
2023-03-28T02:18:04.726+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:04.740+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:04.740+05:30 [Info] Score: 0
2023-03-28T02:18:04.740+05:30 [Info] Memory Quota: 530294000 (505.728M)
2023-03-28T02:18:04.740+05:30 [Info] CPU Quota: 16
2023-03-28T02:18:04.740+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2023-03-28T02:18:04.740+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.740+05:30 [Info] Indexer Memory Utilization 0.0049
2023-03-28T02:18:04.740+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:04.740+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:04.740+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:04.740+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.740+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.740+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.740+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.740+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.740+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.740+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2023-03-28T02:18:04.740+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:04.740+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:04.740+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:04.740+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:04.740+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 rebalance - 20-50M, 90 index, 20% shuffle, 1x, utilization 90%+
2023-03-28T02:18:04.742+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25699289007767484
2023-03-28T02:18:04.742+05:30 [Info] Planner::initial temperature: initial resource variation 0.25699289007767484 temp 0.025699289007767485
2023-03-28T02:18:04.931+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:04.931+05:30 [Info] Score: 0.21069128463152997
2023-03-28T02:18:04.931+05:30 [Info] Memory Quota: 139586437120 (130G)
2023-03-28T02:18:04.931+05:30 [Info] CPU Quota: 30
2023-03-28T02:18:04.931+05:30 [Info] Indexer Memory Mean 88876568718 (82.7728G)
2023-03-28T02:18:04.931+05:30 [Info] Indexer Memory Deviation 2805010280 (2.61237G) (3.16%)
2023-03-28T02:18:04.931+05:30 [Info] Indexer Memory Utilization 0.6367
2023-03-28T02:18:04.931+05:30 [Info] Indexer CPU Mean 24.0538
2023-03-28T02:18:04.931+05:30 [Info] Indexer CPU Deviation 2.74 (11.38%)
2023-03-28T02:18:04.931+05:30 [Info] Indexer CPU Utilization 0.8018
2023-03-28T02:18:04.931+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:04.931+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:04.931+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:04.931+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.931+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:04.931+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:04.931+05:30 [Info] Indexer Data Size Mean 88876568718 (82.7728G)
2023-03-28T02:18:04.931+05:30 [Info] Indexer Data Size Deviation 2805010280 (2.61237G) (3.16%)
2023-03-28T02:18:04.931+05:30 [Info] Total Index Data (from non-deleted node) 993.273G
2023-03-28T02:18:04.931+05:30 [Info] Index Data Moved (exclude new node) 413.363G (41.62%)
2023-03-28T02:18:04.931+05:30 [Info] No. Index (from non-deleted node) 90
2023-03-28T02:18:04.931+05:30 [Info] No. Index Moved (exclude new node) 35 (38.89%)
2023/03/28 02:18:04 -------------------------------------------
2023/03/28 02:18:04 rebalance - mixed small/medium, 90 index, 20% shuffle, 1x
2023-03-28T02:18:04.933+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.15694000530463995
2023-03-28T02:18:04.933+05:30 [Info] Planner::initial temperature: initial resource variation 0.15694000530463995 temp 0.015694000530463995
2023-03-28T02:18:04.990+05:30 [Info] connected with 1 indexers
2023-03-28T02:18:04.990+05:30 [Info] client stats current counts: current: 1, not current: 0
2023-03-28T02:18:05.003+05:30 [Info] num concurrent scans {0}
2023-03-28T02:18:05.003+05:30 [Info] average scan response {1 ms}
2023-03-28T02:18:05.199+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:05.199+05:30 [Info] Score: 0.18686510270796408
2023-03-28T02:18:05.200+05:30 [Info] Memory Quota: 536870912000 (500G)
2023-03-28T02:18:05.200+05:30 [Info] CPU Quota: 20
2023-03-28T02:18:05.200+05:30 [Info] Indexer Memory Mean 392505602195 (365.549G)
2023-03-28T02:18:05.200+05:30 [Info] Indexer Memory Deviation 30216812721 (28.1416G) (7.70%)
2023-03-28T02:18:05.200+05:30 [Info] Indexer Memory Utilization 0.7311
2023-03-28T02:18:05.200+05:30 [Info] Indexer CPU Mean 13.9305
2023-03-28T02:18:05.200+05:30 [Info] Indexer CPU Deviation 2.94 (21.10%)
2023-03-28T02:18:05.200+05:30 [Info] Indexer CPU Utilization 0.6965
2023-03-28T02:18:05.200+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:05.200+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:05.200+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:05.200+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:05.200+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:05.200+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:05.200+05:30 [Info] Indexer Data Size Mean 392505602195 (365.549G)
2023-03-28T02:18:05.200+05:30 [Info] Indexer Data Size Deviation 30216812721 (28.1416G) (7.70%)
2023-03-28T02:18:05.200+05:30 [Info] Total Index Data (from non-deleted node) 4.28378T
2023-03-28T02:18:05.200+05:30 [Info] Index Data Moved (exclude new node) 1.85008T (43.19%)
2023-03-28T02:18:05.200+05:30 [Info] No. Index (from non-deleted node) 90
2023-03-28T02:18:05.200+05:30 [Info] No. Index Moved (exclude new node) 19 (21.11%)
2023/03/28 02:18:05 -------------------------------------------
2023/03/28 02:18:05 rebalance - travel sample, 10% shuffle, 1x
2023-03-28T02:18:05.201+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.081608192724979
2023-03-28T02:18:05.201+05:30 [Info] Planner::initial temperature: initial resource variation 0.081608192724979 temp 0.0081608192724979
2023-03-28T02:18:05.209+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:05.210+05:30 [Info] Score: 0.02040204818124475
2023-03-28T02:18:05.210+05:30 [Info] Memory Quota: 536870912 (512M)
2023-03-28T02:18:05.210+05:30 [Info] CPU Quota: 8
2023-03-28T02:18:05.210+05:30 [Info] Indexer Memory Mean 17503138 (16.6923M)
2023-03-28T02:18:05.210+05:30 [Info] Indexer Memory Deviation 1428399 (1.36223M) (8.16%)
2023-03-28T02:18:05.210+05:30 [Info] Indexer Memory Utilization 0.0326
2023-03-28T02:18:05.210+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:05.210+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:05.210+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:05.210+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:05.210+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:05.210+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:05.210+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:05.210+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:05.210+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:05.210+05:30 [Info] Indexer Data Size Mean 0 (0)
2023-03-28T02:18:05.210+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:05.210+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:05.210+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:05.210+05:30 [Info] No. Index (from non-deleted node) 10
2023-03-28T02:18:05.210+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:05 -------------------------------------------
2023/03/28 02:18:05 rebalance - 20-50M, 90 index, swap 2, 1x
2023-03-28T02:18:05.212+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4095843409677649
2023-03-28T02:18:05.212+05:30 [Info] Planner::initial temperature: initial resource variation 0.4095843409677649 temp 0.04095843409677649
2023-03-28T02:18:05.494+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:05.494+05:30 [Info] Score: 0.013132935234912402
2023-03-28T02:18:05.494+05:30 [Info] Memory Quota: 139586437120 (130G)
2023-03-28T02:18:05.494+05:30 [Info] CPU Quota: 30
2023-03-28T02:18:05.494+05:30 [Info] Indexer Memory Mean 88876568718 (82.7728G)
2023-03-28T02:18:05.494+05:30 [Info] Indexer Memory Deviation 2334420441 (2.1741G) (2.63%)
2023-03-28T02:18:05.494+05:30 [Info] Indexer Memory Utilization 0.6367
2023-03-28T02:18:05.494+05:30 [Info] Indexer CPU Mean 24.0538
2023-03-28T02:18:05.494+05:30 [Info] Indexer CPU Deviation 1.15 (4.78%)
2023-03-28T02:18:05.494+05:30 [Info] Indexer CPU Utilization 0.8018
2023-03-28T02:18:05.494+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:05.494+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:05.494+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:05.494+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:05.494+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:05.494+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:05.494+05:30 [Info] Indexer Data Size Mean 88876568718 (82.7728G)
2023-03-28T02:18:05.494+05:30 [Info] Indexer Data Size Deviation 2334420441 (2.1741G) (2.63%)
2023-03-28T02:18:05.494+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:05.494+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:05.494+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:05.494+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:05 -------------------------------------------
2023/03/28 02:18:05 rebalance - mixed small/medium, 90 index, swap 2, 1x
2023-03-28T02:18:05.496+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4082556623939647
2023-03-28T02:18:05.496+05:30 [Info] Planner::initial temperature: initial resource variation 0.4082556623939647 temp 0.040825566239396475
2023-03-28T02:18:05.632+05:30 [Info] [Queryport-connpool:127.0.0.1:9107] active conns 0, free conns 1
2023-03-28T02:18:05.705+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:05.705+05:30 [Info] Score: 0.0011313148989414705
2023-03-28T02:18:05.705+05:30 [Info] Memory Quota: 536870912000 (500G)
2023-03-28T02:18:05.705+05:30 [Info] CPU Quota: 20
2023-03-28T02:18:05.705+05:30 [Info] Indexer Memory Mean 392505602195 (365.549G)
2023-03-28T02:18:05.705+05:30 [Info] Indexer Memory Deviation 888094871 (846.953M) (0.23%)
2023-03-28T02:18:05.705+05:30 [Info] Indexer Memory Utilization 0.7311
2023-03-28T02:18:05.705+05:30 [Info] Indexer CPU Mean 13.9305
2023-03-28T02:18:05.705+05:30 [Info] Indexer CPU Deviation 0.91 (6.53%)
2023-03-28T02:18:05.705+05:30 [Info] Indexer CPU Utilization 0.6965
2023-03-28T02:18:05.705+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:05.706+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:05.706+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:05.706+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:05.706+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:05.706+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:05.706+05:30 [Info] Indexer Data Size Mean 392505602195 (365.549G)
2023-03-28T02:18:05.706+05:30 [Info] Indexer Data Size Deviation 888094871 (846.953M) (0.23%)
2023-03-28T02:18:05.706+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:05.706+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:05.706+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:05.706+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:05 -------------------------------------------
2023/03/28 02:18:05 rebalance - travel sample, swap 2, 1x
2023-03-28T02:18:05.706+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1.0086622738872069
2023-03-28T02:18:05.706+05:30 [Info] Planner::initial temperature: initial resource variation 1.0086622738872069 temp 0.1008662273887207
2023-03-28T02:18:06.055+05:30 [Info] Score: 0.00031929273712825843
2023-03-28T02:18:06.055+05:30 [Info] Memory Quota: 536870912 (512M)
2023-03-28T02:18:06.055+05:30 [Info] CPU Quota: 8
2023-03-28T02:18:06.055+05:30 [Info] Indexer Memory Mean 17503138 (16.6923M)
2023-03-28T02:18:06.055+05:30 [Info] Indexer Memory Deviation 22354 (21.8301K) (0.13%)
2023-03-28T02:18:06.055+05:30 [Info] Indexer Memory Utilization 0.0326
2023-03-28T02:18:06.055+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:06.055+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:06.056+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:06.056+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:06.056+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:06.056+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:06.056+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.056+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:06.057+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.057+05:30 [Info] Indexer Data Size Mean 0 (0)
2023-03-28T02:18:06.057+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.057+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:06.057+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:06.057+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:06.057+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:06 -------------------------------------------
2023/03/28 02:18:06 rebalance - 8 identical index, add 4, 1x
2023-03-28T02:18:06.059+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1
2023-03-28T02:18:06.059+05:30 [Info] Planner::initial temperature: initial resource variation 1 temp 0.1
2023-03-28T02:18:06.060+05:30 [Info] connected with 1 indexers
2023-03-28T02:18:06.060+05:30 [Info] client stats current counts: current: 1, not current: 0
2023-03-28T02:18:06.063+05:30 [Info] num concurrent scans {0}
2023-03-28T02:18:06.063+05:30 [Info] average scan response {407 ms}
2023-03-28T02:18:06.067+05:30 [Info] GSIC[default/default-_default-_default-1679949186018068733] logstats "default" {"gsi_scan_count":109,"gsi_scan_duration":10856908169,"gsi_throttle_duration":964576185,"gsi_prime_duration":626782972,"gsi_blocked_duration":1678848809,"gsi_total_temp_files":0,"gsi_backfill_size":0}
2023-03-28T02:18:06.231+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:06.231+05:30 [Info] Score: 0.1875
2023-03-28T02:18:06.231+05:30 [Info] Memory Quota: 530294000 (505.728M)
2023-03-28T02:18:06.231+05:30 [Info] CPU Quota: 2
2023-03-28T02:18:06.231+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2023-03-28T02:18:06.231+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.231+05:30 [Info] Indexer Memory Utilization 0.0049
2023-03-28T02:18:06.231+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:06.231+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:06.231+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:06.231+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:06.231+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:06.231+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:06.231+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.231+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:06.231+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.231+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2023-03-28T02:18:06.231+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.231+05:30 [Info] Total Index Data (from non-deleted node) 19.8364M
2023-03-28T02:18:06.231+05:30 [Info] Index Data Moved (exclude new node) 7.43866M (37.50%)
2023-03-28T02:18:06.231+05:30 [Info] No. Index (from non-deleted node) 8
2023-03-28T02:18:06.231+05:30 [Info] No. Index Moved (exclude new node) 3 (37.50%)
2023/03/28 02:18:06 -------------------------------------------
2023/03/28 02:18:06 rebalance - 8 identical index, delete 2, 2x
2023-03-28T02:18:06.232+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:06.232+05:30 [Info] Planner::initial temperature: initial resource variation 0 temp 1e-05
2023-03-28T02:18:06.294+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:06.294+05:30 [Info] Score: 0
2023-03-28T02:18:06.294+05:30 [Info] Memory Quota: 1060588000 (1011.46M)
2023-03-28T02:18:06.294+05:30 [Info] CPU Quota: 4
2023-03-28T02:18:06.294+05:30 [Info] Indexer Memory Mean 10400000 (9.91821M)
2023-03-28T02:18:06.294+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.294+05:30 [Info] Indexer Memory Utilization 0.0098
2023-03-28T02:18:06.294+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:06.294+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:06.294+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:06.294+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:06.294+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:06.294+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:06.294+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.295+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:06.295+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.295+05:30 [Info] Indexer Data Size Mean 10400000 (9.91821M)
2023-03-28T02:18:06.295+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.295+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:06.295+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:06.295+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:06.295+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:06 -------------------------------------------
2023/03/28 02:18:06 rebalance - drop replcia - 3 replica, 3 zone, delete 1, 2x
2023-03-28T02:18:06.295+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
2023-03-28T02:18:06.295+05:30 [Info] Planner::planSingleRun Initial variance of the solution: NaN
2023-03-28T02:18:06.296+05:30 [Info] Planner::initial temperature: initial resource variation NaN temp NaN
2023-03-28T02:18:06.296+05:30 [Info] Score: 0
2023-03-28T02:18:06.296+05:30 [Info] Memory Quota: 536870912 (512M)
2023-03-28T02:18:06.296+05:30 [Info] CPU Quota: 16
2023-03-28T02:18:06.296+05:30 [Info] Indexer Memory Mean 0 (0)
2023-03-28T02:18:06.296+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.296+05:30 [Info] Indexer Memory Utilization 0.0000
2023-03-28T02:18:06.296+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:06.296+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:06.296+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:06.296+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:06.296+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:06.296+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:06.296+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.296+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:06.296+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.296+05:30 [Info] Indexer Data Size Mean 0 (0)
2023-03-28T02:18:06.296+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.296+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:06.296+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:06.296+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:06.296+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:06 -------------------------------------------
2023/03/28 02:18:06 rebalance - rebuid replica - 3 replica, 3 zone, add 1, delete 1, 1x
2023-03-28T02:18:06.296+05:30 [Info] Planner::planSingleRun Initial variance of the solution: NaN
2023-03-28T02:18:06.297+05:30 [Info] Planner::initial temperature: initial resource variation NaN temp NaN
2023-03-28T02:18:06.297+05:30 [Info] Planner::finalizing the solution as final solution is found.
2023-03-28T02:18:06.297+05:30 [Info] Score: 0
2023-03-28T02:18:06.297+05:30 [Info] Memory Quota: 268435456 (256M)
2023-03-28T02:18:06.297+05:30 [Info] CPU Quota: 8
2023-03-28T02:18:06.297+05:30 [Info] Indexer Memory Mean 0 (0)
2023-03-28T02:18:06.297+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.297+05:30 [Info] Indexer Memory Utilization 0.0000
2023-03-28T02:18:06.297+05:30 [Info] Indexer CPU Mean 0.0000
2023-03-28T02:18:06.297+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2023-03-28T02:18:06.297+05:30 [Info] Indexer CPU Utilization 0.0000
2023-03-28T02:18:06.297+05:30 [Info] Indexer IO Mean 0.0000
2023-03-28T02:18:06.297+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2023-03-28T02:18:06.297+05:30 [Info] Indexer Drain Rate Mean 0.0000
2023-03-28T02:18:06.297+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.297+05:30 [Info] Indexer Scan Rate Mean 0.0000
2023-03-28T02:18:06.297+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2023-03-28T02:18:06.297+05:30 [Info] Indexer Data Size Mean 0 (0)
2023-03-28T02:18:06.297+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2023-03-28T02:18:06.297+05:30 [Info] Total Index Data (from non-deleted node) 0
2023-03-28T02:18:06.297+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2023-03-28T02:18:06.297+05:30 [Info] No. Index (from non-deleted node) 0
2023-03-28T02:18:06.297+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2023/03/28 02:18:06 -------------------------------------------
2023/03/28 02:18:06 Minimum memory test 1: min memory = 0
2023-03-28T02:18:06.298+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2023-03-28T02:18:06.298+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2023-03-28T02:18:06.301+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023/03/28 02:18:06 -------------------------------------------
2023/03/28 02:18:06 Minimum memory test 2: min memory > quota
2023-03-28T02:18:06.301+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2023-03-28T02:18:06.301+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=8us
2023-03-28T02:18:06.301+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=6us
2023-03-28T02:18:06.301+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2023-03-28T02:18:06.301+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2023-03-28T02:18:06.731+05:30 [Info] [Queryport-connpool:127.0.0.1:9107] active conns 0, free conns 1
2023/03/28 02:18:07 -------------------------------------------
2023/03/28 02:18:07 Minimum memory test 3: min memory < quota
2023-03-28T02:18:07.270+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2023-03-28T02:18:07.270+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Minimum memory test 4: replica repair with min memory > quota
2023-03-28T02:18:08.224+05:30 [Info] Rebuilding lost replica for (default,,,country,0)
2023-03-28T02:18:08.224+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2023-03-28T02:18:08.224+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=5us
2023-03-28T02:18:08.224+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=4us
2023-03-28T02:18:08.224+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2023-03-28T02:18:08.224+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2023-03-28T02:18:08.224+05:30 [Info] Planner::finalizing the solution as final solution is found.
2023-03-28T02:18:08.224+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:08.224+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=206us
2023-03-28T02:18:08.224+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2023-03-28T02:18:08.224+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2023-03-28T02:18:08.224+05:30 [Info] Planner::finalizing the solution as final solution is found.
2023-03-28T02:18:08.224+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:08.224+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=208us
2023-03-28T02:18:08.224+05:30 [Info] Cannot rebuild lost replica due to resource constraint in cluster.  Will not rebuild lost replica.
2023-03-28T02:18:08.224+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)
2023-03-28T02:18:08.224+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2023-03-28T02:18:08.224+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
2023-03-28T02:18:08.224+05:30 [Info] Planner::initial temperature: initial resource variation 0 temp 1e-05
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Minimum memory test 5: replica repair with min memory < quota
2023-03-28T02:18:08.225+05:30 [Info] Rebuilding lost replica for (default,,,country,0)
2023-03-28T02:18:08.225+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2023-03-28T02:18:08.225+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2023-03-28T02:18:08.239+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Minimum memory test 6: rebalance with min memory > quota
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=5us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=3us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=3us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=5us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=5us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=4us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=3us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=3us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=3us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=3us
2023-03-28T02:18:08.239+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=3us
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Minimum memory test 7: rebalance-out with min memory > quota
2023-03-28T02:18:08.240+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=7us
2023-03-28T02:18:08.240+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=7us
2023-03-28T02:18:08.240+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=5us
2023-03-28T02:18:08.240+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=3us
2023-03-28T02:18:08.240+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=3us
2023-03-28T02:18:08.240+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=4us
2023-03-28T02:18:08.240+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2023-03-28T02:18:08.240+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2023-03-28T02:18:08.240+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2023-03-28T02:18:08.240+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Minimum memory test 8: plan with min memory > quota
2023-03-28T02:18:08.243+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.375
2023-03-28T02:18:08.244+05:30 [Info] Planner::finalizing the solution as final solution is found.
2023-03-28T02:18:08.244+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:08.244+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=1ms
2023-03-28T02:18:08.244+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=8us
2023-03-28T02:18:08.244+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=6us
2023-03-28T02:18:08.244+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=6us
2023-03-28T02:18:08.244+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=7us
2023-03-28T02:18:08.244+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=6us
2023-03-28T02:18:08.244+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2023-03-28T02:18:08.244+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.375
2023-03-28T02:18:08.244+05:30 [Info] Planner::finalizing the solution as final solution is found.
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Minimum memory test 9: single node rebalance with min memory > quota
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=6us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=7us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=5us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=6us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=7us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=6us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=5us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=6us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=6us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=7us
2023-03-28T02:18:08.245+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=6us
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Minimum memory test 10: plan with partitioned index on empty cluster
2023-03-28T02:18:08.247+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.7071067811865476
2023-03-28T02:18:08.285+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 iterationTest :: Remove one node - failure
2023-03-28T02:18:08.286+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.24537772588174586
2023-03-28T02:18:08.366+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:08.366+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.366+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.366+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.366+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.366+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.11469003660897982).
2023-03-28T02:18:08.366+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=357us
2023-03-28T02:18:08.366+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.366+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.366+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.367+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.367+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.17341899509836514).
2023-03-28T02:18:08.367+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=311us
2023-03-28T02:18:08.367+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.367+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.367+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.367+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.367+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.17197972663501662).
2023-03-28T02:18:08.367+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=347us
2023-03-28T02:18:08.367+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.367+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.367+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.367+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.367+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.18556665461788668).
2023-03-28T02:18:08.367+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=360us
2023-03-28T02:18:08.368+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.368+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.368+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.368+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.368+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.16543280890157494).
2023-03-28T02:18:08.368+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=339us
2023-03-28T02:18:08.368+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.368+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.368+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.368+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.368+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.2063935251644877).
2023-03-28T02:18:08.368+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=347us
2023-03-28T02:18:08.368+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2023-03-28T02:18:08.368+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.368+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.368+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.368+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.368+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.12975071696301008).
2023-03-28T02:18:08.369+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=333us
2023-03-28T02:18:08.369+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.369+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.369+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.369+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.369+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1391890823470371).
2023-03-28T02:18:08.369+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=333us
2023-03-28T02:18:08.369+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.369+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.369+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.369+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.369+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.11904504290802621).
2023-03-28T02:18:08.369+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=356us
2023-03-28T02:18:08.369+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.369+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.370+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.370+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.370+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.17585657918037256).
2023-03-28T02:18:08.370+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=391us
2023-03-28T02:18:08.370+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.370+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.370+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.370+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.370+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.2063935251644877).
2023-03-28T02:18:08.370+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=343us
2023-03-28T02:18:08.370+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.012498513643593025
2023-03-28T02:18:08.370+05:30 [Info] Planner::initial temperature: initial resource variation 0.012498513643593025 temp 0.0337501486356407
2023-03-28T02:18:08.370+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.370+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2023-03-28T02:18:08.371+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.12712100883406968).
2023-03-28T02:18:08.371+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=415us
2023-03-28T02:18:08.371+05:30 [Error] 
MemoryQuota: 5302940000000
CpuQuota: 6
--- Violations for index <7410303463795539231, bucket1, , > (mem 12.5317G, cpu 1.9101199999999998) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.65482T, free cpu -35.8624)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.65979T, free cpu -33.214639999999996)
--- Violations for index <12876892397828678292, bucket1, , > (mem 19.0712G, cpu 1.18536) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.65482T, free cpu -35.8624)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.65979T, free cpu -33.214639999999996)
--- Violations for index <13286137165711219372, bucket1, , > (mem 20.7712G, cpu 2.86852) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.65482T, free cpu -35.8624)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.65979T, free cpu -33.214639999999996)
--- Violations for index <4119141460104158461, bucket1, , > (mem 20.3878G, cpu 5.2202) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.65482T, free cpu -35.8624)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.65979T, free cpu -33.214639999999996)
--- Violations for index <6722555531165246689, bucket1, , > (mem 14.2174G, cpu 4.5377600000000005) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.65482T, free cpu -35.8624)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.65979T, free cpu -33.214639999999996)
--- Violations for index <13710007629141718384, bucket1, , > (mem 13.7273G, cpu 4.54392) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.65482T, free cpu -35.8624)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.65979T, free cpu -33.214639999999996)
--- Violations for index <9107285739294468355, bucket1, , > (mem 14.7592G, cpu 3.34872) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.65482T, free cpu -35.8624)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.65979T, free cpu -33.214639999999996)
--- Violations for index <3024476455216173119, bucket1, , > (mem 8.74011G, cpu 3.84492) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.65482T, free cpu -35.8624)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.65979T, free cpu -33.214639999999996)
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 iterationTest :: Remove one node - success
2023-03-28T02:18:08.371+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.22932913580392417
2023-03-28T02:18:08.450+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:08.450+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.01420147007672912
2023-03-28T02:18:08.450+05:30 [Info] Planner::initial temperature: initial resource variation 0.01420147007672912 temp 0.02357985299232709
2023-03-28T02:18:08.450+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2023-03-28T02:18:08.450+05:30 [Info] Planner::Finished planner run after 9 iterations.
2023-03-28T02:18:08.450+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.09464578479998377).
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 iterationTest :: Index rebuild - success
2023-03-28T02:18:08.454+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i13,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i15,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i18,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i22,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i0,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i5,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i10,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i2,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i4,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i8,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i11,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i24,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i26,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i28,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i20,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i23,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i27,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i1,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i3,1)
2023-03-28T02:18:08.455+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i6,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i12,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i14,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i25,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i29,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i7,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i9,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i16,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i17,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i19,1)
2023-03-28T02:18:08.456+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i21,1)
2023-03-28T02:18:08.457+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.5792715732327589
2023-03-28T02:18:08.457+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
2023-03-28T02:18:08.457+05:30 [Info] Planner::initial temperature: initial resource variation 0.5792715732327589 temp 0.022072842676724116
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 iterationTest :: Index rebuild - initial placement - success
2023-03-28T02:18:08.460+05:30 [Info] Rebuilding lost replica for (default,,,idx1,1)
2023-03-28T02:18:08.460+05:30 [Info] Rebuilding lost replica for (default,,,idx2,1)
2023-03-28T02:18:08.460+05:30 [Info] Rebuilding lost replica for (default,,,idx3,1)
2023-03-28T02:18:08.460+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.6236095644623236
2023-03-28T02:18:08.460+05:30 [Info] Planner::initial temperature: initial resource variation 0.6236095644623236 temp 0.03663904355376764
2023-03-28T02:18:08.460+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (0, 0) exceeded.
2023-03-28T02:18:08.460+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:08.460+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.6236095644623236).
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 iterationTest :: Index rebuild - initial placement - numReplica > numSG - success
2023-03-28T02:18:08.464+05:30 [Info] Rebuilding lost replica for (default,,,idx1,1)
2023-03-28T02:18:08.464+05:30 [Info] Rebuilding lost replica for (default,,,idx1,2)
2023-03-28T02:18:08.464+05:30 [Info] Rebuilding lost replica for (default,,,idx2,1)
2023-03-28T02:18:08.464+05:30 [Info] Rebuilding lost replica for (default,,,idx2,2)
2023-03-28T02:18:08.464+05:30 [Info] Rebuilding lost replica for (default,,,idx3,2)
2023-03-28T02:18:08.464+05:30 [Info] Rebuilding lost replica for (default,,,idx3,1)
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx1 0 Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 1) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 2) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 2) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 1) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx2 0 Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx3 0 Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 1) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 2) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx1 0 Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 1) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 2) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 2) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 1) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx2 0 Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx3 0 Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 1) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 2) Bucket=default Scope= Collection=
2023-03-28T02:18:08.464+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.24845199749997662
2023-03-28T02:18:08.465+05:30 [Info] Planner::initial temperature: initial resource variation 0.24845199749997662 temp 0.07415480025000235
2023-03-28T02:18:08.465+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (0, 0) exceeded.
2023-03-28T02:18:08.465+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2023-03-28T02:18:08.465+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.24845199749997662).
--- PASS: TestPlanner (7.87s)
=== RUN   TestGreedyPlanner
2023/03/28 02:18:08 In TestGreedyPlanner()
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 3 empty nodes - 1 SG
2023-03-28T02:18:08.470+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 2 empty nodes, 1 non-empty node - 1 SG
2023-03-28T02:18:08.473+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 1 empty node, 2 non-empty nodes - 1 SG
2023-03-28T02:18:08.477+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 3 non-empty nodes - 1 SG
2023-03-28T02:18:08.480+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 1 Replica - 3 empty nodes - 1 SG
2023-03-28T02:18:08.485+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 1 Replica - 2 empty nodes, 1 non-empty node - 1 SG
2023-03-28T02:18:08.487+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 1 Replica - 1 empty node, 2 non-empty nodes - 1 SG
2023-03-28T02:18:08.489+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 1 Replica - 3 non-empty nodes - 1 SG
2023-03-28T02:18:08.491+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 2 Replica - 3 empty nodes - 1 SG
2023-03-28T02:18:08.496+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 2 Replica - 3 non-empty nodes - 1 SG
2023-03-28T02:18:08.498+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 1 Replica - 2 empty nodes, 1 non-empty node - 2 SG
2023-03-28T02:18:08.500+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 1 Replica - 1 empty node, 2 non-empty nodes - 2 SG
2023-03-28T02:18:08.502+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Index With 1 Replica - 3 non-empty nodes - 2 SG
2023-03-28T02:18:08.504+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Equivalent Index Without any replica - 3 non-empty nodes - 1 SG
2023-03-28T02:18:08.507+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Equivalent Index With 1 Replica - 3 non-empty nodes - 1 SG - Skip least loaded node
2023-03-28T02:18:08.509+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Equivalent Index With 1 Replica - 3 non-empty nodes - 1 SG - Use least loaded node
2023-03-28T02:18:08.511+05:30 [Info] Using greedy index placement for index 987654
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place 60 index instaces on 3 empty nodes - 1 SG
2023-03-28T02:18:08.513+05:30 [Info] Using greedy index placement for index 1000987654
2023-03-28T02:18:08.515+05:30 [Info] Using greedy index placement for index 1001987654
2023-03-28T02:18:08.516+05:30 [Info] Using greedy index placement for index 1002987654
2023-03-28T02:18:08.518+05:30 [Info] Using greedy index placement for index 1003987654
2023-03-28T02:18:08.520+05:30 [Info] Using greedy index placement for index 1004987654
2023-03-28T02:18:08.522+05:30 [Info] Using greedy index placement for index 1005987654
2023-03-28T02:18:08.524+05:30 [Info] Using greedy index placement for index 1006987654
2023-03-28T02:18:08.525+05:30 [Info] Using greedy index placement for index 1007987654
2023-03-28T02:18:08.527+05:30 [Info] Using greedy index placement for index 1008987654
2023-03-28T02:18:08.528+05:30 [Info] Using greedy index placement for index 1009987654
2023-03-28T02:18:08.530+05:30 [Info] Using greedy index placement for index 1010987654
2023-03-28T02:18:08.532+05:30 [Info] Using greedy index placement for index 1011987654
2023-03-28T02:18:08.534+05:30 [Info] Using greedy index placement for index 1012987654
2023-03-28T02:18:08.535+05:30 [Info] Using greedy index placement for index 1013987654
2023-03-28T02:18:08.537+05:30 [Info] Using greedy index placement for index 1014987654
2023-03-28T02:18:08.538+05:30 [Info] Using greedy index placement for index 1015987654
2023-03-28T02:18:08.540+05:30 [Info] Using greedy index placement for index 1016987654
2023-03-28T02:18:08.542+05:30 [Info] Using greedy index placement for index 1017987654
2023-03-28T02:18:08.543+05:30 [Info] Using greedy index placement for index 1018987654
2023-03-28T02:18:08.545+05:30 [Info] Using greedy index placement for index 1019987654
2023-03-28T02:18:08.547+05:30 [Info] Using greedy index placement for index 1020987654
2023-03-28T02:18:08.549+05:30 [Info] Using greedy index placement for index 1021987654
2023-03-28T02:18:08.550+05:30 [Info] Using greedy index placement for index 1022987654
2023-03-28T02:18:08.552+05:30 [Info] Using greedy index placement for index 1023987654
2023-03-28T02:18:08.554+05:30 [Info] Using greedy index placement for index 1024987654
2023-03-28T02:18:08.556+05:30 [Info] Using greedy index placement for index 1025987654
2023-03-28T02:18:08.558+05:30 [Info] Using greedy index placement for index 1026987654
2023-03-28T02:18:08.559+05:30 [Info] Using greedy index placement for index 1027987654
2023-03-28T02:18:08.561+05:30 [Info] Using greedy index placement for index 1028987654
2023-03-28T02:18:08.563+05:30 [Info] Using greedy index placement for index 1029987654
2023-03-28T02:18:08.564+05:30 [Info] Using greedy index placement for index 1030987654
2023-03-28T02:18:08.566+05:30 [Info] Using greedy index placement for index 1031987654
2023-03-28T02:18:08.568+05:30 [Info] Using greedy index placement for index 1032987654
2023-03-28T02:18:08.570+05:30 [Info] Using greedy index placement for index 1033987654
2023-03-28T02:18:08.571+05:30 [Info] Using greedy index placement for index 1034987654
2023-03-28T02:18:08.573+05:30 [Info] Using greedy index placement for index 1035987654
2023-03-28T02:18:08.575+05:30 [Info] Using greedy index placement for index 1036987654
2023-03-28T02:18:08.576+05:30 [Info] Using greedy index placement for index 1037987654
2023-03-28T02:18:08.578+05:30 [Info] Using greedy index placement for index 1038987654
2023-03-28T02:18:08.580+05:30 [Info] Using greedy index placement for index 1039987654
2023-03-28T02:18:08.582+05:30 [Info] Using greedy index placement for index 1040987654
2023-03-28T02:18:08.583+05:30 [Info] Using greedy index placement for index 1041987654
2023-03-28T02:18:08.585+05:30 [Info] Using greedy index placement for index 1042987654
2023-03-28T02:18:08.587+05:30 [Info] Using greedy index placement for index 1043987654
2023-03-28T02:18:08.588+05:30 [Info] Using greedy index placement for index 1044987654
2023-03-28T02:18:08.590+05:30 [Info] Using greedy index placement for index 1045987654
2023-03-28T02:18:08.592+05:30 [Info] Using greedy index placement for index 1046987654
2023-03-28T02:18:08.594+05:30 [Info] Using greedy index placement for index 1047987654
2023-03-28T02:18:08.596+05:30 [Info] Using greedy index placement for index 1048987654
2023-03-28T02:18:08.597+05:30 [Info] Using greedy index placement for index 1049987654
2023-03-28T02:18:08.599+05:30 [Info] Using greedy index placement for index 1050987654
2023-03-28T02:18:08.601+05:30 [Info] Using greedy index placement for index 1051987654
2023-03-28T02:18:08.603+05:30 [Info] Using greedy index placement for index 1052987654
2023-03-28T02:18:08.604+05:30 [Info] Using greedy index placement for index 1053987654
2023-03-28T02:18:08.606+05:30 [Info] Using greedy index placement for index 1054987654
2023-03-28T02:18:08.608+05:30 [Info] Using greedy index placement for index 1055987654
2023-03-28T02:18:08.610+05:30 [Info] Using greedy index placement for index 1056987654
2023-03-28T02:18:08.611+05:30 [Info] Using greedy index placement for index 1057987654
2023-03-28T02:18:08.613+05:30 [Info] Using greedy index placement for index 1058987654
2023-03-28T02:18:08.615+05:30 [Info] Using greedy index placement for index 1059987654
2023-03-28T02:18:08.615+05:30 [Info] Actual variance of deferred index count across nodes is 0
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place 60 index instaces on 1 empty and 1 10 percent filled node - 1 SG
2023-03-28T02:18:08.617+05:30 [Info] Using greedy index placement for index 1000987654
2023-03-28T02:18:08.618+05:30 [Info] Using greedy index placement for index 1001987654
2023-03-28T02:18:08.620+05:30 [Info] Using greedy index placement for index 1002987654
2023-03-28T02:18:08.622+05:30 [Info] Using greedy index placement for index 1003987654
2023-03-28T02:18:08.624+05:30 [Info] Using greedy index placement for index 1004987654
2023-03-28T02:18:08.625+05:30 [Info] Using greedy index placement for index 1005987654
2023-03-28T02:18:08.627+05:30 [Info] Using greedy index placement for index 1006987654
2023-03-28T02:18:08.628+05:30 [Info] Using greedy index placement for index 1007987654
2023-03-28T02:18:08.630+05:30 [Info] Using greedy index placement for index 1008987654
2023-03-28T02:18:08.632+05:30 [Info] Using greedy index placement for index 1009987654
2023-03-28T02:18:08.633+05:30 [Info] Using greedy index placement for index 1010987654
2023-03-28T02:18:08.635+05:30 [Info] Using greedy index placement for index 1011987654
2023-03-28T02:18:08.637+05:30 [Info] Using greedy index placement for index 1012987654
2023-03-28T02:18:08.638+05:30 [Info] Using greedy index placement for index 1013987654
2023-03-28T02:18:08.640+05:30 [Info] Using greedy index placement for index 1014987654
2023-03-28T02:18:08.642+05:30 [Info] Using greedy index placement for index 1015987654
2023-03-28T02:18:08.643+05:30 [Info] Using greedy index placement for index 1016987654
2023-03-28T02:18:08.645+05:30 [Info] Using greedy index placement for index 1017987654
2023-03-28T02:18:08.647+05:30 [Info] Using greedy index placement for index 1018987654
2023-03-28T02:18:08.648+05:30 [Info] Using greedy index placement for index 1019987654
2023-03-28T02:18:08.650+05:30 [Info] Using greedy index placement for index 1020987654
2023-03-28T02:18:08.652+05:30 [Info] Using greedy index placement for index 1021987654
2023-03-28T02:18:08.653+05:30 [Info] Using greedy index placement for index 1022987654
2023-03-28T02:18:08.655+05:30 [Info] Using greedy index placement for index 1023987654
2023-03-28T02:18:08.656+05:30 [Info] Using greedy index placement for index 1024987654
2023-03-28T02:18:08.658+05:30 [Info] Using greedy index placement for index 1025987654
2023-03-28T02:18:08.660+05:30 [Info] Using greedy index placement for index 1026987654
2023-03-28T02:18:08.662+05:30 [Info] Using greedy index placement for index 1027987654
2023-03-28T02:18:08.663+05:30 [Info] Using greedy index placement for index 1028987654
2023-03-28T02:18:08.665+05:30 [Info] Using greedy index placement for index 1029987654
2023-03-28T02:18:08.667+05:30 [Info] Using greedy index placement for index 1030987654
2023-03-28T02:18:08.668+05:30 [Info] Using greedy index placement for index 1031987654
2023-03-28T02:18:08.670+05:30 [Info] Using greedy index placement for index 1032987654
2023-03-28T02:18:08.672+05:30 [Info] Using greedy index placement for index 1033987654
2023-03-28T02:18:08.674+05:30 [Info] Using greedy index placement for index 1034987654
2023-03-28T02:18:08.675+05:30 [Info] Using greedy index placement for index 1035987654
2023-03-28T02:18:08.677+05:30 [Info] Using greedy index placement for index 1036987654
2023-03-28T02:18:08.679+05:30 [Info] Using greedy index placement for index 1037987654
2023-03-28T02:18:08.681+05:30 [Info] Using greedy index placement for index 1038987654
2023-03-28T02:18:08.683+05:30 [Info] Using greedy index placement for index 1039987654
2023-03-28T02:18:08.684+05:30 [Info] Using greedy index placement for index 1040987654
2023-03-28T02:18:08.686+05:30 [Info] Using greedy index placement for index 1041987654
2023-03-28T02:18:08.688+05:30 [Info] Using greedy index placement for index 1042987654
2023-03-28T02:18:08.690+05:30 [Info] Using greedy index placement for index 1043987654
2023-03-28T02:18:08.691+05:30 [Info] Using greedy index placement for index 1044987654
2023-03-28T02:18:08.693+05:30 [Info] Using greedy index placement for index 1045987654
2023-03-28T02:18:08.695+05:30 [Info] Using greedy index placement for index 1046987654
2023-03-28T02:18:08.696+05:30 [Info] Using greedy index placement for index 1047987654
2023-03-28T02:18:08.698+05:30 [Info] Using greedy index placement for index 1048987654
2023-03-28T02:18:08.700+05:30 [Info] Using greedy index placement for index 1049987654
2023-03-28T02:18:08.702+05:30 [Info] Using greedy index placement for index 1050987654
2023-03-28T02:18:08.704+05:30 [Info] Using greedy index placement for index 1051987654
2023-03-28T02:18:08.705+05:30 [Info] Using greedy index placement for index 1052987654
2023-03-28T02:18:08.707+05:30 [Info] Using greedy index placement for index 1053987654
2023-03-28T02:18:08.709+05:30 [Info] Using greedy index placement for index 1054987654
2023-03-28T02:18:08.711+05:30 [Info] Using greedy index placement for index 1055987654
2023-03-28T02:18:08.712+05:30 [Info] Using greedy index placement for index 1056987654
2023-03-28T02:18:08.714+05:30 [Info] Using greedy index placement for index 1057987654
2023-03-28T02:18:08.716+05:30 [Info] Using greedy index placement for index 1058987654
2023-03-28T02:18:08.717+05:30 [Info] Using greedy index placement for index 1059987654
2023-03-28T02:18:08.718+05:30 [Info] Actual variance of deferred index count across nodes is 8
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place 60 index instaces on 1 empty and 1 30 percent filled node - 1 SG
2023-03-28T02:18:08.720+05:30 [Info] Using greedy index placement for index 1000987654
2023-03-28T02:18:08.722+05:30 [Info] Using greedy index placement for index 1001987654
2023-03-28T02:18:08.723+05:30 [Info] Using greedy index placement for index 1002987654
2023-03-28T02:18:08.725+05:30 [Info] Using greedy index placement for index 1003987654
2023-03-28T02:18:08.726+05:30 [Info] Using greedy index placement for index 1004987654
2023-03-28T02:18:08.728+05:30 [Info] Using greedy index placement for index 1005987654
2023-03-28T02:18:08.730+05:30 [Info] Using greedy index placement for index 1006987654
2023-03-28T02:18:08.732+05:30 [Info] Using greedy index placement for index 1007987654
2023-03-28T02:18:08.733+05:30 [Info] Using greedy index placement for index 1008987654
2023-03-28T02:18:08.735+05:30 [Info] Using greedy index placement for index 1009987654
2023-03-28T02:18:08.736+05:30 [Info] Using greedy index placement for index 1010987654
2023-03-28T02:18:08.738+05:30 [Info] Using greedy index placement for index 1011987654
2023-03-28T02:18:08.740+05:30 [Info] Using greedy index placement for index 1012987654
2023-03-28T02:18:08.742+05:30 [Info] Using greedy index placement for index 1013987654
2023-03-28T02:18:08.743+05:30 [Info] Using greedy index placement for index 1014987654
2023-03-28T02:18:08.745+05:30 [Info] Using greedy index placement for index 1015987654
2023-03-28T02:18:08.746+05:30 [Info] Using greedy index placement for index 1016987654
2023-03-28T02:18:08.748+05:30 [Info] Using greedy index placement for index 1017987654
2023-03-28T02:18:08.750+05:30 [Info] Using greedy index placement for index 1018987654
2023-03-28T02:18:08.751+05:30 [Info] Using greedy index placement for index 1019987654
2023-03-28T02:18:08.753+05:30 [Info] Using greedy index placement for index 1020987654
2023-03-28T02:18:08.755+05:30 [Info] Using greedy index placement for index 1021987654
2023-03-28T02:18:08.756+05:30 [Info] Using greedy index placement for index 1022987654
2023-03-28T02:18:08.758+05:30 [Info] Using greedy index placement for index 1023987654
2023-03-28T02:18:08.760+05:30 [Info] Using greedy index placement for index 1024987654
2023-03-28T02:18:08.761+05:30 [Info] Using greedy index placement for index 1025987654
2023-03-28T02:18:08.763+05:30 [Info] Using greedy index placement for index 1026987654
2023-03-28T02:18:08.765+05:30 [Info] Using greedy index placement for index 1027987654
2023-03-28T02:18:08.766+05:30 [Info] Using greedy index placement for index 1028987654
2023-03-28T02:18:08.768+05:30 [Info] Using greedy index placement for index 1029987654
2023-03-28T02:18:08.770+05:30 [Info] Using greedy index placement for index 1030987654
2023-03-28T02:18:08.772+05:30 [Info] Using greedy index placement for index 1031987654
2023-03-28T02:18:08.773+05:30 [Info] Using greedy index placement for index 1032987654
2023-03-28T02:18:08.775+05:30 [Info] Using greedy index placement for index 1033987654
2023-03-28T02:18:08.777+05:30 [Info] Using greedy index placement for index 1034987654
2023-03-28T02:18:08.779+05:30 [Info] Using greedy index placement for index 1035987654
2023-03-28T02:18:08.781+05:30 [Info] Using greedy index placement for index 1036987654
2023-03-28T02:18:08.782+05:30 [Info] Using greedy index placement for index 1037987654
2023-03-28T02:18:08.784+05:30 [Info] Using greedy index placement for index 1038987654
2023-03-28T02:18:08.786+05:30 [Info] Using greedy index placement for index 1039987654
2023-03-28T02:18:08.788+05:30 [Info] Using greedy index placement for index 1040987654
2023-03-28T02:18:08.789+05:30 [Info] Using greedy index placement for index 1041987654
2023-03-28T02:18:08.791+05:30 [Info] Using greedy index placement for index 1042987654
2023-03-28T02:18:08.793+05:30 [Info] Using greedy index placement for index 1043987654
2023-03-28T02:18:08.795+05:30 [Info] Using greedy index placement for index 1044987654
2023-03-28T02:18:08.797+05:30 [Info] Using greedy index placement for index 1045987654
2023-03-28T02:18:08.799+05:30 [Info] Using greedy index placement for index 1046987654
2023-03-28T02:18:08.800+05:30 [Info] Using greedy index placement for index 1047987654
2023-03-28T02:18:08.802+05:30 [Info] Using greedy index placement for index 1048987654
2023-03-28T02:18:08.804+05:30 [Info] Using greedy index placement for index 1049987654
2023-03-28T02:18:08.806+05:30 [Info] Using greedy index placement for index 1050987654
2023-03-28T02:18:08.807+05:30 [Info] Using greedy index placement for index 1051987654
2023-03-28T02:18:08.809+05:30 [Info] Using greedy index placement for index 1052987654
2023-03-28T02:18:08.811+05:30 [Info] Using greedy index placement for index 1053987654
2023-03-28T02:18:08.813+05:30 [Info] Using greedy index placement for index 1054987654
2023-03-28T02:18:08.814+05:30 [Info] Using greedy index placement for index 1055987654
2023-03-28T02:18:08.816+05:30 [Info] Using greedy index placement for index 1056987654
2023-03-28T02:18:08.818+05:30 [Info] Using greedy index placement for index 1057987654
2023-03-28T02:18:08.820+05:30 [Info] Using greedy index placement for index 1058987654
2023-03-28T02:18:08.822+05:30 [Info] Using greedy index placement for index 1059987654
2023-03-28T02:18:08.822+05:30 [Info] Actual variance of deferred index count across nodes is 98
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place 5 index instaces on 1 empty and 1 60 percent filled node - 1 SG
2023-03-28T02:18:08.824+05:30 [Info] Using greedy index placement for index 1000987654
2023-03-28T02:18:08.826+05:30 [Info] Using greedy index placement for index 1001987654
2023-03-28T02:18:08.828+05:30 [Info] Using greedy index placement for index 1002987654
2023-03-28T02:18:08.830+05:30 [Info] Using greedy index placement for index 1003987654
2023-03-28T02:18:08.831+05:30 [Info] Using greedy index placement for index 1004987654
2023-03-28T02:18:08.831+05:30 [Info] Actual variance of deferred index count across nodes is 4.5
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place 60 index instaces on 1 empty and 1 60 percent filled node - 1 SG
2023-03-28T02:18:08.833+05:30 [Info] Using greedy index placement for index 1000987654
2023-03-28T02:18:08.835+05:30 [Info] Using greedy index placement for index 1001987654
2023-03-28T02:18:08.836+05:30 [Info] Using greedy index placement for index 1002987654
2023-03-28T02:18:08.838+05:30 [Info] Using greedy index placement for index 1003987654
2023-03-28T02:18:08.839+05:30 [Info] Using greedy index placement for index 1004987654
2023-03-28T02:18:08.841+05:30 [Info] Using greedy index placement for index 1005987654
2023-03-28T02:18:08.843+05:30 [Info] Using greedy index placement for index 1006987654
2023-03-28T02:18:08.845+05:30 [Info] Using greedy index placement for index 1007987654
2023-03-28T02:18:08.846+05:30 [Info] Using greedy index placement for index 1008987654
2023-03-28T02:18:08.848+05:30 [Info] Using greedy index placement for index 1009987654
2023-03-28T02:18:08.849+05:30 [Info] Using greedy index placement for index 1010987654
2023-03-28T02:18:08.851+05:30 [Info] Using greedy index placement for index 1011987654
2023-03-28T02:18:08.853+05:30 [Info] Using greedy index placement for index 1012987654
2023-03-28T02:18:08.855+05:30 [Info] Using greedy index placement for index 1013987654
2023-03-28T02:18:08.857+05:30 [Info] Using greedy index placement for index 1014987654
2023-03-28T02:18:08.859+05:30 [Info] Using greedy index placement for index 1015987654
2023-03-28T02:18:08.861+05:30 [Info] Using greedy index placement for index 1016987654
2023-03-28T02:18:08.862+05:30 [Info] Using greedy index placement for index 1017987654
2023-03-28T02:18:08.864+05:30 [Info] Using greedy index placement for index 1018987654
2023-03-28T02:18:08.866+05:30 [Info] Using greedy index placement for index 1019987654
2023-03-28T02:18:08.867+05:30 [Info] Using greedy index placement for index 1020987654
2023-03-28T02:18:08.869+05:30 [Info] Using greedy index placement for index 1021987654
2023-03-28T02:18:08.871+05:30 [Info] Using greedy index placement for index 1022987654
2023-03-28T02:18:08.872+05:30 [Info] Using greedy index placement for index 1023987654
2023-03-28T02:18:08.874+05:30 [Info] Using greedy index placement for index 1024987654
2023-03-28T02:18:08.876+05:30 [Info] Using greedy index placement for index 1025987654
2023-03-28T02:18:08.877+05:30 [Info] Using greedy index placement for index 1026987654
2023-03-28T02:18:08.879+05:30 [Info] Using greedy index placement for index 1027987654
2023-03-28T02:18:08.881+05:30 [Info] Using greedy index placement for index 1028987654
2023-03-28T02:18:08.883+05:30 [Info] Using greedy index placement for index 1029987654
2023-03-28T02:18:08.884+05:30 [Info] Using greedy index placement for index 1030987654
2023-03-28T02:18:08.886+05:30 [Info] Using greedy index placement for index 1031987654
2023-03-28T02:18:08.888+05:30 [Info] Using greedy index placement for index 1032987654
2023-03-28T02:18:08.890+05:30 [Info] Using greedy index placement for index 1033987654
2023-03-28T02:18:08.891+05:30 [Info] Using greedy index placement for index 1034987654
2023-03-28T02:18:08.893+05:30 [Info] Using greedy index placement for index 1035987654
2023-03-28T02:18:08.895+05:30 [Info] Using greedy index placement for index 1036987654
2023-03-28T02:18:08.897+05:30 [Info] Using greedy index placement for index 1037987654
2023-03-28T02:18:08.898+05:30 [Info] Using greedy index placement for index 1038987654
2023-03-28T02:18:08.900+05:30 [Info] Using greedy index placement for index 1039987654
2023-03-28T02:18:08.902+05:30 [Info] Using greedy index placement for index 1040987654
2023-03-28T02:18:08.904+05:30 [Info] Using greedy index placement for index 1041987654
2023-03-28T02:18:08.906+05:30 [Info] Using greedy index placement for index 1042987654
2023-03-28T02:18:08.908+05:30 [Info] Using greedy index placement for index 1043987654
2023-03-28T02:18:08.909+05:30 [Info] Using greedy index placement for index 1044987654
2023-03-28T02:18:08.911+05:30 [Info] Using greedy index placement for index 1045987654
2023-03-28T02:18:08.913+05:30 [Info] Using greedy index placement for index 1046987654
2023-03-28T02:18:08.915+05:30 [Info] Using greedy index placement for index 1047987654
2023-03-28T02:18:08.916+05:30 [Info] Using greedy index placement for index 1048987654
2023-03-28T02:18:08.918+05:30 [Info] Using greedy index placement for index 1049987654
2023-03-28T02:18:08.920+05:30 [Info] Using greedy index placement for index 1050987654
2023-03-28T02:18:08.922+05:30 [Info] Using greedy index placement for index 1051987654
2023-03-28T02:18:08.924+05:30 [Info] Using greedy index placement for index 1052987654
2023-03-28T02:18:08.925+05:30 [Info] Using greedy index placement for index 1053987654
2023-03-28T02:18:08.927+05:30 [Info] Using greedy index placement for index 1054987654
2023-03-28T02:18:08.929+05:30 [Info] Using greedy index placement for index 1055987654
2023-03-28T02:18:08.931+05:30 [Info] Using greedy index placement for index 1056987654
2023-03-28T02:18:08.933+05:30 [Info] Using greedy index placement for index 1057987654
2023-03-28T02:18:08.935+05:30 [Info] Using greedy index placement for index 1058987654
2023-03-28T02:18:08.937+05:30 [Info] Using greedy index placement for index 1059987654
2023-03-28T02:18:08.937+05:30 [Info] Actual variance of deferred index count across nodes is 648
--- PASS: TestGreedyPlanner (0.47s)
=== RUN   TestTenantAwarePlanner
2023/03/28 02:18:08 In TestTenantAwarePlanner()
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 1 empty node - 1 SG
2023-03-28T02:18:08.938+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001]]
2023-03-28T02:18:08.938+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.938+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9001]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 empty nodes - 2 SG
2023-03-28T02:18:08.940+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9004 127.0.0.1:9001] [127.0.0.1:9003 127.0.0.1:9002]]
2023-03-28T02:18:08.940+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.940+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9003 127.0.0.1:9002]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 1 node - 1 SG
2023-03-28T02:18:08.943+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.943+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001]]
2023-03-28T02:18:08.943+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9001]
2023-03-28T02:18:08.943+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9001]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 2 nodes - 1 SG
2023-03-28T02:18:08.945+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.945+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.945+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001] [127.0.0.1:9002]]
2023-03-28T02:18:08.945+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9001]
2023-03-28T02:18:08.945+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9001]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes - 2 SG - Tenant Affinity(a)
2023-03-28T02:18:08.947+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.947+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.947+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9002] [127.0.0.1:9004 127.0.0.1:9003]]
2023-03-28T02:18:08.947+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9001 127.0.0.1:9002]
2023-03-28T02:18:08.947+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9001 127.0.0.1:9002]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes - 2 SG - Tenant Affinity(b)
2023-03-28T02:18:08.949+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.949+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg3 Memory 300000000 Units 1000
2023-03-28T02:18:08.949+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9003 127.0.0.1:9002]]
2023-03-28T02:18:08.949+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.949+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9001 127.0.0.1:9004]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes - 2 SG - Tenant Affinity(c)
2023-03-28T02:18:08.951+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.951+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.951+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.951+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg3 Memory 300000000 Units 1000
2023-03-28T02:18:08.951+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9003]]
2023-03-28T02:18:08.951+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.951+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9001 127.0.0.1:9004]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 6 nodes - 3 SG - Tenant Affinity Memory Above LWM
2023-03-28T02:18:08.953+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.953+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 700000000 Units 1000
2023-03-28T02:18:08.953+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.953+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 700000000 Units 1000
2023-03-28T02:18:08.953+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.953+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.953+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9002 127.0.0.1:9005]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 6 nodes - 3 SG - Tenant Affinity Units Above LWM
2023-03-28T02:18:08.955+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.955+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 5000
2023-03-28T02:18:08.956+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.956+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 300000000 Units 5000
2023-03-28T02:18:08.956+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.956+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.956+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9002 127.0.0.1:9005]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 6 nodes - 3 SG - Tenant Affinity New Tenant(a)
2023-03-28T02:18:08.958+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.958+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 700000000 Units 1000
2023-03-28T02:18:08.958+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.958+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 700000000 Units 1000
2023-03-28T02:18:08.958+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.958+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.958+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9006 127.0.0.1:9003]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 6 nodes - 3 SG - Tenant Affinity New Tenant(b)
2023-03-28T02:18:08.960+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.960+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 700000000 Units 1000
2023-03-28T02:18:08.960+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.960+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 700000000 Units 1000
2023-03-28T02:18:08.960+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.960+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.960+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9006 127.0.0.1:9003]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes, rebalance in progress(inst version) 
2023-03-28T02:18:08.962+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 50000000 Units 500
2023-03-28T02:18:08.962+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 50000000 Units 500
2023-03-28T02:18:08.962+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.962+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip index 1111:1212:0 node 127.0.0.1:9003 from subCluster grouping. Rebalance in progress.
2023-03-28T02:18:08.962+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.962+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9002] [127.0.0.1:9003 127.0.0.1:9004]]
2023-03-28T02:18:08.962+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.962+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9001 127.0.0.1:9002]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes, rebalance in progress(rstate) 
2023-03-28T02:18:08.964+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.964+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.964+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 50000000 Units 500
2023-03-28T02:18:08.964+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 50000000 Units 500
2023-03-28T02:18:08.964+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9002] [127.0.0.1:9003 127.0.0.1:9004]]
2023-03-28T02:18:08.964+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.964+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9003 127.0.0.1:9004]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes, rebalance in progress(rstate+inst version) 
2023-03-28T02:18:08.966+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.966+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.966+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 50000000 Units 500
2023-03-28T02:18:08.966+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip index 1111:1212:0 node 127.0.0.1:9003 from subCluster grouping. Rebalance in progress.
2023-03-28T02:18:08.966+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 50000000 Units 500
2023-03-28T02:18:08.966+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9002] [127.0.0.1:9003 127.0.0.1:9004]]
2023-03-28T02:18:08.966+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.966+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9003 127.0.0.1:9004]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes, rebalance pending cleanup
2023-03-28T02:18:08.967+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.967+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.968+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 50000000 Units 500
2023-03-28T02:18:08.968+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 50000000 Units 500
2023-03-28T02:18:08.968+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9002] [127.0.0.1:9003 127.0.0.1:9004]]
2023-03-28T02:18:08.968+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.968+05:30 [Info] Planner::executeTenantAwarePlan Found Result [127.0.0.1:9003 127.0.0.1:9004]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 2 empty nodes - 1 SG
2023-03-28T02:18:08.970+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001] [127.0.0.1:9002]]
2023-03-28T02:18:08.970+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.970+05:30 [Info] Planner::filterPartialSubClusters Filter partial subcluster [127.0.0.1:9002]
2023-03-28T02:18:08.970+05:30 [Info] Planner::filterPartialSubClusters Filter partial subcluster [127.0.0.1:9001]
2023-03-28T02:18:08.970+05:30 [Info] Planner::executeTenantAwarePlan Found no matching candidate for tenant &{idx1 bucket1   987654 false [name1]  false false false false 0  0 [] 2 []   false 0 0 0 0 0 0 0 0}. Error - Unable to find any valid SubCluster
2023/03/28 02:18:08 Expected error Planner not able to find any node for placement - Unable to find any valid SubCluster
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes - 2 SG - Tenant Affinity Above Memory HWM
2023-03-28T02:18:08.970+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 1000
2023-03-28T02:18:08.970+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.970+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.970+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg3 Memory 900000000 Units 1000
2023-03-28T02:18:08.970+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9003]]
2023-03-28T02:18:08.970+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.970+05:30 [Info] Planner::executeTenantAwarePlan Found no matching candidate for tenant &{idx1 bucket1   987654 false [name1]  false false false false 0  0 [] 2 []   false 0 0 0 0 0 0 0 0}. Error - Tenant SubCluster Above High Usage Threshold
2023/03/28 02:18:08 Expected error Planner not able to find any node for placement - Tenant SubCluster Above High Usage Threshold
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes - 2 SG - Tenant Affinity Above Units HWM
2023-03-28T02:18:08.971+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 8000
2023-03-28T02:18:08.971+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.971+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.971+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg3 Memory 300000000 Units 8000
2023-03-28T02:18:08.971+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9003]]
2023-03-28T02:18:08.971+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.971+05:30 [Info] Planner::executeTenantAwarePlan Found no matching candidate for tenant &{idx1 bucket1   987654 false [name1]  false false false false 0  0 [] 2 []   false 0 0 0 0 0 0 0 0}. Error - Tenant SubCluster Above High Usage Threshold
2023/03/28 02:18:08 Expected error Planner not able to find any node for placement - Tenant SubCluster Above High Usage Threshold
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 6 nodes - 3 SG - New Tenant Memory Above LWM
2023-03-28T02:18:08.971+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 680000000 Units 1000
2023-03-28T02:18:08.972+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 700000000 Units 1000
2023-03-28T02:18:08.972+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 680000000 Units 1000
2023-03-28T02:18:08.972+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 700000000 Units 1000
2023-03-28T02:18:08.972+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.972+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.972+05:30 [Info] Planner::executeTenantAwarePlan Found no matching candidate for tenant &{idx1 bucket7   987654 false [name1]  false false false false 0  0 [] 2 []   false 0 0 0 0 0 0 0 0}. Error - No SubCluster Below Low Usage Threshold
2023/03/28 02:18:08 Expected error Planner not able to find any node for placement - No SubCluster Below Low Usage Threshold
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 6 nodes - 3 SG - New Tenant Units Above LWM
2023-03-28T02:18:08.972+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 5000
2023-03-28T02:18:08.972+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 5500
2023-03-28T02:18:08.972+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 300000000 Units 5000
2023-03-28T02:18:08.972+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 300000000 Units 5500
2023-03-28T02:18:08.972+05:30 [Info] Planner::executeTenantAwarePlan Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.972+05:30 [Info] Planner::executeTenantAwarePlan Found Candidate Based on Tenant Affinity []
2023-03-28T02:18:08.972+05:30 [Info] Planner::executeTenantAwarePlan Found no matching candidate for tenant &{idx1 bucket7   987654 false [name1]  false false false false 0  0 [] 2 []   false 0 0 0 0 0 0 0 0}. Error - No SubCluster Below Low Usage Threshold
2023/03/28 02:18:08 Expected error Planner not able to find any node for placement - No SubCluster Below Low Usage Threshold
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes, rebalance in progress(inst version) 
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 50000000 Units 500
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip index 1111:1212:0 node 127.0.0.1:9003 from subCluster grouping. Rebalance in progress.
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Cannot group node 127.0.0.1:9003 due to in progress rebalance for all buckets on the node. map[bucket1:true]
2023/03/28 02:18:08 Expected error Rebalance in progress or cleanup pending from previous rebalance.
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes, rebalance in progress(rstate) 
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Cannot group empty node 127.0.0.1:9003 due to in progress rebalance for all buckets on the node. map[bucket1:true]
2023/03/28 02:18:08 Expected error Rebalance in progress or cleanup pending from previous rebalance.
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes, rebalance in progress(rstate+inst version) 
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 50000000 Units 500
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip index 1111:1212:0 node 127.0.0.1:9003 from subCluster grouping. Rebalance in progress.
2023-03-28T02:18:08.973+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Cannot group node 127.0.0.1:9003 due to in progress rebalance for all buckets on the node. map[bucket1:true]
2023/03/28 02:18:08 Expected error Rebalance in progress or cleanup pending from previous rebalance.
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Place Single Index Instance - 4 nodes, rebalance pending cleanup
2023-03-28T02:18:08.974+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.974+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.974+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Cannot group empty node 127.0.0.1:9004 due to in progress rebalance for all buckets on the node. map[bucket1:true]
2023/03/28 02:18:08 Expected error Rebalance in progress or cleanup pending from previous rebalance.
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 3 SG, 1 empty, 1 Memory Above HWM
2023-03-28T02:18:08.975+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 1000
2023-03-28T02:18:08.975+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 900000000 Units 1000
2023-03-28T02:18:08.975+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.975+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 900000000 Units 1000
2023-03-28T02:18:08.975+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.975+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.975+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.975+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 400000000 UnitsUsage 500 
2023-03-28T02:18:08.975+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.975+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 400000000 UnitsUsage 500  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 3 SG, 1 empty, 1 Units Above HWM
2023-03-28T02:18:08.977+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 400000000 Units 8000
2023-03-28T02:18:08.977+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 400000000 Units 1000
2023-03-28T02:18:08.977+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 400000000 Units 8000
2023-03-28T02:18:08.977+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 400000000 Units 1000
2023-03-28T02:18:08.977+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.977+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:08.977+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.977+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 3000 
2023-03-28T02:18:08.977+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.977+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 3000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 3 SG, 1 empty, Both Memory/Units Above HWM
2023-03-28T02:18:08.978+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 9000
2023-03-28T02:18:08.978+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:08.978+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 9000
2023-03-28T02:18:08.978+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 300000000 Units 1000
2023-03-28T02:18:08.978+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.978+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:08.978+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.978+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:08.978+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000 
2023-03-28T02:18:08.978+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.978+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.978+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 3 SG, Multiple tenants to move, single source, multiple destination
2023-03-28T02:18:08.981+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 9000
2023-03-28T02:18:08.981+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 200000000 Units 1000
2023-03-28T02:18:08.981+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 9000
2023-03-28T02:18:08.981+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 200000000 Units 1000
2023-03-28T02:18:08.981+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.981+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:08.981+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.981+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 4000 
2023-03-28T02:18:08.981+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket5 MemoryUsage 400000000 UnitsUsage 2000 
2023-03-28T02:18:08.981+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.981+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 4000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.981+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket5 MemoryUsage 400000000 UnitsUsage 2000  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 3 SG, Multiple tenants to move, no nodes below LWM
2023-03-28T02:18:08.982+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 300000000 Units 5000
2023-03-28T02:18:08.982+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 900000000 Units 3000
2023-03-28T02:18:08.982+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 700000000 Units 3000
2023-03-28T02:18:08.982+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 300000000 Units 5000
2023-03-28T02:18:08.982+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 900000000 Units 3000
2023-03-28T02:18:08.982+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 700000000 Units 3000
2023-03-28T02:18:08.982+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:08.982+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.982+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.982+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 300000000 UnitsUsage 500 
2023-03-28T02:18:08.982+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket1 MemoryUsage 200000000 UnitsUsage 500 
2023-03-28T02:18:08.982+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM []
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 4 SG, Multiple tenants to move, multiple source, multiple destination(non-uniform memory/units usage)
2023-03-28T02:18:08.983+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:08.983+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:08.983+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:08.983+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:08.983+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.983+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 1200 
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 800 
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 1500 
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 500 
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 500 
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800 
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 700 
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 1000 
2023-03-28T02:18:08.983+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.983+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 1200  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.983+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 500  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.983+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 800  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.983+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.983+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 1500  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.983+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 700  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.983+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 500  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.983+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 1000  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 4 SG, Multiple tenants to move, multiple source, multiple destination(non-uniform memory/units usage)
2023-03-28T02:18:08.984+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:08.984+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:08.984+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:08.984+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:08.984+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.984+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500 
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200 
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800 
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500 
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 700 
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800 
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 1000 
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 500 
2023-03-28T02:18:08.984+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.984+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.984+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 700  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.985+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.985+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.985+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.985+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 1000  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.985+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.985+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 500  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 3 SG, Single Large Tenant, Nothing to move
2023-03-28T02:18:08.985+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 1000
2023-03-28T02:18:08.985+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 900000000 Units 2000
2023-03-28T02:18:08.985+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 1000
2023-03-28T02:18:08.985+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 900000000 Units 2000
2023-03-28T02:18:08.985+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.985+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.986+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.986+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 200000000 UnitsUsage 1000 
2023-03-28T02:18:08.986+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.986+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 200000000 UnitsUsage 1000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 4 SG, Multiple tenants to move, multiple source, multiple destination(zero usage tenants)
2023-03-28T02:18:08.987+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:08.987+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:08.987+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:08.987+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:08.987+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.987+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket17 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket14 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 700 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 1000 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 500 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket15 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket16 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:08.987+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 700  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 1000  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 500  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.987+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket17 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.988+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket15 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.988+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket14 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.988+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket16 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Rebalance - 3 SG, 1 Partial Subcluster
2023-03-28T02:18:08.989+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.989+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 900000000 Units 3000
2023-03-28T02:18:08.989+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.989+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 900000000 Units 3000
2023-03-28T02:18:08.989+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003]]
2023-03-28T02:18:08.989+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9003] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:08.989+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.989+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.989+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 300000000 UnitsUsage 500 
2023-03-28T02:18:08.989+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket1 MemoryUsage 200000000 UnitsUsage 500 
2023-03-28T02:18:08.989+05:30 [Info] Planner::filterPartialSubClusters Filter partial subcluster [127.0.0.1:9003]
2023-03-28T02:18:08.989+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:08.989+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 300000000 UnitsUsage 500  can be placed on [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.989+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket1 MemoryUsage 200000000 UnitsUsage 500  can be placed on [127.0.0.1:9001 127.0.0.1:9004]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Replica Repair - 4 SG, Missing Replicas for multiple tenants in SG
2023-03-28T02:18:08.990+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.990+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.990+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.990+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:08.990+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.990+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.990+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.990+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket2,,,idx2,1) on 127.0.0.1:9004
2023-03-28T02:18:08.990+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket4,,,idx2,0) on 127.0.0.1:9001
2023-03-28T02:18:08.990+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket8,,,idx1,1) on 127.0.0.1:9005
2023-03-28T02:18:08.990+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket8,,,idx1,1) on 127.0.0.1:9005
2023-03-28T02:18:08.990+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Replica Repair - 4 SG, Missing Replicas, Buddy Node Failed over
2023-03-28T02:18:08.991+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.991+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.991+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:08.991+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.991+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.991+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9003]]
2023-03-28T02:18:08.991+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket1,,,idx1,1) on 127.0.0.1:9004
2023-03-28T02:18:08.991+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket2,,,idx2,1) on 127.0.0.1:9004
2023-03-28T02:18:08.991+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket3,,,idx1,1) on 127.0.0.1:9004
2023-03-28T02:18:08.991+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket8,,,idx1,1) on 127.0.0.1:9005
2023-03-28T02:18:08.991+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket8,,,idx1,1) on 127.0.0.1:9005
2023-03-28T02:18:08.991+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9003] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:08.991+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Replica Repair - 4 SG, Missing Replicas, Buddy Node Failed over, No replacement
2023-03-28T02:18:08.992+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.992+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.992+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:08.992+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.992+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.992+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:08.992+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9001] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:08.992+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Replica Repair - 4 SG, Missing Replicas, one replica missing with pendingDelete true 
2023-03-28T02:18:08.993+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 100000000 Units 1000
2023-03-28T02:18:08.993+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.993+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:08.993+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:08.993+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.993+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.993+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:08.993+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket2,,,idx2,1) on 127.0.0.1:9004
2023-03-28T02:18:08.993+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket4,,,idx2,0) on 127.0.0.1:9001
2023-03-28T02:18:08.993+05:30 [Info] Planner::findMissingReplicaForIndexerNode Skipping Replica Repair for 88883:81813:0. PendingDelete true
2023-03-28T02:18:08.993+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket8,,,idx2,1) on 127.0.0.1:9005
2023-03-28T02:18:08.993+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Replica Repair - 2 SG, Missing Replicas with Nodes over HWM
2023-03-28T02:18:08.994+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 7000
2023-03-28T02:18:08.994+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 500
2023-03-28T02:18:08.994+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 7000
2023-03-28T02:18:08.994+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.994+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket9,,,idx2,1) on 127.0.0.1:9005
2023-03-28T02:18:08.994+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:08.994+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.994+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 800 
2023-03-28T02:18:08.994+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 700 
2023-03-28T02:18:08.994+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 500 
2023-03-28T02:18:08.994+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 1000 
2023-03-28T02:18:08.994+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:08.995+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 800  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.995+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 700  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.995+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 500  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:08.995+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 1000  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Swap Rebalance - 4 SG, Swap 1 node each from 2 SG with 2 new nodes
2023-03-28T02:18:08.996+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9002 127.0.0.1:9004]
2023-03-28T02:18:08.996+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9002 127.0.0.1:9004]
2023-03-28T02:18:08.996+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9005 127.0.0.1:9001]
2023-03-28T02:18:08.996+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes [127.0.0.1:9003 127.0.0.1:9006 127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:08.996+05:30 [Info] Planner::moveTenantsFromDeletedNodes selected newNodes for swap [127.0.0.1:9003 127.0.0.1:9008 127.0.0.1:9006 127.0.0.1:9007]
2023-03-28T02:18:08.996+05:30 [Info] Moving index 7777:7171:0 from source 127.0.0.1:9002 to dest 127.0.0.1:9003
2023-03-28T02:18:08.996+05:30 [Info] Moving index 8888:8181:0 from source 127.0.0.1:9002 to dest 127.0.0.1:9003
2023-03-28T02:18:08.996+05:30 [Info] Moving index 9999:9191:0 from source 127.0.0.1:9002 to dest 127.0.0.1:9003
2023-03-28T02:18:08.996+05:30 [Info] Moving index 101010:101101:0 from source 127.0.0.1:9002 to dest 127.0.0.1:9003
2023-03-28T02:18:08.996+05:30 [Info] Moving index 111111:112112:0 from source 127.0.0.1:9002 to dest 127.0.0.1:9003
2023-03-28T02:18:08.996+05:30 [Info] Moving index 121212:121121:0 from source 127.0.0.1:9002 to dest 127.0.0.1:9003
2023-03-28T02:18:08.996+05:30 [Info] Moving index 1111:11212:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:08.996+05:30 [Info] Moving index 2222:22121:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:08.996+05:30 [Info] Moving index 3333:33131:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:08.996+05:30 [Info] Moving index 4444:44141:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:08.996+05:30 [Info] Moving index 5555:55151:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:08.996+05:30 [Info] Moving index 6666:66161:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:08.996+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9002 SG sg2 Memory 0 Units 0
2023-03-28T02:18:08.996+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9004 SG sg2 Memory 0 Units 0
2023-03-28T02:18:08.996+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:08.996+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 1000000000 Units 7000
2023-03-28T02:18:08.996+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:08.996+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg3 Memory 1100000000 Units 8100
2023-03-28T02:18:08.996+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9008] [127.0.0.1:9003 127.0.0.1:9005] [127.0.0.1:9006] [127.0.0.1:9007]]
2023-03-28T02:18:08.996+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9006] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:08.996+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9007] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:08.996+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Swap Rebalance - 4 SG, Swap 1 node each from 2 SG with 2 new nodes(different SG)
2023-03-28T02:18:08.997+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9004 127.0.0.1:9005]
2023-03-28T02:18:08.997+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9004 127.0.0.1:9005]
2023-03-28T02:18:08.997+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9001 127.0.0.1:9002]
2023-03-28T02:18:08.997+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:08.997+05:30 [Info] Planner::moveTenantsFromDeletedNodes selected newNodes for swap [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:08.997+05:30 [Info] Moving index 1111:11212:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.997+05:30 [Info] Moving index 2222:22121:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.997+05:30 [Info] Moving index 3333:33131:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.997+05:30 [Info] Moving index 4444:44141:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.997+05:30 [Info] Moving index 5555:55151:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.997+05:30 [Info] Moving index 6666:66161:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.997+05:30 [Info] Moving index 7777:17171:0 from source 127.0.0.1:9005 to dest 127.0.0.1:9003
2023-03-28T02:18:08.997+05:30 [Info] Moving index 8888:18181:0 from source 127.0.0.1:9005 to dest 127.0.0.1:9003
2023-03-28T02:18:08.997+05:30 [Info] Moving index 9999:19191:0 from source 127.0.0.1:9005 to dest 127.0.0.1:9003
2023-03-28T02:18:08.997+05:30 [Info] Moving index 101010:1101101:0 from source 127.0.0.1:9005 to dest 127.0.0.1:9003
2023-03-28T02:18:08.997+05:30 [Info] Moving index 111111:1112112:0 from source 127.0.0.1:9005 to dest 127.0.0.1:9003
2023-03-28T02:18:08.997+05:30 [Info] Moving index 121212:1121121:0 from source 127.0.0.1:9005 to dest 127.0.0.1:9003
2023-03-28T02:18:08.997+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9004 SG sg2 Memory 0 Units 0
2023-03-28T02:18:08.997+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9005 SG sg3 Memory 0 Units 0
2023-03-28T02:18:08.997+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:08.997+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:08.997+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 1000000000 Units 7000
2023-03-28T02:18:08.997+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 900000000 Units 8000
2023-03-28T02:18:08.997+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.997+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.997+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9006] [127.0.0.1:9002 127.0.0.1:9003] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:08.997+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Swap Rebalance - 4 SG, Swap 1 SG with 2 new nodes
2023-03-28T02:18:08.998+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.998+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:08.998+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9004 127.0.0.1:9001]
2023-03-28T02:18:08.998+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:08.998+05:30 [Info] Planner::moveTenantsFromDeletedNodes selected newNodes for swap [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:08.998+05:30 [Info] Moving index 1111:1212:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9003
2023-03-28T02:18:08.998+05:30 [Info] Moving index 2222:2121:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9003
2023-03-28T02:18:08.998+05:30 [Info] Moving index 3333:3131:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9003
2023-03-28T02:18:08.998+05:30 [Info] Moving index 4444:4141:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9003
2023-03-28T02:18:08.998+05:30 [Info] Moving index 5555:5151:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9003
2023-03-28T02:18:08.999+05:30 [Info] Moving index 6666:6161:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9003
2023-03-28T02:18:08.999+05:30 [Info] Moving index 1111:11212:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.999+05:30 [Info] Moving index 2222:22121:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.999+05:30 [Info] Moving index 3333:33131:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.999+05:30 [Info] Moving index 4444:44141:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.999+05:30 [Info] Moving index 5555:55151:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.999+05:30 [Info] Moving index 6666:66161:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:08.999+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9001 SG sg1 Memory 0 Units 0
2023-03-28T02:18:08.999+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9004 SG sg2 Memory 0 Units 0
2023-03-28T02:18:08.999+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:08.999+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:08.999+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:08.999+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 900000000 Units 8000
2023-03-28T02:18:08.999+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:08.999+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:08.999+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:08.999+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:08 -------------------------------------------
2023/03/28 02:18:08 Swap Rebalance - 4 SG, Swap 1 node with 2 new nodes
2023-03-28T02:18:09.000+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9004]
2023-03-28T02:18:09.000+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9004]
2023-03-28T02:18:09.000+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9001]
2023-03-28T02:18:09.000+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes [127.0.0.1:9003 127.0.0.1:9007 127.0.0.1:9008 127.0.0.1:9006]
2023-03-28T02:18:09.000+05:30 [Info] Planner::moveTenantsFromDeletedNodes selected newNodes for swap [127.0.0.1:9006 127.0.0.1:9003 127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.000+05:30 [Info] Moving index 1111:11212:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:09.000+05:30 [Info] Moving index 2222:22121:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:09.000+05:30 [Info] Moving index 3333:33131:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:09.000+05:30 [Info] Moving index 4444:44141:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:09.000+05:30 [Info] Moving index 5555:55151:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:09.000+05:30 [Info] Moving index 6666:66161:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9006
2023-03-28T02:18:09.000+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9004 SG sg2 Memory 0 Units 0
2023-03-28T02:18:09.000+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.000+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.000+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.000+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 900000000 Units 8000
2023-03-28T02:18:09.000+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9006] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003] [127.0.0.1:9008] [127.0.0.1:9007]]
2023-03-28T02:18:09.000+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9003] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:09.000+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9008] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:09.000+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9007] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:09.000+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Swap Rebalance - 4 SG, Swap 1 empty node with 2 new nodes
2023-03-28T02:18:09.001+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9004]
2023-03-28T02:18:09.001+05:30 [Info] Planner::moveTenantsFromDeletedNodes No non-empty deleted nodes found.
2023-03-28T02:18:09.001+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.001+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.001+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.001+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.001+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.001+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.001+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9006] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9003]]
2023-03-28T02:18:09.001+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket1,,,idx1,1) on 127.0.0.1:9006
2023-03-28T02:18:09.001+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket2,,,idx2,1) on 127.0.0.1:9006
2023-03-28T02:18:09.001+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket3,,,idx1,1) on 127.0.0.1:9006
2023-03-28T02:18:09.001+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket4,,,idx2,1) on 127.0.0.1:9006
2023-03-28T02:18:09.001+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket5,,,idx1,1) on 127.0.0.1:9006
2023-03-28T02:18:09.001+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket6,,,idx2,1) on 127.0.0.1:9006
2023-03-28T02:18:09.001+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9003] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:09.001+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Swap Rebalance - 1 SG, Swap 1 node - Failed swap rebalance
2023-03-28T02:18:09.002+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9004]
2023-03-28T02:18:09.002+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9004]
2023-03-28T02:18:09.002+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9001]
2023-03-28T02:18:09.002+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.002+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 1 is more than num new/empty nodes 0
2023-03-28T02:18:09.002+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.002+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.002+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg3 Memory 200000000 Units 100
2023-03-28T02:18:09.002+05:30 [Info] Planner::moveTenantsFromDeletedNodes Considering 127.0.0.1:9008 as replacement node for deleted node 127.0.0.1:9004.
2023-03-28T02:18:09.002+05:30 [Info] Moving index 1111:11212:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.002+05:30 [Info] Moving index 2222:22121:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.002+05:30 [Info] Moving index 3333:33131:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.002+05:30 [Info] Moving index 4444:44141:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.002+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9004 SG sg2 Memory 600000000 Units 4000
2023-03-28T02:18:09.002+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.002+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg3 Memory 500000000 Units 4100
2023-03-28T02:18:09.002+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9008]]
2023-03-28T02:18:09.002+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Swap Rebalance - 1 SG, Swap 2 node - server group mismatch
2023-03-28T02:18:09.003+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9001 127.0.0.1:9002]
2023-03-28T02:18:09.003+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9001 127.0.0.1:9002]
2023-03-28T02:18:09.003+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9002 127.0.0.1:9001]
2023-03-28T02:18:09.003+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes [127.0.0.1:9003 127.0.0.1:9004]
2023/03/28 02:18:09 Expected error Planner - Unable to satisfy server group constraint while replacing removed nodes with new nodes.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 subcluster, Enough Capacity
2023-03-28T02:18:09.004+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9004 127.0.0.1:9001]
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 0
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket5 MemoryUsage 350000000 UnitsUsage 2000 
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket6 MemoryUsage 250000000 UnitsUsage 2000 
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500 
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200 
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800 
2023-03-28T02:18:09.004+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500 
2023-03-28T02:18:09.005+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket17 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.005+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket14 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 500
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 500
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.005+05:30 [Info] Planner::moveTenantsFromDeletedNodes Found SubClusters Below LWM [[127.0.0.1:9003 127.0.0.1:9006] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket5 MemoryUsage 350000000 UnitsUsage 2000  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket6 MemoryUsage 250000000 UnitsUsage 2000  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket17 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket14 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.005+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9001 SG sg1 Memory 0 Units 0
2023-03-28T02:18:09.005+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9004 SG sg2 Memory 0 Units 0
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 600000000 Units 4500
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 600000000 Units 4500
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 600000000 Units 4100
2023-03-28T02:18:09.005+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 600000000 Units 4100
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800 
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 500 
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 700 
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket15 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 1000 
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket16 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.005+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 subcluster, Not Enough Capacity
2023-03-28T02:18:09.006+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9004 127.0.0.1:9001]
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 0
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket5 MemoryUsage 300000000 UnitsUsage 2000 
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket6 MemoryUsage 300000000 UnitsUsage 2000 
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500 
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200 
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800 
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500 
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket17 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket14 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.006+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.006+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.006+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 500
2023-03-28T02:18:09.006+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.006+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.006+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 500
2023-03-28T02:18:09.006+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.006+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsFromDeletedNodes Found SubClusters Below LWM [[127.0.0.1:9003 127.0.0.1:9006] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.006+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket5 MemoryUsage 300000000 UnitsUsage 2000  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.006+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket6 MemoryUsage 300000000 UnitsUsage 2000  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsToLowUsageSubCluster Unable to place TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500  on any target
2023-03-28T02:18:09.006+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.006+05:30 [Info] Planner::moveTenantsToLowUsageSubCluster Unable to place TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800  on any target
2023-03-28T02:18:09.007+05:30 [Info] Planner::moveTenantsToLowUsageSubCluster Unable to place TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500  on any target
2023-03-28T02:18:09.007+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket17 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.007+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket14 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.007+05:30 [Error] Planner - Not enough capacity to place indexes of deleted nodes.
2023/03/28 02:18:09 Expected error Planner - Not enough capacity to place indexes of deleted nodes.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 node, Pair node not deleted(Failed swap rebalance of 1 node)
2023-03-28T02:18:09.008+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9001]
2023-03-28T02:18:09.008+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9001]
2023-03-28T02:18:09.008+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9004]
2023-03-28T02:18:09.008+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.008+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 1 is more than num new/empty nodes 0
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 500
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 500
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9009 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.008+05:30 [Info] Planner::moveTenantsFromDeletedNodes Considering 127.0.0.1:9009 as replacement node for deleted node 127.0.0.1:9001.
2023-03-28T02:18:09.008+05:30 [Info] Moving index 1111:1212:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9009
2023-03-28T02:18:09.008+05:30 [Info] Moving index 2222:2121:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9009
2023-03-28T02:18:09.008+05:30 [Info] Moving index 3333:3131:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9009
2023-03-28T02:18:09.008+05:30 [Info] Moving index 4444:4141:0 from source 127.0.0.1:9001 to dest 127.0.0.1:9009
2023-03-28T02:18:09.008+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9001 SG sg1 Memory 600000000 Units 4000
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 500
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 500
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.008+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9009 SG sg1 Memory 500000000 Units 4100
2023-03-28T02:18:09.008+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006] [127.0.0.1:9004 127.0.0.1:9009] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.008+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9004 127.0.0.1:9009]]
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 500 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 700 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket15 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 1000 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket16 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9004 127.0.0.1:9009]
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket17 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket14 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.009+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9003 127.0.0.1:9006] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket10 MemoryUsage 200000000 UnitsUsage 800  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket7 MemoryUsage 25000000 UnitsUsage 500  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket9 MemoryUsage 100000000 UnitsUsage 700  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket15 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket8 MemoryUsage 75000000 UnitsUsage 1000  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket17 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket16 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.009+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket14 MemoryUsage 0 UnitsUsage 0  can be placed on [127.0.0.1:9003 127.0.0.1:9006]
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 node, Pair node already deleted
2023-03-28T02:18:09.010+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9002]
2023-03-28T02:18:09.010+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9002]
2023-03-28T02:18:09.010+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes []
2023-03-28T02:18:09.010+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.010+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 1 is more than num new/empty nodes 0
2023-03-28T02:18:09.010+05:30 [Info] Planner::moveTenantsFromDeletedNodes Pair node not found for deleted node 127.0.0.1:9002.
2023-03-28T02:18:09.010+05:30 [Error] Planner - Pair node for 127.0.0.1:9002 not found. Provide additional node as replacement.
2023/03/28 02:18:09 Expected error Planner - Pair node for 127.0.0.1:9002 not found. Provide additional node as replacement.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 subcluster, empty nodes
2023-03-28T02:18:09.011+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9005 127.0.0.1:9007 127.0.0.1:9008]
2023-03-28T02:18:09.011+05:30 [Info] Planner::moveTenantsFromDeletedNodes No non-empty deleted nodes found.
2023-03-28T02:18:09.011+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9005 SG sg3 Memory 0 Units 0
2023-03-28T02:18:09.011+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.011+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.011+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 800000000 Units 8000
2023-03-28T02:18:09.011+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 800000000 Units 7000
2023-03-28T02:18:09.011+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 500
2023-03-28T02:18:09.011+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 800000000 Units 8000
2023-03-28T02:18:09.011+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 500
2023-03-28T02:18:09.011+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.011+05:30 [Info] Planner::repairMissingReplica Found SubCluster [127.0.0.1:9002] with len 1. Skipping replica repair attempt.
2023-03-28T02:18:09.011+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 subcluster, Deleted Nodes more than added nodes
2023-03-28T02:18:09.012+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.012+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.012+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9004 127.0.0.1:9001]
2023-03-28T02:18:09.012+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes [127.0.0.1:9008]
2023-03-28T02:18:09.012+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 1
2023-03-28T02:18:09.012+05:30 [Error] Planner - Number of non-empty deleted nodes cannot be greater than number of added nodes.
2023/03/28 02:18:09 Expected error Planner - Number of non-empty deleted nodes cannot be greater than number of added nodes.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 node, Add 1 node in, server group mismatch
2023-03-28T02:18:09.013+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9006]
2023-03-28T02:18:09.013+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9006]
2023-03-28T02:18:09.013+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9003]
2023-03-28T02:18:09.013+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes [127.0.0.1:9007]
2023/03/28 02:18:09 Expected error Planner - Unable to satisfy server group constraint while replacing removed nodes with new nodes.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 node, Pair node exists
2023-03-28T02:18:09.013+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9004]
2023-03-28T02:18:09.013+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9004]
2023-03-28T02:18:09.013+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9001]
2023-03-28T02:18:09.013+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.013+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 1 is more than num new/empty nodes 0
2023-03-28T02:18:09.013+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.013+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.013+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 500
2023-03-28T02:18:09.013+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.013+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.013+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 500
2023-03-28T02:18:09.013+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.013+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.013+05:30 [Info] Planner::moveTenantsFromDeletedNodes No replacement node found for deleted node 127.0.0.1:9004.
2023-03-28T02:18:09.013+05:30 [Error] Planner - Removing node 127.0.0.1:9004 will result in losing indexes. Provide additional node as replacement.
2023/03/28 02:18:09 Expected error Planner - Removing node 127.0.0.1:9004 will result in losing indexes. Provide additional node as replacement.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 subcluster, No nodes under LWM
2023-03-28T02:18:09.014+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9004 127.0.0.1:9001]
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 0
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket5 MemoryUsage 300000000 UnitsUsage 2000 
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket6 MemoryUsage 300000000 UnitsUsage 2000 
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 120000000 UnitsUsage 1500 
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket3 MemoryUsage 80000000 UnitsUsage 1200 
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 70000000 UnitsUsage 800 
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 30000000 UnitsUsage 500 
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket14 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket17 MemoryUsage 0 UnitsUsage 0 
2023-03-28T02:18:09.014+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.014+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.014+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.014+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.014+05:30 [Info] Planner::moveTenantsFromDeletedNodes Found SubClusters Below LWM []
2023-03-28T02:18:09.014+05:30 [Error] Planner - Not enough capacity to place indexes of deleted nodes.
2023/03/28 02:18:09 Expected error Planner - Not enough capacity to place indexes of deleted nodes.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 4 SG, Move out 1 subcluster, Not Enough Capacity, Partial Subcluster
2023-03-28T02:18:09.015+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.015+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.015+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9004 127.0.0.1:9001]
2023-03-28T02:18:09.015+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.015+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 0
2023-03-28T02:18:09.015+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.015+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket1 MemoryUsage 100000000 UnitsUsage 500 
2023-03-28T02:18:09.015+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 100000000 UnitsUsage 500 
2023-03-28T02:18:09.015+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9001 SG sg1 Memory 200000000 Units 1000
2023-03-28T02:18:09.015+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.015+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9004 SG sg2 Memory 200000000 Units 1000
2023-03-28T02:18:09.015+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.015+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 500
2023-03-28T02:18:09.015+05:30 [Info] Planner::filterPartialSubClusters Filter partial subcluster [127.0.0.1:9006]
2023-03-28T02:18:09.015+05:30 [Info] Planner::moveTenantsFromDeletedNodes Found SubClusters Below LWM []
2023-03-28T02:18:09.015+05:30 [Error] Planner - Not enough capacity to place indexes of deleted nodes.
2023/03/28 02:18:09 Expected error Planner - Not enough capacity to place indexes of deleted nodes.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 2 SG, Move out 1 non-empty and 1 empty  node
2023-03-28T02:18:09.016+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9007 127.0.0.1:9004]
2023-03-28T02:18:09.016+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9004]
2023-03-28T02:18:09.016+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9001]
2023-03-28T02:18:09.016+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes [127.0.0.1:9008]
2023-03-28T02:18:09.016+05:30 [Info] Planner::moveTenantsFromDeletedNodes selected newNodes for swap [127.0.0.1:9008]
2023-03-28T02:18:09.016+05:30 [Info] Moving index 1111:11212:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.016+05:30 [Info] Moving index 2222:22121:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.016+05:30 [Info] Moving index 3333:33131:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.016+05:30 [Info] Moving index 4444:44141:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.016+05:30 [Info] Moving index 5555:55151:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.016+05:30 [Info] Moving index 6666:66161:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.016+05:30 [Info] Moving index 171717:1171171:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.016+05:30 [Info] Moving index 141414:1141141:0 from source 127.0.0.1:9004 to dest 127.0.0.1:9008
2023-03-28T02:18:09.016+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9007 SG sg1 Memory 0 Units 0
2023-03-28T02:18:09.016+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9004 SG sg2 Memory 0 Units 0
2023-03-28T02:18:09.016+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 800000000 Units 8000
2023-03-28T02:18:09.016+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 800000000 Units 8000
2023-03-28T02:18:09.016+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9008 127.0.0.1:9001]]
2023-03-28T02:18:09.016+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 2 Subclusters, 1 empty, 1 Above HWM
2023-03-28T02:18:09.017+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 9000
2023-03-28T02:18:09.017+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 9000
2023-03-28T02:18:09.017+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.017+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:09.017+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.017+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:09.017+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000 
2023-03-28T02:18:09.017+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.017+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.017+05:30 [Info] Planner::moveTenantsToLowUsageSubCluster Unable to place TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000  on any target
2023-03-28T02:18:09.017+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 600000000 Units 6000
2023-03-28T02:18:09.018+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 300000000 Units 3000
2023-03-28T02:18:09.018+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 600000000 Units 6000
2023-03-28T02:18:09.018+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 300000000 Units 3000
2023-03-28T02:18:09.018+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.018+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM [[127.0.0.1:9003 127.0.0.1:9006]]
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 2 Subclusters, 1 below LWM, 1 above HWM
2023-03-28T02:18:09.018+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 9000
2023-03-28T02:18:09.018+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:09.019+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 9000
2023-03-28T02:18:09.019+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 300000000 Units 1000
2023-03-28T02:18:09.019+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:09.019+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:09.019+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.019+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:09.019+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000 
2023-03-28T02:18:09.019+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:09.019+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.019+05:30 [Info] Planner::moveTenantsToLowUsageSubCluster Unable to place TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000  on any target
2023-03-28T02:18:09.019+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 600000000 Units 6000
2023-03-28T02:18:09.019+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 600000000 Units 4000
2023-03-28T02:18:09.019+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 600000000 Units 6000
2023-03-28T02:18:09.019+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 600000000 Units 4000
2023-03-28T02:18:09.019+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:09.019+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 3 Subclusters, 1 empty, 1 Above HWM, 1 below LWM
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 9000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 300000000 Units 1000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 9000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 300000000 Units 1000
2023-03-28T02:18:09.020+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.020+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:09.020+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.020+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:09.020+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000 
2023-03-28T02:18:09.020+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.020+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.020+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 500000000 Units 3000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 300000000 Units 3000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 400000000 Units 4000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 500000000 Units 3000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 300000000 Units 3000
2023-03-28T02:18:09.020+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.020+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.020+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.020+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.020+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.020+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.020+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 0
2023-03-28T02:18:09.020+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantsToBeMoved from source [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.020+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9003 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 500000000 Units 3000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9003 SG sg1 Memory 300000000 Units 3000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 400000000 Units 4000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 500000000 Units 3000
2023-03-28T02:18:09.020+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9006 SG sg3 Memory 300000000 Units 3000
2023-03-28T02:18:09.020+05:30 [Info] Planner::moveTenantsFromDeletedNodes Found SubClusters Below LWM []
2023-03-28T02:18:09.020+05:30 [Error] Planner - Not enough capacity to place indexes of deleted nodes.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 2 Subclusters, 1 above LWM/below HWM, 1 empty
2023-03-28T02:18:09.021+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 700000000 Units 5000
2023-03-28T02:18:09.021+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 700000000 Units 5000
2023-03-28T02:18:09.021+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.021+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 2 Subclusters, Both above LWM/below HWM
2023-03-28T02:18:09.022+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 700000000 Units 5000
2023-03-28T02:18:09.022+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 650000000 Units 4500
2023-03-28T02:18:09.022+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 700000000 Units 5000
2023-03-28T02:18:09.022+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 650000000 Units 4500
2023-03-28T02:18:09.022+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.022+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023-03-28T02:18:09.022+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 700000000 Units 5000
2023-03-28T02:18:09.022+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 650000000 Units 4500
2023-03-28T02:18:09.022+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 700000000 Units 5000
2023-03-28T02:18:09.022+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 650000000 Units 4500
2023-03-28T02:18:09.022+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.022+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 2 Subclusters, 1 empty, 1 Above HWM (partial replica repair)
2023-03-28T02:18:09.023+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 9000
2023-03-28T02:18:09.023+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 550000000 Units 5500
2023-03-28T02:18:09.023+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.023+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket4,,,idx2,0) on 127.0.0.1:9004
2023-03-28T02:18:09.023+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket5,,,idx2,0) on 127.0.0.1:9004
2023-03-28T02:18:09.023+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:09.023+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.023+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:09.023+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000 
2023-03-28T02:18:09.023+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.023+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.023+05:30 [Info] Planner::moveTenantsToLowUsageSubCluster Unable to place TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000  on any target
2023-03-28T02:18:09.023+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 600000000 Units 6000
2023-03-28T02:18:09.023+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 300000000 Units 3000
2023-03-28T02:18:09.023+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 600000000 Units 6000
2023-03-28T02:18:09.023+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 300000000 Units 3000
2023-03-28T02:18:09.023+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.023+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM [[127.0.0.1:9003 127.0.0.1:9006]]
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 2 Subclusters, 1 empty, 1 Above HWM(full replica repair)
2023-03-28T02:18:09.024+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 9000
2023-03-28T02:18:09.024+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9004 127.0.0.1:9001] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.024+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket2,,,idx1,1) on 127.0.0.1:9001
2023-03-28T02:18:09.024+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket2,,,idx2,1) on 127.0.0.1:9001
2023-03-28T02:18:09.024+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket4,,,idx1,1) on 127.0.0.1:9001
2023-03-28T02:18:09.024+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket4,,,idx2,1) on 127.0.0.1:9001
2023-03-28T02:18:09.024+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket5,,,idx1,1) on 127.0.0.1:9001
2023-03-28T02:18:09.024+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket5,,,idx2,1) on 127.0.0.1:9001
2023-03-28T02:18:09.024+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9004 127.0.0.1:9001]]
2023-03-28T02:18:09.024+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9004 127.0.0.1:9001]
2023-03-28T02:18:09.024+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:09.024+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000 
2023-03-28T02:18:09.024+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.024+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.024+05:30 [Info] Planner::moveTenantsToLowUsageSubCluster Unable to place TenantUsage - SourceId 127.0.0.1:9004 TenantId bucket2 MemoryUsage 200000000 UnitsUsage 2000  on any target
2023-03-28T02:18:09.024+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 600000000 Units 6000
2023-03-28T02:18:09.024+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 300000000 Units 3000
2023-03-28T02:18:09.024+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 600000000 Units 6000
2023-03-28T02:18:09.024+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 300000000 Units 3000
2023-03-28T02:18:09.024+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.024+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM [[127.0.0.1:9003 127.0.0.1:9006]]
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 ScaleIn- 2 Subclusters, Both below LWM, Positive Case
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 200000000 Units 1000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 2000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 200000000 Units 1000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 2000
2023-03-28T02:18:09.025+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.025+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 200000000 Units 1000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 2000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 200000000 Units 1000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 2000
2023-03-28T02:18:09.025+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.025+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.025+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.025+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.025+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.025+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.025+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 0
2023-03-28T02:18:09.025+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantsToBeMoved from source [127.0.0.1:9003 127.0.0.1:9006]
2023-03-28T02:18:09.025+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9003 TenantId bucket3 MemoryUsage 100000000 UnitsUsage 2000 
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 200000000 Units 1000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9003 SG sg1 Memory 100000000 Units 2000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 200000000 Units 1000
2023-03-28T02:18:09.025+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9006 SG sg3 Memory 100000000 Units 2000
2023-03-28T02:18:09.025+05:30 [Info] Planner::moveTenantsFromDeletedNodes Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005]]
2023-03-28T02:18:09.025+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9003 TenantId bucket3 MemoryUsage 100000000 UnitsUsage 2000  can be placed on [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.025+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9003 SG sg1 Memory 0 Units 0
2023-03-28T02:18:09.025+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9006 SG sg3 Memory 0 Units 0
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 ScaleIn- 2 Subclusters, One below LWM/ 1 Empty
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 200000000 Units 1000
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 200000000 Units 1000
2023-03-28T02:18:09.026+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.026+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 ScaleIn- 3 Subclusters, One above HWM, one below LWM and 1 Empty. No ScaleIn.
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 800000000 Units 8000
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 800000000 Units 8000
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:09.026+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.026+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:09.026+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.026+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:09.026+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 100000000 UnitsUsage 1000 
2023-03-28T02:18:09.026+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.026+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.026+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 100000000 UnitsUsage 1000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:09.026+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 400000000 Units 4000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 400000000 Units 4000
2023-03-28T02:18:09.027+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.027+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.027+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.027+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.027+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9005 127.0.0.1:9002]
2023-03-28T02:18:09.027+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.027+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 0
2023-03-28T02:18:09.027+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.027+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 100000000 UnitsUsage 1000 
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 400000000 Units 4000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 400000000 Units 4000
2023-03-28T02:18:09.027+05:30 [Info] Planner::moveTenantsFromDeletedNodes Found SubClusters Below LWM []
2023-03-28T02:18:09.027+05:30 [Error] Planner - Not enough capacity to place indexes of deleted nodes.
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 ScaleIn- 3 Subclusters, One above HWM, one below LWM and 1 Empty. ScaleIn. 
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 800000000 Units 8000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:09.027+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 800000000 Units 8000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:09.028+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.028+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:09.028+05:30 [Info] Planner::executeTenantAwareRebal TenantsToBeMoved from source [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.028+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000 
2023-03-28T02:18:09.028+05:30 [Info] Planner::executeTenantAwareRebal TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 100000000 UnitsUsage 1000 
2023-03-28T02:18:09.028+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters Below LWM [[127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.028+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket4 MemoryUsage 300000000 UnitsUsage 3000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.028+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9001 TenantId bucket2 MemoryUsage 100000000 UnitsUsage 1000  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 400000000 Units 4000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 400000000 Units 4000
2023-03-28T02:18:09.028+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.028+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.028+05:30 [Info] Planner::findPlacementForDeletedNodes Deleted Nodes [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.028+05:30 [Info] Planner::moveTenantsFromDeletedNodes nonEmptyDeletedNodes [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.028+05:30 [Info] Planner::moveTenantsFromDeletedNodes pairForDeletedNodes [127.0.0.1:9005 127.0.0.1:9002]
2023-03-28T02:18:09.028+05:30 [Info] Planner::moveTenantsFromDeletedNodes newNodes []
2023-03-28T02:18:09.028+05:30 [Info] Planner::moveTenantsFromDeletedNodes Num deleted nodes 2 is more than num new/empty nodes 0
2023-03-28T02:18:09.028+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantsToBeMoved from source [127.0.0.1:9002 127.0.0.1:9005]
2023-03-28T02:18:09.028+05:30 [Info] Planner::moveTenantsFromDeletedNodes TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 100000000 UnitsUsage 1000 
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9002 SG sg2 Memory 100000000 Units 1000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9003 SG sg1 Memory 400000000 Units 4000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 400000000 Units 4000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Skip Deleted Index Node 127.0.0.1:9005 SG sg3 Memory 100000000 Units 1000
2023-03-28T02:18:09.028+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9006 SG sg3 Memory 400000000 Units 4000
2023-03-28T02:18:09.028+05:30 [Info] Planner::moveTenantsFromDeletedNodes Found SubClusters Below LWM [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9003 127.0.0.1:9006]]
2023-03-28T02:18:09.028+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9002 TenantId bucket3 MemoryUsage 100000000 UnitsUsage 1000  can be placed on [127.0.0.1:9001 127.0.0.1:9004]
2023-03-28T02:18:09.028+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9002 SG sg2 Memory 0 Units 0
2023-03-28T02:18:09.028+05:30 [Info] Planner::findPlacementForDeletedNodes Remove Deleted Node from solution 127.0.0.1:9005 SG sg3 Memory 0 Units 0
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Rebalance - 1 Subcluster, Below HWM (partial replica repair)
2023-03-28T02:18:09.029+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 500000000 Units 800
2023-03-28T02:18:09.029+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 350000000 Units 500
2023-03-28T02:18:09.029+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:09.029+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket4,,,idx2,0) on 127.0.0.1:9004
2023-03-28T02:18:09.029+05:30 [Info] Planner::placeMissingReplicaOnTarget Rebuilding lost replica for (bucket5,,,idx2,0) on 127.0.0.1:9004
2023-03-28T02:18:09.029+05:30 [Info] Planner::executeTenantAwareRebal Found SubClusters above HWM []
2023-03-28T02:18:09.029+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 500000000 Units 800
2023-03-28T02:18:09.029+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 500000000 Units 800
2023-03-28T02:18:09.029+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004]]
2023-03-28T02:18:09.029+05:30 [Info] Planner::evaluateSolutionForScaleIn Found SubClusters below LWM [[127.0.0.1:9001 127.0.0.1:9004]]
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Resume - 1 tenant, Empty node in cluster.
2023-03-28T02:18:09.030+05:30 [Info] Planner::executeTenantAwarePlanForResume Resume Nodes [127.0.0.1:9011 127.0.0.1:9012]
2023-03-28T02:18:09.030+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.030+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.030+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.030+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.030+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.030+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.030+05:30 [Info] Planner::executeTenantAwarePlanForResume Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.030+05:30 [Info] Planner::executeTenantAwarePlanForResume TenantToBeResumed TenantUsage - SourceId 127.0.0.1:9011 TenantId resume_tenant_a MemoryUsage 250000000 UnitsUsage 250 
2023-03-28T02:18:09.030+05:30 [Info] Planner::executeTenantAwarePlanForResume Found SubClusters Below LWM [[127.0.0.1:9007 127.0.0.1:9008] [127.0.0.1:9006 127.0.0.1:9003]]
2023-03-28T02:18:09.030+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9011 TenantId resume_tenant_a MemoryUsage 250000000 UnitsUsage 250  can be placed on [127.0.0.1:9006 127.0.0.1:9003]
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Resume - 1 tenant, No empty node in cluster.
2023-03-28T02:18:09.032+05:30 [Info] Planner::executeTenantAwarePlanForResume Resume Nodes [127.0.0.1:9011 127.0.0.1:9012]
2023-03-28T02:18:09.032+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.032+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.032+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.032+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.032+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.032+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.032+05:30 [Info] Planner::executeTenantAwarePlanForResume Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.032+05:30 [Info] Planner::executeTenantAwarePlanForResume TenantToBeResumed TenantUsage - SourceId 127.0.0.1:9011 TenantId resume_tenant_a MemoryUsage 250000000 UnitsUsage 250 
2023-03-28T02:18:09.032+05:30 [Info] Planner::executeTenantAwarePlanForResume Found SubClusters Below LWM [[127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.032+05:30 [Info] Planner::findTenantPlacement TenantUsage - SourceId 127.0.0.1:9011 TenantId resume_tenant_a MemoryUsage 250000000 UnitsUsage 250  can be placed on [127.0.0.1:9007 127.0.0.1:9008]
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Resume - 1 tenant, No node below LWM in the cluster.
2023-03-28T02:18:09.034+05:30 [Info] Planner::executeTenantAwarePlanForResume Resume Nodes [127.0.0.1:9011 127.0.0.1:9012]
2023-03-28T02:18:09.034+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.034+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.034+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.034+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.034+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 5000
2023-03-28T02:18:09.034+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 5000
2023-03-28T02:18:09.034+05:30 [Info] Planner::executeTenantAwarePlanForResume Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.034+05:30 [Info] Planner::executeTenantAwarePlanForResume TenantToBeResumed TenantUsage - SourceId 127.0.0.1:9011 TenantId resume_tenant_a MemoryUsage 250000000 UnitsUsage 250 
2023-03-28T02:18:09.034+05:30 [Info] Planner::executeTenantAwarePlanForResume Found SubClusters Below LWM []
2023/03/28 02:18:09 Expected error No SubCluster Below Low Usage Threshold
2023/03/28 02:18:09 -------------------------------------------
2023/03/28 02:18:09 Resume - 1 tenant, Not enough capacity in the cluster.
2023-03-28T02:18:09.035+05:30 [Info] Planner::executeTenantAwarePlanForResume Resume Nodes [127.0.0.1:9011 127.0.0.1:9012]
2023-03-28T02:18:09.036+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9001 SG sg1 Memory 900000000 Units 8000
2023-03-28T02:18:09.036+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9002 SG sg2 Memory 1000000000 Units 7000
2023-03-28T02:18:09.036+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9004 SG sg2 Memory 900000000 Units 8000
2023-03-28T02:18:09.036+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9005 SG sg3 Memory 1000000000 Units 7000
2023-03-28T02:18:09.036+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9007 SG sg1 Memory 200000000 Units 100
2023-03-28T02:18:09.036+05:30 [Info] Planner::groupIndexNodesIntoSubClusters Index Node 127.0.0.1:9008 SG sg2 Memory 200000000 Units 100
2023-03-28T02:18:09.036+05:30 [Info] Planner::executeTenantAwarePlanForResume Found SubClusters  [[127.0.0.1:9001 127.0.0.1:9004] [127.0.0.1:9002 127.0.0.1:9005] [127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.036+05:30 [Info] Planner::executeTenantAwarePlanForResume TenantToBeResumed TenantUsage - SourceId 127.0.0.1:9011 TenantId resume_tenant_a MemoryUsage 700000000 UnitsUsage 250 
2023-03-28T02:18:09.036+05:30 [Info] Planner::executeTenantAwarePlanForResume Found SubClusters Below LWM [[127.0.0.1:9007 127.0.0.1:9008]]
2023-03-28T02:18:09.036+05:30 [Info] Planner::moveTenantsToLowUsageSubCluster Unable to place TenantUsage - SourceId 127.0.0.1:9011 TenantId resume_tenant_a MemoryUsage 700000000 UnitsUsage 250  on any target
2023/03/28 02:18:09 Expected error Not Enough Capacity To Place Tenant
--- PASS: TestTenantAwarePlanner (0.10s)
=== RUN   TestRestfulAPI
2023/03/28 02:18:09 In TestRestfulAPI()
2023/03/28 02:18:09 In DropAllSecondaryIndexes()
2023/03/28 02:18:09 Index found:  indexmut_1
2023/03/28 02:18:09 Dropped index indexmut_1
2023/03/28 02:18:09 Setting JSON docs in KV
2023/03/28 02:18:10 GET all indexes
2023/03/28 02:18:10 200 OK
2023/03/28 02:18:10 FOUND indexes: []
2023/03/28 02:18:10 DROP index: badindexid
2023/03/28 02:18:10 status: 400 Bad Request
2023/03/28 02:18:10 DROP index: 23544142
2023/03/28 02:18:10 status: 500 Internal Server Error
2023/03/28 02:18:10 TEST: malformed body
2023/03/28 02:18:10 400 Bad Request "invalid request body ({name:), unmarshal failed invalid character 'n' looking for beginning of object key string"

2023/03/28 02:18:10 TEST: missing field ``name``
2023/03/28 02:18:10 400 Bad Request "missing field name"
2023/03/28 02:18:10 TEST: empty field ``name``
2023/03/28 02:18:10 400 Bad Request "empty field name"
2023/03/28 02:18:10 TEST: missing field ``bucket``
2023/03/28 02:18:10 400 Bad Request "missing field bucket"
2023/03/28 02:18:10 TEST: empty field ``bucket``
2023/03/28 02:18:10 400 Bad Request "empty field bucket"
2023/03/28 02:18:10 TEST: missing field ``secExprs``
2023/03/28 02:18:10 400 Bad Request "missing field secExprs"
2023/03/28 02:18:10 TEST: empty field ``secExprs``
2023/03/28 02:18:10 400 Bad Request "empty field secExprs"
2023/03/28 02:18:10 TEST: incomplete field ``desc``
2023/03/28 02:18:10 400 Bad Request "incomplete desc information [true]"
2023/03/28 02:18:10 TEST: invalid field ``desc``
2023/03/28 02:18:10 400 Bad Request "incomplete desc information [1]"
2023/03/28 02:18:10 
2023/03/28 02:18:10 CREATE INDEX: idx1
2023/03/28 02:18:19 status : 201 Created
2023/03/28 02:18:19 {"id": "15405204706045615076"} 
2023/03/28 02:18:19 CREATE INDEX: idx2 (defer)
2023/03/28 02:18:20 status : 201 Created
2023/03/28 02:18:20 {"id": "12598890456040505725"} 
2023/03/28 02:18:20 CREATE INDEX: idx3 (defer)
2023/03/28 02:18:20 status : 201 Created
2023/03/28 02:18:20 {"id": "2960015568045976326"} 
2023/03/28 02:18:20 CREATE INDEX: idx4 (defer)
2023/03/28 02:18:20 status : 201 Created
2023/03/28 02:18:20 {"id": "850610431510519658"} 
2023/03/28 02:18:20 CREATE INDEX: idx5
2023/03/28 02:18:32 status : 201 Created
2023/03/28 02:18:32 {"id": "9066892208635173301"} 
2023/03/28 02:18:32 BUILD single deferred index
2023/03/28 02:18:32 202 Accepted
2023/03/28 02:18:32 GET all indexes
2023/03/28 02:18:32 200 OK
2023/03/28 02:18:32 index idx1 in INDEX_STATE_ACTIVE
2023/03/28 02:18:32 GET all indexes
2023/03/28 02:18:32 200 OK
2023/03/28 02:18:32 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:33 GET all indexes
2023/03/28 02:18:33 200 OK
2023/03/28 02:18:33 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:34 GET all indexes
2023/03/28 02:18:34 200 OK
2023/03/28 02:18:34 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:36 GET all indexes
2023/03/28 02:18:36 200 OK
2023/03/28 02:18:36 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:37 GET all indexes
2023/03/28 02:18:37 200 OK
2023/03/28 02:18:37 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:38 GET all indexes
2023/03/28 02:18:38 200 OK
2023/03/28 02:18:38 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:39 GET all indexes
2023/03/28 02:18:39 200 OK
2023/03/28 02:18:39 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:40 GET all indexes
2023/03/28 02:18:40 200 OK
2023/03/28 02:18:40 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:41 GET all indexes
2023/03/28 02:18:41 200 OK
2023/03/28 02:18:41 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:42 GET all indexes
2023/03/28 02:18:42 200 OK
2023/03/28 02:18:42 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:43 GET all indexes
2023/03/28 02:18:43 200 OK
2023/03/28 02:18:43 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:44 GET all indexes
2023/03/28 02:18:44 200 OK
2023/03/28 02:18:44 index idx2 in INDEX_STATE_INITIAL
2023/03/28 02:18:45 GET all indexes
2023/03/28 02:18:45 200 OK
2023/03/28 02:18:45 index idx2 in INDEX_STATE_ACTIVE
2023/03/28 02:18:45 BUILD many deferred index
2023/03/28 02:18:45 202 Accepted 
2023/03/28 02:18:45 GET all indexes
2023/03/28 02:18:45 200 OK
2023/03/28 02:18:45 index idx1 in INDEX_STATE_ACTIVE
2023/03/28 02:18:45 GET all indexes
2023/03/28 02:18:45 200 OK
2023/03/28 02:18:45 index idx2 in INDEX_STATE_ACTIVE
2023/03/28 02:18:45 GET all indexes
2023/03/28 02:18:45 200 OK
2023/03/28 02:18:45 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:46 GET all indexes
2023/03/28 02:18:46 200 OK
2023/03/28 02:18:46 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:47 GET all indexes
2023/03/28 02:18:47 200 OK
2023/03/28 02:18:47 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:48 GET all indexes
2023/03/28 02:18:48 200 OK
2023/03/28 02:18:48 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:49 GET all indexes
2023/03/28 02:18:49 200 OK
2023/03/28 02:18:49 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:50 GET all indexes
2023/03/28 02:18:50 200 OK
2023/03/28 02:18:50 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:51 GET all indexes
2023/03/28 02:18:51 200 OK
2023/03/28 02:18:51 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:52 GET all indexes
2023/03/28 02:18:53 200 OK
2023/03/28 02:18:53 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:54 GET all indexes
2023/03/28 02:18:54 200 OK
2023/03/28 02:18:54 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:55 GET all indexes
2023/03/28 02:18:55 200 OK
2023/03/28 02:18:55 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:56 GET all indexes
2023/03/28 02:18:56 200 OK
2023/03/28 02:18:56 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:57 GET all indexes
2023/03/28 02:18:57 200 OK
2023/03/28 02:18:57 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:58 GET all indexes
2023/03/28 02:18:58 200 OK
2023/03/28 02:18:58 index idx3 in INDEX_STATE_INITIAL
2023/03/28 02:18:59 GET all indexes
2023/03/28 02:18:59 200 OK
2023/03/28 02:18:59 index idx3 in INDEX_STATE_CATCHUP
2023/03/28 02:19:00 GET all indexes
2023/03/28 02:19:00 200 OK
2023/03/28 02:19:00 index idx3 in INDEX_STATE_ACTIVE
2023/03/28 02:19:00 GET all indexes
2023/03/28 02:19:00 200 OK
2023/03/28 02:19:00 index idx4 in INDEX_STATE_ACTIVE
2023/03/28 02:19:00 GET all indexes
2023/03/28 02:19:00 200 OK
2023/03/28 02:19:00 index idx5 in INDEX_STATE_ACTIVE
2023/03/28 02:19:00 GET all indexes
2023/03/28 02:19:00 200 OK
2023/03/28 02:19:00 CREATED indexes: [15405204706045615076 12598890456040505725 2960015568045976326 850610431510519658 9066892208635173301]
2023/03/28 02:19:00 
2023/03/28 02:19:00 LOOKUP missing index
2023/03/28 02:19:00 status : 404 Not Found
2023/03/28 02:19:00 LOOKUP Pyongyang
2023/03/28 02:19:00 status : 200 OK
2023/03/28 02:19:00 number of entries 554
2023/03/28 02:19:00 Expected and Actual scan responses are the same
2023/03/28 02:19:00 LOOKUP with stale as false
2023/03/28 02:19:00 status : 200 OK
2023/03/28 02:19:00 number of entries 554
2023/03/28 02:19:00 Expected and Actual scan responses are the same
2023/03/28 02:19:00 LOOKUP with Rome
2023/03/28 02:19:00 status : 200 OK
2023/03/28 02:19:00 number of entries 540
2023/03/28 02:19:00 Expected and Actual scan responses are the same
2023/03/28 02:19:00 RANGE missing index
2023/03/28 02:19:00 Status : 404 Not Found
2023/03/28 02:19:00 RANGE cities - none
2023/03/28 02:19:00 Status : 200 OK
2023/03/28 02:19:05 number of entries 140902
2023/03/28 02:19:06 Expected and Actual scan responses are the same
2023/03/28 02:19:06 RANGE cities -low
2023/03/28 02:19:06 Status : 200 OK
2023/03/28 02:19:10 number of entries 140902
2023/03/28 02:19:11 Expected and Actual scan responses are the same
2023/03/28 02:19:11 RANGE cities -high
2023/03/28 02:19:11 Status : 200 OK
2023/03/28 02:19:16 number of entries 140902
2023/03/28 02:19:17 Expected and Actual scan responses are the same
2023/03/28 02:19:17 RANGE cities - both
2023/03/28 02:19:17 Status : 200 OK
2023/03/28 02:19:21 number of entries 140902
2023/03/28 02:19:22 Expected and Actual scan responses are the same
2023/03/28 02:19:22 RANGE missing cities
2023/03/28 02:19:22 Status : 200 OK
2023/03/28 02:19:22 number of entries 0
2023/03/28 02:19:22 Expected and Actual scan responses are the same
2023/03/28 02:19:22 
2023/03/28 02:19:22 SCANALL missing index
2023/03/28 02:19:22 {"limit":1000000,"stale":"ok"}
2023/03/28 02:19:22 Status : 404 Not Found
2023/03/28 02:19:22 SCANALL stale ok
2023/03/28 02:19:22 {"limit":1000000,"stale":"ok"}
2023/03/28 02:19:22 Status : 200 OK
2023/03/28 02:19:27 number of entries 140902
2023/03/28 02:19:28 Expected and Actual scan responses are the same
2023/03/28 02:19:28 SCANALL stale false
2023/03/28 02:19:28 {"limit":1000000,"stale":"false"}
2023/03/28 02:19:28 Status : 200 OK
2023/03/28 02:19:33 number of entries 140902
2023/03/28 02:19:33 Expected and Actual scan responses are the same
2023/03/28 02:19:33 
2023/03/28 02:19:33 COUNT missing index
2023/03/28 02:19:34 Status : 404 Not Found
2023/03/28 02:19:34 COUNT cities - none
2023/03/28 02:19:34 Status : 200 OK
2023/03/28 02:19:34 number of entries 140902
2023/03/28 02:19:34 COUNT cities -low
2023/03/28 02:19:34 Status : 200 OK
2023/03/28 02:19:34 number of entries 140902
2023/03/28 02:19:34 COUNT cities -high
2023/03/28 02:19:34 Status : 200 OK
2023/03/28 02:19:34 number of entries 140902
2023/03/28 02:19:34 COUNT cities - both
2023/03/28 02:19:34 Status : 200 OK
2023/03/28 02:19:34 number of entries 140902
2023/03/28 02:19:35 COUNT missing cities
2023/03/28 02:19:35 Status : 200 OK
2023/03/28 02:19:35 number of entries 0
2023/03/28 02:19:35 
2023/03/28 02:19:36 STATS: Testing URLs with valid authentication
2023/03/28 02:19:36 STATS: Testing URLs with invalid authentication
2023/03/28 02:19:36 STATS: Testing invalid URLs
2023/03/28 02:19:36 STATS: Testing unsupported methods
2023/03/28 02:19:36 
--- PASS: TestRestfulAPI (87.68s)
=== RUN   TestStatIndexInstFilter
2023/03/28 02:19:36 CREATE INDEX: statIdx1
2023/03/28 02:19:47 status : 201 Created
2023/03/28 02:19:47 {"id": "1885925256141839563"} 
2023/03/28 02:19:47 CREATE INDEX: statIdx2
2023/03/28 02:20:00 status : 201 Created
2023/03/28 02:20:00 {"id": "3913916047111146431"} 
2023/03/28 02:20:00 Instance Id for statIdx2 is 18240447869296486061, common.IndexInstId
--- PASS: TestStatIndexInstFilter (23.53s)
=== RUN   TestBucketDefaultDelete
2023-03-28T02:20:00.362+05:30 [Warn] Client:runObserveStreamingEndpoint streaming endpoint for /pools/default/bs/default returned err EOF
2023-03-28T02:20:00.362+05:30 [Warn] serviceChangeNotifier: Connection terminated for collection manifest notifier instance of http://%40query@127.0.0.1:9000, default, bucket: default, (EOF)
2023/03/28 02:20:02 Deleted bucket default, responseBody: 
2023/03/28 02:20:18 Created bucket default, responseBody: 
2023/03/28 02:20:34 Populating the default bucket
2023/03/28 02:20:41 Using n1ql client
2023-03-28T02:20:41.770+05:30 [Info] GSIC[default/default-_default-_default-1679950241767813469] started ...
2023/03/28 02:20:41 Scan failed as expected with error: Index Not Found - cause: GSI index index_isActive not found.
2023/03/28 02:20:41 Populating the default bucket after it was deleted
2023/03/28 02:20:51 Created the secondary index index_isActive. Waiting for it become active
2023/03/28 02:20:51 Index is 3469888432185421060 now active
2023/03/28 02:20:51 Using n1ql client
2023/03/28 02:20:51 Expected and Actual scan responses are the same
--- PASS: TestBucketDefaultDelete (51.31s)
=== RUN   TestMixedDatatypesScanAll
2023/03/28 02:20:51 In TestMixedDatatypesScanAll()
2023/03/28 02:20:51 Before test begin: Length of kv docs is 10002
2023/03/28 02:20:51 In DropAllSecondaryIndexes()
2023/03/28 02:20:51 Index found:  index_isActive
2023/03/28 02:20:51 Dropped index index_isActive
2023/03/28 02:20:51 Number of number fields is: 258
2023/03/28 02:20:51 Number of string fields is: 249
2023/03/28 02:20:51 Number of json fields is: 270
2023/03/28 02:20:51 Number of true bool fields is: 110
2023/03/28 02:20:51 Number of false bool fields is: 113
2023/03/28 02:20:51 After generate docs: Length of kv docs is 11002
2023/03/28 02:20:51 Setting mixed datatypes JSON docs in KV
2023/03/28 02:20:56 Created the secondary index index_mixeddt. Waiting for it become active
2023/03/28 02:20:56 Index is 12204689653062315310 now active
2023/03/28 02:20:56 Using n1ql client
2023/03/28 02:20:57 Expected and Actual scan responses are the same
2023/03/28 02:20:57 Lengths of expected and actual scan results are:  1000 and 1000
2023/03/28 02:20:57 End: Length of kv docs is 11002
--- PASS: TestMixedDatatypesScanAll (5.47s)
=== RUN   TestMixedDatatypesRange_Float
2023/03/28 02:20:57 In TestMixedDatatypesRange_Float()
2023/03/28 02:20:57 In DropAllSecondaryIndexes()
2023/03/28 02:20:57 Index found:  index_mixeddt
2023/03/28 02:20:57 Dropped index index_mixeddt
2023/03/28 02:20:57 Number of number fields is: 245
2023/03/28 02:20:57 Number of string fields is: 251
2023/03/28 02:20:57 Number of json fields is: 250
2023/03/28 02:20:57 Number of true bool fields is: 123
2023/03/28 02:20:57 Number of false bool fields is: 131
2023/03/28 02:20:57 Setting mixed datatypes JSON docs in KV
2023/03/28 02:21:02 Created the secondary index index_mixeddt. Waiting for it become active
2023/03/28 02:21:02 Index is 8591721083809151522 now active
2023/03/28 02:21:02 Using n1ql client
2023/03/28 02:21:02 Expected and Actual scan responses are the same
2023/03/28 02:21:02 Lengths of expected and actual scan results are:  24 and 24
2023/03/28 02:21:02 Using n1ql client
2023/03/28 02:21:02 Expected and Actual scan responses are the same
2023/03/28 02:21:02 Lengths of expected and actual scan results are:  3 and 3
2023/03/28 02:21:02 Length of kv docs is 12002
--- PASS: TestMixedDatatypesRange_Float (5.67s)
=== RUN   TestMixedDatatypesRange_String
2023/03/28 02:21:02 In TestMixedDatatypesRange_String()
2023/03/28 02:21:02 In DropAllSecondaryIndexes()
2023/03/28 02:21:02 Index found:  index_mixeddt
2023/03/28 02:21:02 Dropped index index_mixeddt
2023/03/28 02:21:02 Number of number fields is: 242
2023/03/28 02:21:02 Number of string fields is: 271
2023/03/28 02:21:02 Number of json fields is: 229
2023/03/28 02:21:02 Number of true bool fields is: 135
2023/03/28 02:21:02 Number of false bool fields is: 123
2023/03/28 02:21:02 Setting mixed datatypes JSON docs in KV
2023/03/28 02:21:08 Created the secondary index index_mixeddt. Waiting for it become active
2023/03/28 02:21:08 Index is 15620773594451318699 now active
2023/03/28 02:21:08 Using n1ql client
2023/03/28 02:21:08 Expected and Actual scan responses are the same
2023/03/28 02:21:08 Lengths of expected and actual scan results are:  236 and 236
2023/03/28 02:21:08 Length of kv docs is 13002
--- PASS: TestMixedDatatypesRange_String (5.97s)
=== RUN   TestMixedDatatypesRange_Json
2023/03/28 02:21:08 In TestMixedDatatypesRange_Json()
2023/03/28 02:21:08 In DropAllSecondaryIndexes()
2023/03/28 02:21:08 Index found:  index_mixeddt
2023/03/28 02:21:08 Dropped index index_mixeddt
2023/03/28 02:21:08 Number of number fields is: 247
2023/03/28 02:21:08 Number of string fields is: 260
2023/03/28 02:21:08 Number of json fields is: 230
2023/03/28 02:21:08 Number of true bool fields is: 122
2023/03/28 02:21:08 Number of false bool fields is: 141
2023/03/28 02:21:08 Setting mixed datatypes JSON docs in KV
2023/03/28 02:21:15 Created the secondary index index_mixeddt. Waiting for it become active
2023/03/28 02:21:15 Index is 13251849145845763523 now active
2023/03/28 02:21:15 Using n1ql client
2023/03/28 02:21:15 Expected and Actual scan responses are the same
2023/03/28 02:21:15 Lengths of expected and actual scan results are:  709 and 709
2023/03/28 02:21:15 Length of kv docs is 14002
--- PASS: TestMixedDatatypesRange_Json (6.58s)
=== RUN   TestMixedDatatypesScan_Bool
2023/03/28 02:21:15 In TestMixedDatatypesScan_Bool()
2023/03/28 02:21:15 In DropAllSecondaryIndexes()
2023/03/28 02:21:15 Index found:  index_mixeddt
2023/03/28 02:21:15 Dropped index index_mixeddt
2023/03/28 02:21:15 Number of number fields is: 262
2023/03/28 02:21:15 Number of string fields is: 235
2023/03/28 02:21:15 Number of json fields is: 253
2023/03/28 02:21:15 Number of true bool fields is: 133
2023/03/28 02:21:15 Number of false bool fields is: 117
2023/03/28 02:21:15 Setting mixed datatypes JSON docs in KV
2023/03/28 02:21:21 Created the secondary index index_mixeddt. Waiting for it become active
2023/03/28 02:21:21 Index is 10169737703292529209 now active
2023/03/28 02:21:21 Using n1ql client
2023/03/28 02:21:21 Expected and Actual scan responses are the same
2023/03/28 02:21:21 Lengths of expected and actual scan results are:  513 and 513
2023/03/28 02:21:21 Using n1ql client
2023/03/28 02:21:21 Expected and Actual scan responses are the same
2023/03/28 02:21:21 Lengths of expected and actual scan results are:  512 and 512
2023/03/28 02:21:21 Length of kv docs is 15002
--- PASS: TestMixedDatatypesScan_Bool (6.51s)
=== RUN   TestLargeSecondaryKeyLength
2023/03/28 02:21:21 In TestLargeSecondaryKeyLength()
2023/03/28 02:21:21 In DropAllSecondaryIndexes()
2023/03/28 02:21:21 Index found:  index_mixeddt
2023/03/28 02:21:21 Dropped index index_mixeddt
2023/03/28 02:21:22 Setting JSON docs in KV
2023/03/28 02:21:27 Created the secondary index index_LongSecField. Waiting for it become active
2023/03/28 02:21:27 Index is 13368914662703632202 now active
2023/03/28 02:21:27 Using n1ql client
2023/03/28 02:21:27 ScanAll: Lengths of expected and actual scan results are:  1000 and 1000
2023/03/28 02:21:27 Expected and Actual scan responses are the same
2023/03/28 02:21:27 Using n1ql client
2023/03/28 02:21:27 Range: Lengths of expected and actual scan results are:  812 and 812
2023/03/28 02:21:27 Expected and Actual scan responses are the same
2023/03/28 02:21:27 End: Length of kv docs is 16002
--- PASS: TestLargeSecondaryKeyLength (6.01s)
=== RUN   TestLargePrimaryKeyLength
2023/03/28 02:21:27 In TestLargePrimaryKeyLength()
2023/03/28 02:21:27 In DropAllSecondaryIndexes()
2023/03/28 02:21:27 Index found:  index_LongSecField
2023/03/28 02:21:27 Dropped index index_LongSecField
2023/03/28 02:21:27 Setting JSON docs in KV
2023/03/28 02:21:34 Created the secondary index index_LongPrimaryField. Waiting for it become active
2023/03/28 02:21:34 Index is 16554090139878401961 now active
2023/03/28 02:21:34 Using n1ql client
2023/03/28 02:21:34 Lengths of num of docs and scanResults are:  17002 and 17002
2023/03/28 02:21:34 End: Length of kv docs is 17002
--- PASS: TestLargePrimaryKeyLength (6.58s)
=== RUN   TestUpdateMutations_DeleteField
2023/03/28 02:21:34 In TestUpdateMutations_DeleteField()
2023/03/28 02:21:34 Setting JSON docs in KV
2023/03/28 02:21:41 Created the secondary index index_bal. Waiting for it become active
2023/03/28 02:21:41 Index is 3988386483126611274 now active
2023/03/28 02:21:41 Using n1ql client
2023/03/28 02:21:42 Expected and Actual scan responses are the same
2023/03/28 02:21:42 Using n1ql client
2023/03/28 02:21:42 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_DeleteField (8.07s)
=== RUN   TestUpdateMutations_AddField
2023/03/28 02:21:42 In TestUpdateMutations_AddField()
2023/03/28 02:21:42 Setting JSON docs in KV
2023/03/28 02:21:49 Created the secondary index index_newField. Waiting for it become active
2023/03/28 02:21:49 Index is 5843095864714991315 now active
2023/03/28 02:21:49 Using n1ql client
2023/03/28 02:21:49 Count of scan results before add field mutations:  0
2023/03/28 02:21:49 Expected and Actual scan responses are the same
2023/03/28 02:21:49 Using n1ql client
2023/03/28 02:21:49 Count of scan results after add field mutations:  300
2023/03/28 02:21:49 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_AddField (7.52s)
=== RUN   TestUpdateMutations_DataTypeChange
2023/03/28 02:21:49 In TestUpdateMutations_DataTypeChange()
2023/03/28 02:21:50 Setting JSON docs in KV
2023/03/28 02:21:58 Created the secondary index index_isUserActive. Waiting for it become active
2023/03/28 02:21:58 Index is 2447335661828251025 now active
2023/03/28 02:21:58 Using n1ql client
2023/03/28 02:21:58 Expected and Actual scan responses are the same
2023/03/28 02:21:58 Using n1ql client
2023/03/28 02:21:58 Expected and Actual scan responses are the same
2023/03/28 02:21:58 Using n1ql client
2023/03/28 02:21:58 Expected and Actual scan responses are the same
2023/03/28 02:21:58 Using n1ql client
2023/03/28 02:21:58 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_DataTypeChange (8.74s)
=== RUN   TestMultipleBuckets
2023/03/28 02:21:58 In TestMultipleBuckets()
2023/03/28 02:21:58 In DropAllSecondaryIndexes()
2023/03/28 02:21:58 Index found:  index_newField
2023/03/28 02:21:58 Dropped index index_newField
2023/03/28 02:21:58 Index found:  index_isUserActive
2023/03/28 02:21:58 Dropped index index_isUserActive
2023/03/28 02:21:58 Index found:  index_LongPrimaryField
2023/03/28 02:21:58 Dropped index index_LongPrimaryField
2023/03/28 02:21:58 Index found:  index_bal
2023/03/28 02:21:59 Dropped index index_bal
2023/03/28 02:22:37 Flushed the bucket default, Response body: 
2023/03/28 02:22:40 Modified parameters of bucket default, responseBody: 
2023/03/28 02:22:40 Created bucket testbucket2, responseBody: 
2023/03/28 02:22:40 Created bucket testbucket3, responseBody: 
2023/03/28 02:22:40 Created bucket testbucket4, responseBody: 
2023/03/28 02:22:55 Generating docs and Populating all the buckets
2023/03/28 02:22:59 Created the secondary index bucket1_age. Waiting for it become active
2023/03/28 02:22:59 Index is 2102248028513650169 now active
2023/03/28 02:23:06 Created the secondary index bucket2_city. Waiting for it become active
2023/03/28 02:23:06 Index is 15067397238292344147 now active
2023/03/28 02:23:11 Created the secondary index bucket3_gender. Waiting for it become active
2023/03/28 02:23:11 Index is 5421035436637743368 now active
2023/03/28 02:23:18 Created the secondary index bucket4_balance. Waiting for it become active
2023/03/28 02:23:18 Index is 14520596563707512032 now active
2023/03/28 02:23:21 Using n1ql client
2023/03/28 02:23:21 Expected and Actual scan responses are the same
2023/03/28 02:23:21 Using n1ql client
2023-03-28T02:23:21.413+05:30 [Info] GSIC[default/testbucket2-_default-_default-1679950401407526456] started ...
2023/03/28 02:23:21 Expected and Actual scan responses are the same
2023/03/28 02:23:21 Using n1ql client
2023-03-28T02:23:21.426+05:30 [Info] GSIC[default/testbucket3-_default-_default-1679950401421722604] started ...
2023/03/28 02:23:21 Expected and Actual scan responses are the same
2023/03/28 02:23:21 Using n1ql client
2023-03-28T02:23:21.443+05:30 [Info] GSIC[default/testbucket4-_default-_default-1679950401435254635] started ...
2023/03/28 02:23:21 Expected and Actual scan responses are the same
2023/03/28 02:23:23 Deleted bucket testbucket2, responseBody: 
2023/03/28 02:23:25 Deleted bucket testbucket3, responseBody: 
2023/03/28 02:23:27 Deleted bucket testbucket4, responseBody: 
2023/03/28 02:23:30 Modified parameters of bucket default, responseBody: 
--- PASS: TestMultipleBuckets (107.02s)
=== RUN   TestBucketFlush
2023/03/28 02:23:45 In TestBucketFlush()
2023/03/28 02:23:45 In DropAllSecondaryIndexes()
2023/03/28 02:23:45 Index found:  bucket1_age
2023/03/28 02:23:45 Dropped index bucket1_age
2023/03/28 02:24:23 Flushed the bucket default, Response body: 
2023/03/28 02:24:27 Created the secondary index index_age. Waiting for it become active
2023/03/28 02:24:27 Index is 5037972102285043046 now active
2023/03/28 02:24:27 Using n1ql client
2023/03/28 02:24:27 Expected and Actual scan responses are the same
2023/03/28 02:24:33 Created the secondary index index_gender. Waiting for it become active
2023/03/28 02:24:33 Index is 2490526579663564683 now active
2023/03/28 02:24:33 Using n1ql client
2023/03/28 02:24:33 Expected and Actual scan responses are the same
2023/03/28 02:24:39 Created the secondary index index_city. Waiting for it become active
2023/03/28 02:24:39 Index is 11541020863387266929 now active
2023/03/28 02:24:39 Using n1ql client
2023/03/28 02:24:39 Expected and Actual scan responses are the same
2023/03/28 02:25:17 Flushed the bucket default, Response body: 
2023/03/28 02:25:17 TestBucketFlush:: Flushed the bucket
2023/03/28 02:25:17 Using n1ql client
2023/03/28 02:25:17 Using n1ql client
2023/03/28 02:25:17 Using n1ql client
--- PASS: TestBucketFlush (91.62s)
=== RUN   TestLargeDocumentSize
2023/03/28 02:25:17 In TestLargeDocumentSize()
2023/03/28 02:25:17 Data file exists. Skipping download
2023/03/28 02:25:17 Length of docs and largeDocs = 200 and 200
2023/03/28 02:25:21 Created the secondary index index_userscreenname. Waiting for it become active
2023/03/28 02:25:21 Index is 16796105996931258669 now active
2023/03/28 02:25:21 Using n1ql client
2023/03/28 02:25:21 Expected and Actual scan responses are the same
--- PASS: TestLargeDocumentSize (4.38s)
=== RUN   TestFieldsWithSpecialCharacters
2023/03/28 02:25:21 In TestFieldsWithSpecialCharacters()
2023/03/28 02:25:27 Created the secondary index index_specialchar. Waiting for it become active
2023/03/28 02:25:27 Index is 7213289354509571304 now active
2023/03/28 02:25:27 Looking up for value z2ß1§02
2023/03/28 02:25:27 Using n1ql client
2023/03/28 02:25:27 Expected and Actual scan responses are the same
--- PASS: TestFieldsWithSpecialCharacters (6.30s)
=== RUN   TestLargeKeyLookup
2023/03/28 02:25:27 In TestLargeKeyLookup()
2023/03/28 02:25:34 Created the secondary index index_largeKeyLookup. Waiting for it become active
2023/03/28 02:25:34 Index is 8609184397359426822 now active
2023/03/28 02:25:34 Looking up for a large key
2023/03/28 02:25:34 Using n1ql client
2023/03/28 02:25:34 Expected and Actual scan responses are the same
--- PASS: TestLargeKeyLookup (6.39s)
=== RUN   TestIndexNameValidation
2023/03/28 02:25:34 In TestIndexNameValidation()
2023/03/28 02:25:34 Setting JSON docs in KV
2023/03/28 02:25:35 Creation of index with invalid name ÌñÐÉx&(abc_% failed as expected
2023/03/28 02:25:40 Created the secondary index #primary-Index_test. Waiting for it become active
2023/03/28 02:25:40 Index is 2089958730265622240 now active
2023/03/28 02:25:40 Using n1ql client
2023/03/28 02:25:40 Expected and Actual scan responses are the same
--- PASS: TestIndexNameValidation (6.35s)
=== RUN   TestSameFieldNameAtDifferentLevels
2023/03/28 02:25:40 In TestSameFieldNameAtDifferentLevels()
2023/03/28 02:25:40 Setting JSON docs in KV
2023/03/28 02:25:47 Created the secondary index cityindex. Waiting for it become active
2023/03/28 02:25:47 Index is 12203256809405605960 now active
2023/03/28 02:25:47 Using n1ql client
2023/03/28 02:25:48 Expected and Actual scan responses are the same
--- PASS: TestSameFieldNameAtDifferentLevels (7.63s)
=== RUN   TestSameIndexNameInTwoBuckets
2023/03/28 02:25:48 In TestSameIndexNameInTwoBuckets()
2023/03/28 02:25:48 In DropAllSecondaryIndexes()
2023/03/28 02:25:48 Index found:  cityindex
2023/03/28 02:25:48 Dropped index cityindex
2023/03/28 02:25:48 Index found:  index_userscreenname
2023/03/28 02:25:48 Dropped index index_userscreenname
2023/03/28 02:25:48 Index found:  index_gender
2023/03/28 02:25:48 Dropped index index_gender
2023/03/28 02:25:48 Index found:  index_city
2023/03/28 02:25:48 Dropped index index_city
2023/03/28 02:25:48 Index found:  index_largeKeyLookup
2023/03/28 02:25:48 Dropped index index_largeKeyLookup
2023/03/28 02:25:48 Index found:  index_age
2023/03/28 02:25:48 Dropped index index_age
2023/03/28 02:25:48 Index found:  index_specialchar
2023/03/28 02:25:48 Dropped index index_specialchar
2023/03/28 02:25:48 Index found:  #primary-Index_test
2023/03/28 02:25:48 Dropped index #primary-Index_test
2023/03/28 02:26:26 Flushed the bucket default, Response body: 
2023/03/28 02:26:29 Modified parameters of bucket default, responseBody: 
2023/03/28 02:26:29 Created bucket buck2, responseBody: 
2023/03/28 02:26:44 Generating docs and Populating all the buckets
2023/03/28 02:26:48 Created the secondary index b_idx. Waiting for it become active
2023/03/28 02:26:48 Index is 14043564535745728105 now active
2023/03/28 02:26:54 Created the secondary index b_idx. Waiting for it become active
2023/03/28 02:26:54 Index is 10511133305788461890 now active
2023/03/28 02:26:57 Using n1ql client
2023/03/28 02:26:57 Expected and Actual scan responses are the same
2023/03/28 02:26:57 Using n1ql client
2023-03-28T02:26:57.768+05:30 [Info] GSIC[default/buck2-_default-_default-1679950617765933899] started ...
2023/03/28 02:26:57 Expected and Actual scan responses are the same
2023/03/28 02:27:01 Modified parameters of bucket default, responseBody: 
2023/03/28 02:27:03 Deleted bucket buck2, responseBody: 
--- PASS: TestSameIndexNameInTwoBuckets (90.62s)
=== RUN   TestLargeKeysSplChars
2023/03/28 02:27:18 In TestLargeKeysSplChars()
2023/03/28 02:27:28 Created the secondary index idspl1. Waiting for it become active
2023/03/28 02:27:28 Index is 5336537949017787985 now active
2023/03/28 02:27:35 Created the secondary index idspl2. Waiting for it become active
2023/03/28 02:27:35 Index is 14994029114184402881 now active
2023/03/28 02:27:42 Created the secondary index idspl3. Waiting for it become active
2023/03/28 02:27:42 Index is 431297426312935427 now active
2023/03/28 02:27:42 Using n1ql client
2023/03/28 02:27:42 Expected and Actual scan responses are the same
2023-03-28T02:27:42.300+05:30 [Error] transport error between 127.0.0.1:60878->127.0.0.1:9107: write tcp 127.0.0.1:60878->127.0.0.1:9107: write: broken pipe
2023-03-28T02:27:42.301+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:60878->127.0.0.1:9107: write: broken pipe`
2023-03-28T02:27:42.302+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2023-03-28T02:27:42.302+05:30 [Error] metadataClient:PickRandom: Replicas - [11425961370616410595], PrunedReplica - map[], FilteredReplica map[]
2023/03/28 02:27:42 Expected and Actual scan responses are the same
2023/03/28 02:27:42 Using n1ql client
2023/03/28 02:27:42 Expected and Actual scan responses are the same
--- PASS: TestLargeKeysSplChars (23.76s)
=== RUN   TestVeryLargeIndexKey
2023/03/28 02:27:42 In DropAllSecondaryIndexes()
2023/03/28 02:27:42 Index found:  b_idx
2023/03/28 02:27:42 Dropped index b_idx
2023/03/28 02:27:42 Index found:  idspl3
2023/03/28 02:27:42 Dropped index idspl3
2023/03/28 02:27:42 Index found:  idspl1
2023/03/28 02:27:42 Dropped index idspl1
2023/03/28 02:27:42 Index found:  idspl2
2023/03/28 02:27:43 Dropped index idspl2
2023/03/28 02:28:20 Flushed the bucket default, Response body: 
2023/03/28 02:28:20 TestVeryLargeIndexKey:: Flushed the bucket
2023/03/28 02:28:21 clusterconfig.KVAddress = 127.0.0.1:9000
2023/03/28 02:28:25 Created the secondary index i1. Waiting for it become active
2023/03/28 02:28:25 Index is 6054821840496755742 now active
2023/03/28 02:28:25 Using n1ql client
2023/03/28 02:28:26 Expected and Actual scan responses are the same
2023/03/28 02:28:32 Created the secondary index i2. Waiting for it become active
2023/03/28 02:28:32 Index is 3561584844911503272 now active
2023/03/28 02:28:32 Using n1ql client
2023/03/28 02:28:33 Expected and Actual scan responses are the same
2023/03/28 02:28:33 In DropAllSecondaryIndexes()
2023/03/28 02:28:33 Index found:  i2
2023/03/28 02:28:33 Dropped index i2
2023/03/28 02:28:33 Index found:  i1
2023/03/28 02:28:33 Dropped index i1
2023/03/28 02:29:11 Flushed the bucket default, Response body: 
--- PASS: TestVeryLargeIndexKey (88.68s)
=== RUN   TestTempBufScanResult
2023/03/28 02:29:11 In DropAllSecondaryIndexes()
2023/03/28 02:29:49 Flushed the bucket default, Response body: 
2023/03/28 02:29:49 TestTempBufScanResult:: Flushed the bucket
2023/03/28 02:29:52 Created the secondary index index_idxKey. Waiting for it become active
2023/03/28 02:29:52 Index is 316841515092046628 now active
2023/03/28 02:29:52 Using n1ql client
2023/03/28 02:29:53 Expected and Actual scan responses are the same
2023/03/28 02:29:53 In DropAllSecondaryIndexes()
2023/03/28 02:29:53 Index found:  index_idxKey
2023/03/28 02:29:53 Dropped index index_idxKey
2023/03/28 02:30:31 Flushed the bucket default, Response body: 
--- PASS: TestTempBufScanResult (79.80s)
=== RUN   TestBuildDeferredAnotherBuilding
2023/03/28 02:30:31 In TestBuildDeferredAnotherBuilding()
2023/03/28 02:30:31 In DropAllSecondaryIndexes()
2023/03/28 02:31:15 Setting JSON docs in KV
2023/03/28 02:33:19 Build the deferred index id_age1. Waiting for the index to become active
2023/03/28 02:33:19 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:20 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:21 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:22 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:23 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:24 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:25 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:26 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:27 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:28 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:29 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:30 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:31 Waiting for index 4874853610277819780 to go active ...
2023/03/28 02:33:32 Index is 4874853610277819780 now active
2023/03/28 02:33:32 Build command issued for the deferred indexes [2626279709253426139]
2023/03/28 02:33:35 Build index failed as expected: Build index failed. Encountered transient error. Index id_age will retry building in the background for reason: Build Already In Progress. Keyspace default.
2023/03/28 02:33:35 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:36 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:37 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:38 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:39 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:40 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:41 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:42 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:43 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:44 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:45 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:46 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:47 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:48 Waiting for index 2626279709253426139 to go active ...
2023/03/28 02:33:49 Index is 2626279709253426139 now active
2023/03/28 02:33:49 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:50 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:51 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:52 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:53 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:54 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:55 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:56 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:57 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:58 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:33:59 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:34:00 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:34:01 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:34:02 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:34:03 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:34:04 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:34:05 Waiting for index 15344157575387524632 to go active ...
2023/03/28 02:34:06 Index is 15344157575387524632 now active
2023/03/28 02:34:06 Using n1ql client
2023/03/28 02:34:06 Expected and Actual scan responses are the same
2023/03/28 02:34:06 Using n1ql client
2023/03/28 02:34:07 Expected and Actual scan responses are the same
--- PASS: TestBuildDeferredAnotherBuilding (216.00s)
=== RUN   TestMultipleBucketsDeferredBuild
2023/03/28 02:34:07 In TestMultipleBucketsDeferredBuild()
2023/03/28 02:34:07 In DropAllSecondaryIndexes()
2023/03/28 02:34:07 Index found:  id_age
2023/03/28 02:34:07 Dropped index id_age
2023/03/28 02:34:07 Index found:  id_company
2023/03/28 02:34:07 Dropped index id_company
2023/03/28 02:34:07 Index found:  id_age1
2023/03/28 02:34:07 Dropped index id_age1
2023/03/28 02:34:44 Flushed the bucket default, Response body: 
2023/03/28 02:34:47 Modified parameters of bucket default, responseBody: 
2023/03/28 02:34:47 http://127.0.0.1:9000/pools/default/buckets/defertest_buck2
2023/03/28 02:34:47 &{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[]      0xc0001a6000}
2023/03/28 02:34:47 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Mon, 27 Mar 2023 21:04:47 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]] 0xc006cfb5c0 31 [] false false map[] 0xc0064ecb00 }
2023/03/28 02:34:47 DeleteBucket failed for bucket defertest_buck2 
2023/03/28 02:34:47 Deleted bucket defertest_buck2, responseBody: Requested resource not found.
2023/03/28 02:34:47 Created bucket defertest_buck2, responseBody: 
2023/03/28 02:35:02 Setting JSON docs in KV
2023/03/28 02:36:20 Build command issued for the deferred indexes [11232804606027710291]
2023/03/28 02:36:21 Build command issued for the deferred indexes [11633829694623973544 14113362729127478034]
2023/03/28 02:36:21 Index state of 14113362729127478034 is INDEX_STATE_INITIAL
2023/03/28 02:36:21 Waiting for index 11232804606027710291 to go active ...
2023/03/28 02:36:22 Waiting for index 11232804606027710291 to go active ...
2023/03/28 02:36:23 Waiting for index 11232804606027710291 to go active ...
2023/03/28 02:36:24 Waiting for index 11232804606027710291 to go active ...
2023/03/28 02:36:25 Waiting for index 11232804606027710291 to go active ...
2023/03/28 02:36:26 Waiting for index 11232804606027710291 to go active ...
2023/03/28 02:36:27 Waiting for index 11232804606027710291 to go active ...
2023/03/28 02:36:28 Waiting for index 11232804606027710291 to go active ...
2023/03/28 02:36:29 Index is 11232804606027710291 now active
2023/03/28 02:36:29 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:30 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:31 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:32 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:33 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:34 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:35 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:36 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:37 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:38 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:39 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:40 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:41 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:42 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:43 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:44 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:45 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:46 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:47 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:48 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:49 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:50 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:51 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:52 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:53 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:54 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:55 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:56 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:57 Waiting for index 11633829694623973544 to go active ...
2023/03/28 02:36:58 Index is 11633829694623973544 now active
2023/03/28 02:36:58 Using n1ql client
2023/03/28 02:36:58 Expected and Actual scan responses are the same
2023/03/28 02:36:59 Using n1ql client
2023/03/28 02:36:59 Expected and Actual scan responses are the same
2023/03/28 02:36:59 Using n1ql client
2023-03-28T02:36:59.084+05:30 [Info] GSIC[default/defertest_buck2-_default-_default-1679951219081678915] started ...
2023/03/28 02:36:59 Expected and Actual scan responses are the same
2023/03/28 02:37:02 Modified parameters of bucket default, responseBody: 
2023/03/28 02:37:04 Deleted bucket defertest_buck2, responseBody: 
--- PASS: TestMultipleBucketsDeferredBuild (182.40s)
=== RUN   TestCreateDropCreateDeferredIndex
2023/03/28 02:37:09 In TestCreateDropCreateDeferredIndex()
2023/03/28 02:37:09 In DropAllSecondaryIndexes()
2023/03/28 02:37:09 Index found:  buck1_id2
2023/03/28 02:37:09 Dropped index buck1_id2
2023/03/28 02:37:09 Index found:  buck1_id1
2023/03/28 02:37:09 Dropped index buck1_id1
2023/03/28 02:37:12 Setting JSON docs in KV
2023/03/28 02:37:24 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:37:24 Index is 13135576122213042098 now active
2023/03/28 02:37:25 Dropping the secondary index id_age
2023/03/28 02:37:25 Index dropped
2023/03/28 02:37:28 Setting JSON docs in KV
2023/03/28 02:37:37 Using n1ql client
2023/03/28 02:37:37 Expected and Actual scan responses are the same
--- PASS: TestCreateDropCreateDeferredIndex (27.74s)
=== RUN   TestMultipleDeferredIndexes_BuildTogether
2023/03/28 02:37:37 In TestMultipleDeferredIndexes_BuildTogether()
2023/03/28 02:37:37 In DropAllSecondaryIndexes()
2023/03/28 02:37:37 Index found:  id_company
2023/03/28 02:37:37 Dropped index id_company
2023/03/28 02:37:39 Setting JSON docs in KV
2023/03/28 02:37:53 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:37:53 Index is 3237193086255583721 now active
2023/03/28 02:37:54 Build command issued for the deferred indexes [id_age id_gender id_isActive], bucket: default, scope: _default, coll: _default
2023/03/28 02:37:54 Waiting for the index id_age to become active
2023/03/28 02:37:54 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:37:55 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:37:56 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:37:57 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:37:58 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:37:59 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:00 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:01 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:02 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:03 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:04 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:05 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:06 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:07 Waiting for index 8245815631448918110 to go active ...
2023/03/28 02:38:08 Index is 8245815631448918110 now active
2023/03/28 02:38:08 Waiting for the index id_gender to become active
2023/03/28 02:38:08 Index is 9137585204131085295 now active
2023/03/28 02:38:08 Waiting for the index id_isActive to become active
2023/03/28 02:38:08 Index is 4315756991750918107 now active
2023/03/28 02:38:08 Using n1ql client
2023/03/28 02:38:08 Expected and Actual scan responses are the same
2023/03/28 02:38:11 Setting JSON docs in KV
2023/03/28 02:38:22 Using n1ql client
2023/03/28 02:38:23 Expected and Actual scan responses are the same
2023/03/28 02:38:23 Using n1ql client
2023/03/28 02:38:23 Expected and Actual scan responses are the same
--- PASS: TestMultipleDeferredIndexes_BuildTogether (46.41s)
=== RUN   TestMultipleDeferredIndexes_BuildOneByOne
2023/03/28 02:38:23 In TestMultipleDeferredIndexes_BuildOneByOne()
2023/03/28 02:38:23 In DropAllSecondaryIndexes()
2023/03/28 02:38:23 Index found:  id_company
2023/03/28 02:38:23 Dropped index id_company
2023/03/28 02:38:23 Index found:  id_isActive
2023/03/28 02:38:23 Dropped index id_isActive
2023/03/28 02:38:23 Index found:  id_gender
2023/03/28 02:38:24 Dropped index id_gender
2023/03/28 02:38:24 Index found:  id_age
2023/03/28 02:38:24 Dropped index id_age
2023/03/28 02:38:26 Setting JSON docs in KV
2023/03/28 02:38:40 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:38:40 Index is 11869703862653460935 now active
2023/03/28 02:38:42 Build command issued for the deferred indexes [id_age], bucket: default, scope: _default, coll: _default
2023/03/28 02:38:42 Waiting for the index id_age to become active
2023/03/28 02:38:42 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:43 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:44 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:45 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:46 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:47 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:48 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:49 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:50 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:51 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:52 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:53 Waiting for index 10662277367279804871 to go active ...
2023/03/28 02:38:54 Index is 10662277367279804871 now active
2023/03/28 02:38:54 Build command issued for the deferred indexes [id_gender], bucket: default, scope: _default, coll: _default
2023/03/28 02:38:54 Waiting for the index id_gender to become active
2023/03/28 02:38:54 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:38:55 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:38:56 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:38:57 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:38:58 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:38:59 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:39:00 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:39:01 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:39:02 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:39:03 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:39:04 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:39:05 Waiting for index 16210611850429850621 to go active ...
2023/03/28 02:39:06 Index is 16210611850429850621 now active
2023/03/28 02:39:06 Build command issued for the deferred indexes [id_isActive], bucket: default, scope: _default, coll: _default
2023/03/28 02:39:06 Waiting for the index id_isActive to become active
2023/03/28 02:39:06 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:07 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:08 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:09 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:10 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:11 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:12 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:13 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:14 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:15 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:16 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:17 Waiting for index 2687841762771566246 to go active ...
2023/03/28 02:39:18 Index is 2687841762771566246 now active
2023/03/28 02:39:18 Using n1ql client
2023/03/28 02:39:18 Expected and Actual scan responses are the same
2023/03/28 02:39:21 Setting JSON docs in KV
2023/03/28 02:39:30 Using n1ql client
2023/03/28 02:39:30 Expected and Actual scan responses are the same
2023/03/28 02:39:30 Using n1ql client
2023/03/28 02:39:30 Expected and Actual scan responses are the same
--- PASS: TestMultipleDeferredIndexes_BuildOneByOne (67.07s)
=== RUN   TestDropDeferredIndexWhileOthersBuilding
2023/03/28 02:39:30 In TestDropDeferredIndexWhileOthersBuilding()
2023/03/28 02:39:30 In DropAllSecondaryIndexes()
2023/03/28 02:39:30 Index found:  id_gender
2023/03/28 02:39:30 Dropped index id_gender
2023/03/28 02:39:30 Index found:  id_company
2023/03/28 02:39:30 Dropped index id_company
2023/03/28 02:39:30 Index found:  id_isActive
2023/03/28 02:39:31 Dropped index id_isActive
2023/03/28 02:39:31 Index found:  id_age
2023/03/28 02:39:31 Dropped index id_age
2023/03/28 02:39:33 Setting JSON docs in KV
2023/03/28 02:39:51 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:39:51 Index is 360415301453773261 now active
2023/03/28 02:39:53 Build command issued for the deferred indexes [6741398263524821092 251316039343267184]
2023/03/28 02:39:55 Dropping the secondary index id_isActive
2023/03/28 02:39:55 Index dropped
2023/03/28 02:39:55 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:39:56 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:39:57 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:39:58 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:39:59 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:00 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:01 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:02 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:03 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:04 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:05 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:06 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:07 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:08 Waiting for index 6741398263524821092 to go active ...
2023/03/28 02:40:09 Index is 6741398263524821092 now active
2023/03/28 02:40:09 Index is 251316039343267184 now active
2023/03/28 02:40:10 Using n1ql client
2023/03/28 02:40:10 Expected and Actual scan responses are the same
2023/03/28 02:40:10 Using n1ql client
2023/03/28 02:40:10 Expected and Actual scan responses are the same
2023/03/28 02:40:12 Setting JSON docs in KV
2023/03/28 02:40:21 Using n1ql client
2023/03/28 02:40:22 Expected and Actual scan responses are the same
--- PASS: TestDropDeferredIndexWhileOthersBuilding (51.45s)
=== RUN   TestDropBuildingDeferredIndex
2023/03/28 02:40:22 In TestDropBuildingDeferredIndex()
2023/03/28 02:40:22 In DropAllSecondaryIndexes()
2023/03/28 02:40:22 Index found:  id_gender
2023/03/28 02:40:22 Dropped index id_gender
2023/03/28 02:40:22 Index found:  id_company
2023/03/28 02:40:22 Dropped index id_company
2023/03/28 02:40:22 Index found:  id_age
2023/03/28 02:40:22 Dropped index id_age
2023/03/28 02:40:25 Setting JSON docs in KV
2023/03/28 02:40:30 Build command issued for the deferred indexes [4813084244007797036 16575840885572733431]
2023/03/28 02:40:31 Dropping the secondary index id_age
2023/03/28 02:40:32 Index dropped
2023/03/28 02:40:32 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:33 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:34 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:35 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:36 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:37 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:38 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:39 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:40 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:41 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:42 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:43 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:44 Waiting for index 4813084244007797036 to go active ...
2023/03/28 02:40:45 Index is 4813084244007797036 now active
2023/03/28 02:40:45 Build command issued for the deferred indexes [id_gender], bucket: default, scope: _default, coll: _default
2023/03/28 02:40:45 Waiting for the index id_gender to become active
2023/03/28 02:40:45 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:46 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:47 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:48 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:49 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:50 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:51 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:52 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:53 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:54 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:55 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:56 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:57 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:58 Waiting for index 9387927469459724572 to go active ...
2023/03/28 02:40:59 Index is 9387927469459724572 now active
2023/03/28 02:41:00 Using n1ql client
2023/03/28 02:41:00 Expected and Actual scan responses are the same
2023/03/28 02:41:00 Using n1ql client
2023/03/28 02:41:01 Expected and Actual scan responses are the same
2023/03/28 02:41:03 Setting JSON docs in KV
2023/03/28 02:41:12 Using n1ql client
2023/03/28 02:41:13 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingDeferredIndex (51.09s)
=== RUN   TestDropMultipleBuildingDeferredIndexes
2023/03/28 02:41:13 In TestDropMultipleBuildingDeferredIndexes()
2023/03/28 02:41:13 In DropAllSecondaryIndexes()
2023/03/28 02:41:13 Index found:  id_gender
2023/03/28 02:41:13 Dropped index id_gender
2023/03/28 02:41:13 Index found:  id_company
2023/03/28 02:41:13 Dropped index id_company
2023/03/28 02:41:21 Setting JSON docs in KV
2023/03/28 02:41:53 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:41:53 Index is 11437219199880522330 now active
2023/03/28 02:41:54 Build command issued for the deferred indexes [17749170037147133005 3418882366453627967]
2023/03/28 02:41:55 Dropping the secondary index id_age
2023/03/28 02:41:55 Index dropped
2023/03/28 02:41:55 Dropping the secondary index id_gender
2023/03/28 02:42:12 Index dropped
2023/03/28 02:42:12 Build command issued for the deferred indexes [id_isActive], bucket: default, scope: _default, coll: _default
2023/03/28 02:42:12 Waiting for the index id_isActive to become active
2023/03/28 02:42:12 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:13 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:14 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:15 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:16 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:17 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:18 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:19 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:20 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:21 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:22 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:23 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:24 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:25 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:26 Waiting for index 3895926565079538686 to go active ...
2023/03/28 02:42:27 Index is 3895926565079538686 now active
2023/03/28 02:42:38 Using n1ql client
2023/03/28 02:42:39 Expected and Actual scan responses are the same
2023/03/28 02:42:39 Number of docScanResults and scanResults = 180000 and 180000
2023/03/28 02:42:40 Using n1ql client
2023/03/28 02:42:41 Expected and Actual scan responses are the same
2023/03/28 02:42:41 Number of docScanResults and scanResults = 180000 and 180000
--- PASS: TestDropMultipleBuildingDeferredIndexes (87.87s)
=== RUN   TestDropOneIndexSecondDeferBuilding
2023/03/28 02:42:41 In TestDropOneIndexSecondDeferBuilding()
2023/03/28 02:42:41 In DropAllSecondaryIndexes()
2023/03/28 02:42:41 Index found:  id_isActive
2023/03/28 02:42:41 Dropped index id_isActive
2023/03/28 02:42:41 Index found:  id_company
2023/03/28 02:42:41 Dropped index id_company
2023/03/28 02:42:43 Setting JSON docs in KV
2023/03/28 02:42:49 Build command issued for the deferred indexes [id_company], bucket: default, scope: _default, coll: _default
2023/03/28 02:42:49 Waiting for the index id_company to become active
2023/03/28 02:42:49 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:50 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:51 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:52 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:53 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:54 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:55 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:56 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:57 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:58 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:42:59 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:43:00 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:43:01 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:43:02 Waiting for index 6720596462517328485 to go active ...
2023/03/28 02:43:03 Index is 6720596462517328485 now active
2023/03/28 02:43:03 Build command issued for the deferred indexes [14587425423608741058]
2023/03/28 02:43:04 Dropping the secondary index id_company
2023/03/28 02:43:04 Index dropped
2023/03/28 02:43:09 Setting JSON docs in KV
2023/03/28 02:43:25 Index is 14587425423608741058 now active
2023/03/28 02:43:25 Build command issued for the deferred indexes [id_gender], bucket: default, scope: _default, coll: _default
2023/03/28 02:43:25 Waiting for the index id_gender to become active
2023/03/28 02:43:25 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:26 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:27 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:28 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:29 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:30 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:31 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:32 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:33 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:34 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:35 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:36 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:37 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:38 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:39 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:40 Waiting for index 1173376701794349089 to go active ...
2023/03/28 02:43:41 Index is 1173376701794349089 now active
2023/03/28 02:43:41 Using n1ql client
2023/03/28 02:43:42 Expected and Actual scan responses are the same
2023/03/28 02:43:42 Using n1ql client
2023/03/28 02:43:44 Expected and Actual scan responses are the same
--- PASS: TestDropOneIndexSecondDeferBuilding (62.90s)
=== RUN   TestDropSecondIndexSecondDeferBuilding
2023/03/28 02:43:44 In TestDropSecondIndexSecondDeferBuilding()
2023/03/28 02:43:44 In DropAllSecondaryIndexes()
2023/03/28 02:43:44 Index found:  id_age
2023/03/28 02:43:44 Dropped index id_age
2023/03/28 02:43:44 Index found:  id_gender
2023/03/28 02:43:44 Dropped index id_gender
2023/03/28 02:43:46 Setting JSON docs in KV
2023/03/28 02:43:52 Build command issued for the deferred indexes [id_company], bucket: default, scope: _default, coll: _default
2023/03/28 02:43:52 Waiting for the index id_company to become active
2023/03/28 02:43:52 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:43:53 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:43:54 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:43:55 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:43:56 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:43:57 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:43:58 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:43:59 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:44:00 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:44:01 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:44:02 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:44:03 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:44:04 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:44:05 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:44:06 Waiting for index 356625391008784492 to go active ...
2023/03/28 02:44:07 Index is 356625391008784492 now active
2023/03/28 02:44:07 Build command issued for the deferred indexes [9521387524994264956]
2023/03/28 02:44:08 Dropping the secondary index id_age
2023/03/28 02:44:08 Index dropped
2023/03/28 02:44:11 Setting JSON docs in KV
2023/03/28 02:44:20 Build command issued for the deferred indexes [id_gender], bucket: default, scope: _default, coll: _default
2023/03/28 02:44:20 Waiting for the index id_gender to become active
2023/03/28 02:44:20 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:21 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:22 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:23 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:24 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:25 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:26 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:27 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:28 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:29 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:30 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:31 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:32 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:33 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:34 Waiting for index 13367234607279697719 to go active ...
2023/03/28 02:44:35 Index is 13367234607279697719 now active
2023/03/28 02:44:35 Using n1ql client
2023/03/28 02:44:35 Expected and Actual scan responses are the same
2023/03/28 02:44:36 Using n1ql client
2023/03/28 02:44:38 Expected and Actual scan responses are the same
--- PASS: TestDropSecondIndexSecondDeferBuilding (53.99s)
=== RUN   TestCreateAfterDropWhileIndexBuilding
2023/03/28 02:44:38 In TestCreateAfterDropWhileIndexBuilding()
2023/03/28 02:44:38 In DropAllSecondaryIndexes()
2023/03/28 02:44:38 Index found:  id_gender
2023/03/28 02:44:38 Dropped index id_gender
2023/03/28 02:44:38 Index found:  id_company
2023/03/28 02:44:38 Dropped index id_company
2023/03/28 02:45:04 Setting JSON docs in KV
2023/03/28 02:46:05 Build command issued for the deferred indexes [7475488857959145483]
2023/03/28 02:46:06 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:08 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:09 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:10 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:11 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:12 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:13 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:14 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:15 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:16 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:17 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:18 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:19 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:20 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:21 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:22 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:23 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:24 Waiting for index 7475488857959145483 to go active ...
2023/03/28 02:46:25 Index is 7475488857959145483 now active
2023/03/28 02:46:25 Build command issued for the deferred indexes [17826701230900262427]
2023/03/28 02:46:26 Dropping the secondary index id_company
2023/03/28 02:46:26 Index dropped
2023/03/28 02:46:26 Dropping the secondary index id_age
2023/03/28 02:46:27 Index dropped
2023/03/28 02:46:33 Build command issued for the deferred indexes [id_gender], bucket: default, scope: _default, coll: _default
2023/03/28 02:46:33 Waiting for the index id_gender to become active
2023/03/28 02:46:33 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:34 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:35 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:36 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:37 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:38 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:39 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:40 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:41 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:42 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:43 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:44 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:45 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:46 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:47 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:48 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:49 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:50 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:51 Waiting for index 10053100067793064975 to go active ...
2023/03/28 02:46:52 Index is 10053100067793064975 now active
2023/03/28 02:46:53 Index is 10053100067793064975 now active
2023/03/28 02:46:54 Using n1ql client
2023/03/28 02:46:56 Expected and Actual scan responses are the same
--- PASS: TestCreateAfterDropWhileIndexBuilding (138.22s)
=== RUN   TestDropBuildingIndex1
2023/03/28 02:46:56 In TestDropBuildingIndex1()
2023/03/28 02:46:56 In DropAllSecondaryIndexes()
2023/03/28 02:46:56 Index found:  id_gender
2023/03/28 02:46:56 Dropped index id_gender
2023/03/28 02:47:01 Setting JSON docs in KV
2023/03/28 02:47:32 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:47:32 Index is 13835541835128628607 now active
2023/03/28 02:47:55 Dropping the secondary index id_age
2023/03/28 02:47:55 Index dropped
2023/03/28 02:48:18 Created the secondary index id_age. Waiting for it become active
2023/03/28 02:48:18 Index is 5420887168950077553 now active
2023/03/28 02:48:20 Setting JSON docs in KV
2023/03/28 02:48:29 Using n1ql client
2023/03/28 02:48:30 Expected and Actual scan responses are the same
2023/03/28 02:48:30 Using n1ql client
2023/03/28 02:48:32 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingIndex1 (95.75s)
=== RUN   TestDropBuildingIndex2
2023/03/28 02:48:32 In TestDropBuildingIndex2()
2023/03/28 02:48:32 In DropAllSecondaryIndexes()
2023/03/28 02:48:32 Index found:  id_age
2023/03/28 02:48:32 Dropped index id_age
2023/03/28 02:48:32 Index found:  id_company
2023/03/28 02:48:32 Dropped index id_company
2023/03/28 02:48:36 Setting JSON docs in KV
2023/03/28 02:49:14 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:49:14 Index is 675428583274704978 now active
2023/03/28 02:49:39 Dropping the secondary index id_company
2023/03/28 02:49:39 Index dropped
2023/03/28 02:49:39 Index is 7544597316949906457 now active
2023/03/28 02:50:01 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:50:01 Index is 2850594515158051705 now active
2023/03/28 02:50:04 Setting JSON docs in KV
2023/03/28 02:50:13 Using n1ql client
2023/03/28 02:50:13 Expected and Actual scan responses are the same
2023/03/28 02:50:14 Using n1ql client
2023/03/28 02:50:14 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingIndex2 (102.57s)
=== RUN   TestDropIndexWithDataLoad
2023/03/28 02:50:14 In TestDropIndexWithDataLoad()
2023/03/28 02:50:14 In DropAllSecondaryIndexes()
2023/03/28 02:50:14 Index found:  id_age
2023/03/28 02:50:14 Dropped index id_age
2023/03/28 02:50:14 Index found:  id_company
2023/03/28 02:50:15 Dropped index id_company
2023/03/28 02:50:16 Setting JSON docs in KV
2023/03/28 02:50:43 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:50:43 Index is 13284345828596866538 now active
2023/03/28 02:51:10 Created the secondary index id_age. Waiting for it become active
2023/03/28 02:51:10 Index is 9827214758169664934 now active
2023/03/28 02:51:33 Created the secondary index id_gender. Waiting for it become active
2023/03/28 02:51:33 Index is 15928987357745303157 now active
2023/03/28 02:51:56 Created the secondary index id_isActive. Waiting for it become active
2023/03/28 02:51:56 Index is 8109487759293777048 now active
2023/03/28 02:52:05 Setting JSON docs in KV
2023/03/28 02:52:05 In LoadKVBucket
2023/03/28 02:52:05 Bucket name = default
2023/03/28 02:52:05 In DropIndexWhileKVLoad
2023/03/28 02:52:06 Dropping the secondary index id_company
2023/03/28 02:52:06 Index dropped
2023/03/28 02:52:32 Using n1ql client
2023/03/28 02:52:33 Expected and Actual scan responses are the same
2023/03/28 02:52:33 Number of docScanResults and scanResults = 96712 and 96712
2023/03/28 02:52:33 Using n1ql client
2023/03/28 02:52:37 Expected and Actual scan responses are the same
2023/03/28 02:52:37 Number of docScanResults and scanResults = 420000 and 420000
--- PASS: TestDropIndexWithDataLoad (142.40s)
=== RUN   TestDropAllIndexesWithDataLoad
2023/03/28 02:52:37 In TestDropAllIndexesWithDataLoad()
2023/03/28 02:52:37 In DropAllSecondaryIndexes()
2023/03/28 02:52:37 Index found:  id_isActive
2023/03/28 02:52:37 Dropped index id_isActive
2023/03/28 02:52:37 Index found:  id_gender
2023/03/28 02:52:37 Dropped index id_gender
2023/03/28 02:52:37 Index found:  id_age
2023/03/28 02:52:37 Dropped index id_age
2023/03/28 02:52:39 Setting JSON docs in KV
2023/03/28 02:53:14 Created the secondary index id_company. Waiting for it become active
2023/03/28 02:53:14 Index is 15326357603990448668 now active
2023/03/28 02:53:45 Created the secondary index id_age. Waiting for it become active
2023/03/28 02:53:45 Index is 6262791554611934268 now active
2023/03/28 02:54:11 Created the secondary index id_gender. Waiting for it become active
2023/03/28 02:54:11 Index is 12192175741547802047 now active
2023/03/28 02:54:35 Created the secondary index id_isActive. Waiting for it become active
2023/03/28 02:54:35 Index is 8997298759062344930 now active
2023/03/28 02:54:44 Setting JSON docs in KV
2023/03/28 02:54:44 In LoadKVBucket
2023/03/28 02:54:44 Bucket name = default
2023/03/28 02:54:44 In DropIndexWhileKVLoad
2023/03/28 02:54:44 In DropIndexWhileKVLoad
2023/03/28 02:54:44 In DropIndexWhileKVLoad
2023/03/28 02:54:44 In DropIndexWhileKVLoad
2023/03/28 02:54:45 Dropping the secondary index id_isActive
2023/03/28 02:54:45 Dropping the secondary index id_gender
2023/03/28 02:54:45 Dropping the secondary index id_company
2023/03/28 02:54:45 Dropping the secondary index id_age
2023/03/28 02:54:45 Index dropped
2023/03/28 02:54:45 Index dropped
2023/03/28 02:54:45 Index dropped
2023/03/28 02:54:46 Index dropped
2023/03/28 02:55:03 Using n1ql client
2023/03/28 02:55:03 Scan failed as expected with error: Index Not Found - cause: GSI index id_company not found.
--- PASS: TestDropAllIndexesWithDataLoad (146.48s)
=== RUN   TestCreateBucket_AnotherIndexBuilding
2023/03/28 02:55:03 In TestCreateBucket_AnotherIndexBuilding()
2023/03/28 02:55:03 In DropAllSecondaryIndexes()
2023/03/28 02:55:41 Flushed the bucket default, Response body: 
2023/03/28 02:55:44 Modified parameters of bucket default, responseBody: 
2023/03/28 02:55:44 http://127.0.0.1:9000/pools/default/buckets/multi_buck2
2023/03/28 02:55:44 &{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[]      0xc0001a6000}
2023/03/28 02:55:44 &{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, 27 Mar 2023 21:25:44 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]] 0xc01b0ecac0 31 [] false false map[] 0xc00aa09900 }
2023/03/28 02:55:44 DeleteBucket failed for bucket multi_buck2 
2023/03/28 02:55:44 Deleted bucket multi_buck2, responseBody: Requested resource not found.
2023/03/28 02:55:59 Setting JSON docs in KV
2023/03/28 02:58:09 Created bucket multi_buck2, responseBody: 
2023/03/28 02:58:33 Index is 2065003803304822906 now active
2023/03/28 02:58:33 Index is 17967514154410517255 now active
2023/03/28 02:58:33 Using n1ql client
2023-03-28T02:58:33.373+05:30 [Info] GSIC[default/multi_buck2-_default-_default-1679952513369447673] started ...
2023/03/28 02:58:33 Expected and Actual scan responses are the same
2023/03/28 02:58:33 Number of docScanResults and scanResults = 10000 and 10000
2023/03/28 02:58:33 Using n1ql client
2023/03/28 02:58:37 Expected and Actual scan responses are the same
2023/03/28 02:58:37 Number of docScanResults and scanResults = 200000 and 200000
2023/03/28 02:58:39 Deleted bucket multi_buck2, responseBody: 
2023/03/28 02:59:16 Flushed the bucket default, Response body: 
--- PASS: TestCreateBucket_AnotherIndexBuilding (253.21s)
=== RUN   TestDropBucket2Index_Bucket1IndexBuilding
2023/03/28 02:59:16 In TestDropBucket2Index_Bucket1IndexBuilding()
2023/03/28 02:59:16 In DropAllSecondaryIndexes()
2023/03/28 02:59:16 Index found:  buck1_idx
2023/03/28 02:59:16 Dropped index buck1_idx
2023/03/28 02:59:54 Flushed the bucket default, Response body: 
2023/03/28 02:59:57 Modified parameters of bucket default, responseBody: 
2023/03/28 02:59:57 http://127.0.0.1:9000/pools/default/buckets/multibucket_test3
2023/03/28 02:59:57 &{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[]      0xc0001a6000}
2023/03/28 02:59:57 &{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, 27 Mar 2023 21:29:57 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]] 0xc0120d27c0 31 [] false false map[] 0xc00042c200 }
2023/03/28 02:59:57 DeleteBucket failed for bucket multibucket_test3 
2023/03/28 02:59:57 Deleted bucket multibucket_test3, responseBody: Requested resource not found.
2023/03/28 02:59:57 Created bucket multibucket_test3, responseBody: 
2023/03/28 03:00:12 Setting JSON docs in KV
2023/03/28 03:01:17 Created the secondary index buck2_idx. Waiting for it become active
2023/03/28 03:01:17 Index is 4892101599941623142 now active
2023/03/28 03:01:30 Dropping the secondary index buck2_idx
2023/03/28 03:01:30 Index dropped
2023/03/28 03:01:30 Index is 12995169838137389278 now active
2023/03/28 03:01:30 Using n1ql client
2023/03/28 03:01:32 Expected and Actual scan responses are the same
2023/03/28 03:01:32 Number of docScanResults and scanResults = 100000 and 100000
2023/03/28 03:01:33 Deleted bucket multibucket_test3, responseBody: 
2023/03/28 03:02:11 Flushed the bucket default, Response body: 
--- PASS: TestDropBucket2Index_Bucket1IndexBuilding (174.90s)
=== RUN   TestDeleteBucketWhileInitialIndexBuild
2023/03/28 03:02:11 In TestDeleteBucketWhileInitialIndexBuild()
2023/03/28 03:02:11 ============== DBG: Drop all indexes in all buckets
2023/03/28 03:02:11 In DropAllSecondaryIndexes()
2023/03/28 03:02:11 Index found:  buck1_idx
2023/03/28 03:02:11 Dropped index buck1_idx
2023/03/28 03:02:11 ============== DBG: Delete bucket default
2023/03/28 03:02:13 Deleted bucket default, responseBody: 
2023/03/28 03:02:13 ============== DBG: Create bucket default
2023/03/28 03:02:13 Created bucket default, responseBody: 
2023/03/28 03:02:16 Flush Enabled on bucket default, responseBody: 
2023/03/28 03:02:50 Flushed the bucket default, Response body: 
2023/03/28 03:02:50 ============== DBG: Delete bucket testbucket2
2023/03/28 03:02:50 http://127.0.0.1:9000/pools/default/buckets/testbucket2
2023/03/28 03:02:50 &{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[]      0xc0001a6000}
2023/03/28 03:02:50 &{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, 27 Mar 2023 21:32:49 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]] 0xc00a5e82c0 31 [] false false map[] 0xc00a93e100 }
2023/03/28 03:02:50 DeleteBucket failed for bucket testbucket2 
2023/03/28 03:02:50 Deleted bucket testbucket2, responseBody: Requested resource not found.
2023/03/28 03:02:50 ============== DBG: Create bucket testbucket2
2023/03/28 03:02:50 Created bucket testbucket2, responseBody: 
2023/03/28 03:02:53 Flush Enabled on bucket testbucket2, responseBody: 
2023/03/28 03:03:26 Flushed the bucket testbucket2, Response body: 
2023/03/28 03:03:26 ============== DBG: Delete bucket testbucket3
2023/03/28 03:03:26 http://127.0.0.1:9000/pools/default/buckets/testbucket3
2023/03/28 03:03:26 &{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[]      0xc0001a6000}
2023/03/28 03:03:26 &{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, 27 Mar 2023 21:33:26 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]] 0xc01191be40 31 [] false false map[] 0xc0050b8000 }
2023/03/28 03:03:26 DeleteBucket failed for bucket testbucket3 
2023/03/28 03:03:26 Deleted bucket testbucket3, responseBody: Requested resource not found.
2023/03/28 03:03:26 ============== DBG: Create bucket testbucket3
2023/03/28 03:03:26 Created bucket testbucket3, responseBody: 
2023/03/28 03:03:29 Flush Enabled on bucket testbucket3, responseBody: 
2023/03/28 03:04:03 Flushed the bucket testbucket3, Response body: 
2023/03/28 03:04:03 ============== DBG: Delete bucket testbucket4
2023/03/28 03:04:03 http://127.0.0.1:9000/pools/default/buckets/testbucket4
2023/03/28 03:04:03 &{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[]      0xc0001a6000}
2023/03/28 03:04:03 &{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, 27 Mar 2023 21:34:02 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]] 0xc0151b9900 31 [] false false map[] 0xc0074fa000 }
2023/03/28 03:04:03 DeleteBucket failed for bucket testbucket4 
2023/03/28 03:04:03 Deleted bucket testbucket4, responseBody: Requested resource not found.
2023/03/28 03:04:03 ============== DBG: Create bucket testbucket4
2023/03/28 03:04:03 Created bucket testbucket4, responseBody: 
2023/03/28 03:04:06 Flush Enabled on bucket testbucket4, responseBody: 
2023/03/28 03:04:39 Flushed the bucket testbucket4, Response body: 
2023/03/28 03:04:54 Generating docs and Populating all the buckets
2023/03/28 03:04:54 ============== DBG: Creating docs in bucket default
2023/03/28 03:04:55 ============== DBG: Creating index bucket1_age in bucket default
2023/03/28 03:04:59 Created the secondary index bucket1_age. Waiting for it become active
2023/03/28 03:04:59 Index is 2829781096642409126 now active
2023/03/28 03:04:59 ============== DBG: Creating index bucket1_gender in bucket default
2023/03/28 03:05:06 Created the secondary index bucket1_gender. Waiting for it become active
2023/03/28 03:05:06 Index is 2255615376634946440 now active
2023/03/28 03:05:07 ============== DBG: Creating docs in bucket testbucket2
2023/03/28 03:05:07 ============== DBG: Creating index bucket2_city in bucket testbucket2
2023/03/28 03:05:12 Created the secondary index bucket2_city. Waiting for it become active
2023/03/28 03:05:12 Index is 12175165207495359164 now active
2023/03/28 03:05:12 ============== DBG: Creating index bucket2_company in bucket testbucket2
2023/03/28 03:05:19 Created the secondary index bucket2_company. Waiting for it become active
2023/03/28 03:05:19 Index is 17663704727888657821 now active
2023/03/28 03:05:19 ============== DBG: Creating docs in bucket testbucket3
2023/03/28 03:05:20 ============== DBG: Creating index bucket3_gender in bucket testbucket3
2023/03/28 03:05:24 Created the secondary index bucket3_gender. Waiting for it become active
2023/03/28 03:05:24 Index is 3386005553129169610 now active
2023/03/28 03:05:24 ============== DBG: Creating index bucket3_address in bucket testbucket3
2023/03/28 03:05:31 Created the secondary index bucket3_address. Waiting for it become active
2023/03/28 03:05:31 Index is 3622229774384296642 now active
2023/03/28 03:05:31 ============== DBG: First bucket scan:: Scanning index bucket1_age in bucket default
2023/03/28 03:05:31 Using n1ql client
2023-03-28T03:05:31.536+05:30 [Info] GSIC[default/default-_default-_default-1679952931531645262] started ...
2023/03/28 03:05:31 ============== DBG: First bucket scan:: Expected results = 294 Actual results = 294
2023/03/28 03:05:31 Expected and Actual scan responses are the same
2023/03/28 03:05:42 ============== DBG: Creating 50K docs in bucket testbucket4
2023/03/28 03:06:11 ============== DBG: Creating index bucket4_balance asynchronously in bucket testbucket4
2023/03/28 03:06:20 ============== DBG: Deleting bucket testbucket4
2023/03/28 03:06:22 Deleted bucket testbucket4, responseBody: 
2023/03/28 03:06:22 ============== DBG: First bucket scan:: Scanning index bucket1_age in bucket default
2023/03/28 03:06:22 Using n1ql client
2023/03/28 03:06:22 ============== DBG: First bucket scan:: Expected results = 294 Actual results = 294
2023/03/28 03:06:22 Expected and Actual scan responses are the same
2023/03/28 03:06:22 ============== DBG: Second bucket scan:: Scanning index bucket2_city in bucket testbucket2
2023/03/28 03:06:22 Using n1ql client
2023-03-28T03:06:22.836+05:30 [Info] GSIC[default/testbucket2-_default-_default-1679952982833214507] started ...
2023/03/28 03:06:22 ============== DBG: Second bucket scan:: Expected results = 392 Actual results = 392
2023/03/28 03:06:22 Expected and Actual scan responses are the same
2023/03/28 03:06:22 ============== DBG: Third bucket scan:: Scanning index bucket3_gender in bucket testbucket3
2023/03/28 03:06:22 Using n1ql client
2023-03-28T03:06:22.844+05:30 [Info] GSIC[default/testbucket3-_default-_default-1679952982842281277] started ...
2023/03/28 03:06:22 ============== DBG: Third bucket scan:: Expected results = 492 Actual results = 492
2023/03/28 03:06:22 Expected and Actual scan responses are the same
2023/03/28 03:06:22 ============== DBG: Deleting buckets testbucket2 testbucket3 testbucket4
2023/03/28 03:06:25 Deleted bucket testbucket2, responseBody: 
2023/03/28 03:06:27 Deleted bucket testbucket3, responseBody: 
2023/03/28 03:06:27 http://127.0.0.1:9000/pools/default/buckets/testbucket4
2023/03/28 03:06:27 &{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[]      0xc0001a6000}
2023/03/28 03:06:27 &{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, 27 Mar 2023 21:36:27 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]] 0xc010d9e4c0 31 [] false false map[] 0xc010b36a00 }
2023/03/28 03:06:27 DeleteBucket failed for bucket testbucket4 
2023/03/28 03:06:27 Deleted bucket testbucket4, responseBody: Requested resource not found.
2023/03/28 03:06:30 Modified parameters of bucket default, responseBody: 
--- PASS: TestDeleteBucketWhileInitialIndexBuild (273.78s)
=== RUN   TestWherClause_UpdateDocument
2023/03/28 03:06:45 In TestWherClause_UpdateDocument()
2023/03/28 03:06:45 In DropAllSecondaryIndexes()
2023/03/28 03:06:45 Index found:  bucket1_gender
2023/03/28 03:06:45 Dropped index bucket1_gender
2023/03/28 03:06:45 Index found:  bucket1_age
2023/03/28 03:06:45 Dropped index bucket1_age
2023/03/28 03:07:23 Flushed the bucket default, Response body: 
2023/03/28 03:07:25 Setting JSON docs in KV
2023/03/28 03:07:34 Created the secondary index id_ageGreaterThan40. Waiting for it become active
2023/03/28 03:07:34 Index is 18086220702170197315 now active
2023/03/28 03:07:34 Using n1ql client
2023/03/28 03:07:34 Expected and Actual scan responses are the same
2023/03/28 03:07:34 Number of docScanResults and scanResults = 5981 and 5981
2023/03/28 03:07:39 Using n1ql client
2023/03/28 03:07:39 Expected and Actual scan responses are the same
2023/03/28 03:07:39 Number of docScanResults and scanResults = 1981 and 1981
--- PASS: TestWherClause_UpdateDocument (53.85s)
=== RUN   TestDeferFalse
2023/03/28 03:07:39 In TestDeferFalse()
2023/03/28 03:07:41 Setting JSON docs in KV
2023/03/28 03:07:54 Created the secondary index index_deferfalse1. Waiting for it become active
2023/03/28 03:07:54 Index is 16714659167214986918 now active
2023/03/28 03:07:55 Using n1ql client
2023/03/28 03:07:55 Expected and Actual scan responses are the same
--- PASS: TestDeferFalse (15.77s)
=== RUN   TestDeferFalse_CloseClientConnection
2023/03/28 03:07:55 In TestDeferFalse_CloseClientConnection()
2023/03/28 03:07:55 In CloseClientThread
2023/03/28 03:07:55 In CreateIndexThread
2023/03/28 03:07:57 Create Index call failed as expected due to error : Terminate Request due to client termination
2023/03/28 03:07:57 Waiting for index 11103862524104523906 to go active ...
2023/03/28 03:07:58 Waiting for index 11103862524104523906 to go active ...
2023/03/28 03:07:59 Waiting for index 11103862524104523906 to go active ...
2023/03/28 03:08:00 Waiting for index 11103862524104523906 to go active ...
2023/03/28 03:08:01 Waiting for index 11103862524104523906 to go active ...
2023/03/28 03:08:02 Waiting for index 11103862524104523906 to go active ...
2023/03/28 03:08:03 Index is 11103862524104523906 now active
2023/03/28 03:08:03 Using n1ql client
2023/03/28 03:08:03 Expected and Actual scan responses are the same
--- PASS: TestDeferFalse_CloseClientConnection (8.20s)
=== RUN   TestOrphanIndexCleanup
2023/03/28 03:08:03 In DropAllSecondaryIndexes()
2023/03/28 03:08:03 Index found:  id_ageGreaterThan40
2023/03/28 03:08:03 Dropped index id_ageGreaterThan40
2023/03/28 03:08:03 Index found:  index_deferfalse1
2023/03/28 03:08:03 Dropped index index_deferfalse1
2023/03/28 03:08:03 Index found:  index_deferfalse2
2023/03/28 03:08:03 Dropped index index_deferfalse2
2023/03/28 03:08:17 Created the secondary index idx1_age_regular. Waiting for it become active
2023/03/28 03:08:17 Index is 17026309069600007213 now active
2023/03/28 03:08:25 Created the secondary index idx2_company_regular. Waiting for it become active
2023/03/28 03:08:25 Index is 16425029351029236727 now active
2023/03/28 03:08:35 Using n1ql client
2023/03/28 03:08:35 Query on idx1_age_regular is successful
2023/03/28 03:08:35 Using n1ql client
2023/03/28 03:08:35 Query on idx2_company_regular is successful
Restarting indexer process ...
2023/03/28 03:08:35 []
2023-03-28T03:08:35.339+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023-03-28T03:08:35.340+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023/03/28 03:08:55 Using n1ql client
2023-03-28T03:08:55.297+05:30 [Error] transport error between 127.0.0.1:33868->127.0.0.1:9107: write tcp 127.0.0.1:33868->127.0.0.1:9107: write: broken pipe
2023-03-28T03:08:55.297+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 4329964773288285300 request transport failed `write tcp 127.0.0.1:33868->127.0.0.1:9107: write: broken pipe`
2023-03-28T03:08:55.297+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2023-03-28T03:08:55.298+05:30 [Error] metadataClient:PickRandom: Replicas - [8605942456109708474], PrunedReplica - map[], FilteredReplica map[]
2023/03/28 03:08:55 Query on idx1_age_regular is successful - after indexer restart.
2023/03/28 03:08:55 Using n1ql client
2023/03/28 03:08:55 Query on idx2_company_regular is successful - after indexer restart.
--- PASS: TestOrphanIndexCleanup (52.07s)
=== RUN   TestOrphanPartitionCleanup
2023/03/28 03:09:00 Created the secondary index idx3_age_regular. Waiting for it become active
2023/03/28 03:09:00 Index is 17511617277173434325 now active
2023/03/28 03:09:10 Using n1ql client
2023/03/28 03:09:10 Query on idx3_age_regular is successful
Restarting indexer process ...
2023/03/28 03:09:10 []
2023-03-28T03:09:10.243+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023-03-28T03:09:10.243+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023/03/28 03:09:30 Using n1ql client
2023-03-28T03:09:30.218+05:30 [Error] transport error between 127.0.0.1:49678->127.0.0.1:9107: write tcp 127.0.0.1:49678->127.0.0.1:9107: write: broken pipe
2023-03-28T03:09:30.218+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 2633014839997577102 request transport failed `write tcp 127.0.0.1:49678->127.0.0.1:9107: write: broken pipe`
2023-03-28T03:09:30.218+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 0 
2023-03-28T03:09:30.218+05:30 [Error] metadataClient:PickRandom: Replicas - [13864851557722976225], PrunedReplica - map[], FilteredReplica map[]
2023/03/28 03:09:30 Query on idx3_age_regular is successful - after indexer restart.
--- PASS: TestOrphanPartitionCleanup (34.91s)
=== RUN   TestIndexerSettings
2023/03/28 03:09:30 In TestIndexerSettings()
2023/03/28 03:09:30 Changing config key indexer.settings.max_cpu_percent to value 300
2023/03/28 03:09:30 Changing config key indexer.settings.inmemory_snapshot.interval to value 300
2023/03/28 03:09:30 Changing config key indexer.settings.persisted_snapshot.interval to value 20000
2023/03/28 03:09:30 Changing config key indexer.settings.recovery.max_rollbacks to value 3
2023/03/28 03:09:30 Changing config key indexer.settings.log_level to value error
--- PASS: TestIndexerSettings (0.60s)
=== RUN   TestRestoreDefaultSettings
2023/03/28 03:09:30 In TestIndexerSettings_RestoreDefault()
2023/03/28 03:09:30 Changing config key indexer.settings.max_cpu_percent to value 0
2023/03/28 03:09:31 Changing config key indexer.settings.inmemory_snapshot.interval to value 200
2023/03/28 03:09:31 Changing config key indexer.settings.persisted_snapshot.interval to value 5000
2023/03/28 03:09:31 Changing config key indexer.settings.recovery.max_rollbacks to value 5
2023/03/28 03:09:31 Changing config key indexer.settings.log_level to value info
--- PASS: TestRestoreDefaultSettings (0.55s)
=== RUN   TestStat_ItemsCount
2023/03/28 03:09:31 In TestStat_ItemsCount()
2023/03/28 03:09:31 In DropAllSecondaryIndexes()
2023/03/28 03:09:31 Index found:  idx2_company_regular
2023/03/28 03:09:31 Dropped index idx2_company_regular
2023/03/28 03:09:31 Index found:  idx1_age_regular
2023/03/28 03:09:31 Dropped index idx1_age_regular
2023/03/28 03:09:31 Index found:  idx3_age_regular
2023/03/28 03:09:31 Dropped index idx3_age_regular
2023/03/28 03:09:31 Emptying the default bucket
2023/03/28 03:09:34 Flush Enabled on bucket default, responseBody: 
2023/03/28 03:10:12 Flushed the bucket default, Response body: 
2023/03/28 03:10:12 Generating JSON docs
2023/03/28 03:10:12 Setting initial JSON docs in KV
2023/03/28 03:10:17 Creating a 2i
2023/03/28 03:10:20 Created the secondary index index_test1. Waiting for it become active
2023/03/28 03:10:20 Index is 14189842635176113974 now active
2023/03/28 03:10:25 items_count stat is 10000
--- PASS: TestStat_ItemsCount (54.37s)
=== RUN   TestRangeArrayIndex_Distinct
2023/03/28 03:10:25 In TestRangeArrayIndex_Distinct()
2023/03/28 03:10:25 In DropAllSecondaryIndexes()
2023/03/28 03:10:25 Index found:  index_test1
2023/03/28 03:10:25 Dropped index index_test1
2023/03/28 03:11:03 Flushed the bucket default, Response body: 
2023/03/28 03:11:07 Created the secondary index arridx_friends. Waiting for it become active
2023/03/28 03:11:07 Index is 9281690317131677426 now active
2023-03-28T03:11:07.674+05:30 [Error] transport error between 127.0.0.1:46528->127.0.0.1:9107: write tcp 127.0.0.1:46528->127.0.0.1:9107: write: broken pipe
2023-03-28T03:11:07.674+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:46528->127.0.0.1:9107: write: broken pipe`
2023-03-28T03:11:07.674+05:30 [Warn] scan failed: requestId  queryport 127.0.0.1:9107 inst 17984375936083112643 partition [0]
2023-03-28T03:11:07.674+05:30 [Warn] Scan failed with error for index 9281690317131677426.  Trying scan again with replica, reqId: :  write tcp 127.0.0.1:46528->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2023-03-28T03:11:07.674+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2023-03-28T03:11:07.674+05:30 [Error] metadataClient:PickRandom: Replicas - [17984375936083112643], PrunedReplica - map[], FilteredReplica map[]
2023-03-28T03:11:07.674+05:30 [Warn] Fail to find indexers to satisfy query request.  Trying scan again for index 9281690317131677426, reqId: :  write tcp 127.0.0.1:46528->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2023/03/28 03:11:07 Expected and Actual scan responses are the same
2023/03/28 03:11:10 Expected and Actual scan responses are the same
--- PASS: TestRangeArrayIndex_Distinct (44.82s)
=== RUN   TestUpdateArrayIndex_Distinct
2023/03/28 03:11:10 In TestUpdateArrayIndex_Distinct()
2023/03/28 03:11:10 In DropAllSecondaryIndexes()
2023/03/28 03:11:10 Index found:  arridx_friends
2023/03/28 03:11:10 Dropped index arridx_friends
2023/03/28 03:11:49 Flushed the bucket default, Response body: 
2023/03/28 03:11:52 Created the secondary index arridx_friends. Waiting for it become active
2023/03/28 03:11:52 Index is 11035121827357888314 now active
2023/03/28 03:11:52 Expected and Actual scan responses are the same
2023/03/28 03:11:55 Expected and Actual scan responses are the same
2023/03/28 03:11:56 Expected and Actual scan responses are the same
--- PASS: TestUpdateArrayIndex_Distinct (45.52s)
=== RUN   TestRangeArrayIndex_Duplicate
2023/03/28 03:11:56 In TestRangeArrayIndex_Duplicate()
2023/03/28 03:11:56 In DropAllSecondaryIndexes()
2023/03/28 03:11:56 Index found:  arridx_friends
2023/03/28 03:11:56 Dropped index arridx_friends
2023/03/28 03:12:34 Flushed the bucket default, Response body: 
2023/03/28 03:12:37 Created the secondary index arridx_friends. Waiting for it become active
2023/03/28 03:12:37 Index is 18001282499217668751 now active
2023/03/28 03:12:37 Expected and Actual scan responses are the same
2023/03/28 03:12:40 Expected and Actual scan responses are the same
--- PASS: TestRangeArrayIndex_Duplicate (44.66s)
=== RUN   TestUpdateArrayIndex_Duplicate
2023/03/28 03:12:40 In TestUpdateArrayIndex_Duplicate()
2023/03/28 03:12:40 In DropAllSecondaryIndexes()
2023/03/28 03:12:40 Index found:  arridx_friends
2023/03/28 03:12:40 Dropped index arridx_friends
2023/03/28 03:13:18 Flushed the bucket default, Response body: 
2023/03/28 03:13:22 Created the secondary index arridx_friends. Waiting for it become active
2023/03/28 03:13:22 Index is 15478010273754770727 now active
2023/03/28 03:13:22 Expected and Actual scan responses are the same
2023/03/28 03:13:25 Expected and Actual scan responses are the same
2023/03/28 03:13:25 Expected and Actual scan responses are the same
--- PASS: TestUpdateArrayIndex_Duplicate (44.88s)
=== RUN   TestArrayIndexCornerCases
2023/03/28 03:13:25 In TestArrayIndexCornerCases()
2023/03/28 03:13:29 Created the secondary index arr_single. Waiting for it become active
2023/03/28 03:13:29 Index is 1075861554363358180 now active
2023/03/28 03:13:35 Created the secondary index arr_leading. Waiting for it become active
2023/03/28 03:13:35 Index is 9649316613680829493 now active
2023/03/28 03:13:41 Created the secondary index arr_nonleading. Waiting for it become active
2023/03/28 03:13:41 Index is 9886367343869077319 now active
2023/03/28 03:13:41 

--------ScanAll for EMPTY array--------
2023/03/28 03:13:41 Count of scanResults is 0
2023/03/28 03:13:41 Count of scanResults is 0
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values ["#AGX6" Missing field or index.] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 

--------ScanAll for MISSING array--------
2023/03/28 03:13:41 Count of scanResults is 0
2023/03/28 03:13:41 Count of scanResults is 0
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values ["Qr7XR" Missing field or index.] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 

--------ScanAll for NULL array--------
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values [null] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values [null "Rc6HAU"] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values ["Rc6HAU" null] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 

--------ScanAll for SCALARVALUE array--------
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values ["IamScalar"] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values ["IamScalar" "nfmq1T"] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values ["nfmq1T" "IamScalar"] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 

--------ScanAll for SCALAROBJECT array--------
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values [{"1":"abc","2":"def"}] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values [{"1":"abc","2":"def"} "sOZkf"] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
2023/03/28 03:13:41 Count of scanResults is 1
2023/03/28 03:13:41 Key: string -8553698616520767630  Value: value.Values ["sOZkf" {"1":"abc","2":"def"}] false
2023/03/28 03:13:41 Expected and Actual scan responses are the same
--- PASS: TestArrayIndexCornerCases (16.02s)
=== RUN   TestArraySizeIncreaseDecrease1
2023/03/28 03:13:41 In TestArraySizeIncreaseDecrease1()
2023/03/28 03:13:41 In DropAllSecondaryIndexes()
2023/03/28 03:13:41 Index found:  arridx_friends
2023/03/28 03:13:41 Dropped index arridx_friends
2023/03/28 03:13:41 Index found:  arr_single
2023/03/28 03:13:41 Dropped index arr_single
2023/03/28 03:13:41 Index found:  arr_nonleading
2023/03/28 03:13:41 Dropped index arr_nonleading
2023/03/28 03:13:41 Index found:  arr_leading
2023/03/28 03:13:41 Dropped index arr_leading
2023/03/28 03:14:19 Flushed the bucket default, Response body: 
2023/03/28 03:14:19 Changing config key indexer.settings.allow_large_keys to value false
2023/03/28 03:14:20 Changing config key indexer.settings.max_seckey_size to value 100
2023/03/28 03:14:21 Changing config key indexer.settings.max_array_seckey_size to value 2000
2023/03/28 03:14:22 Start of createArrayDocs()
2023/03/28 03:14:39 End of createArrayDocs()
2023/03/28 03:14:39 Start of createArrayDocs()
2023/03/28 03:14:39 End of createArrayDocs()
2023/03/28 03:14:42 Created the secondary index arr1. Waiting for it become active
2023/03/28 03:14:42 Index is 15287388168195405714 now active
2023/03/28 03:14:49 Created the secondary index arr2. Waiting for it become active
2023/03/28 03:14:49 Index is 10881006628467572197 now active
2023/03/28 03:14:55 Created the secondary index idx3. Waiting for it become active
2023/03/28 03:14:55 Index is 2120565838586110108 now active
2023/03/28 03:14:55 Using n1ql client
2023/03/28 03:14:55 Length of scanResults = 10
2023/03/28 03:14:55 Changing config key indexer.settings.max_seckey_size to value 4096
2023/03/28 03:14:55 Changing config key indexer.settings.max_array_seckey_size to value 51200
2023/03/28 03:15:00 Expected and Actual scan responses are the same
2023/03/28 03:15:00 Using n1ql client
2023/03/28 03:15:00 Expected and Actual scan responses are the same
2023/03/28 03:15:00 Using n1ql client
2023/03/28 03:15:00 Expected and Actual scan responses are the same
2023/03/28 03:15:00 Changing config key indexer.settings.max_seckey_size to value 100
2023/03/28 03:15:00 Changing config key indexer.settings.max_array_seckey_size to value 2200
2023/03/28 03:15:04 Using n1ql client
2023/03/28 03:15:04 Length of scanResults = 10
2023/03/28 03:15:04 Changing config key indexer.settings.max_seckey_size to value 4608
2023/03/28 03:15:04 Changing config key indexer.settings.max_array_seckey_size to value 10240
--- PASS: TestArraySizeIncreaseDecrease1 (84.01s)
=== RUN   TestArraySizeIncreaseDecrease2
2023/03/28 03:15:05 In TestArraySizeIncreaseDecrease2()
2023/03/28 03:15:05 In DropAllSecondaryIndexes()
2023/03/28 03:15:05 Index found:  idx3
2023/03/28 03:15:05 Dropped index idx3
2023/03/28 03:15:05 Index found:  arr2
2023/03/28 03:15:05 Dropped index arr2
2023/03/28 03:15:05 Index found:  arr1
2023/03/28 03:15:05 Dropped index arr1
2023/03/28 03:15:44 Flushed the bucket default, Response body: 
2023/03/28 03:15:44 Changing config key indexer.settings.allow_large_keys to value true
2023/03/28 03:15:45 Changing config key indexer.settings.max_seckey_size to value 100
2023/03/28 03:15:45 Changing config key indexer.settings.max_array_seckey_size to value 2000
2023/03/28 03:15:46 Start of createArrayDocs()
2023/03/28 03:16:03 End of createArrayDocs()
2023/03/28 03:16:04 Start of createArrayDocs()
2023/03/28 03:16:04 End of createArrayDocs()
2023/03/28 03:16:11 Created the secondary index arr1. Waiting for it become active
2023/03/28 03:16:11 Index is 9623119471794291219 now active
2023/03/28 03:16:18 Created the secondary index arr2. Waiting for it become active
2023/03/28 03:16:18 Index is 9098039076354569825 now active
2023/03/28 03:16:23 Created the secondary index idx3. Waiting for it become active
2023/03/28 03:16:23 Index is 1389401823187454348 now active
2023/03/28 03:16:24 Expected and Actual scan responses are the same
2023/03/28 03:16:24 Using n1ql client
2023/03/28 03:16:24 Expected and Actual scan responses are the same
2023/03/28 03:16:24 Using n1ql client
2023/03/28 03:16:24 Expected and Actual scan responses are the same
2023/03/28 03:16:24 Changing config key indexer.settings.max_seckey_size to value 4096
2023/03/28 03:16:24 Changing config key indexer.settings.max_array_seckey_size to value 51200
2023/03/28 03:16:29 Expected and Actual scan responses are the same
2023/03/28 03:16:29 Using n1ql client
2023/03/28 03:16:29 Expected and Actual scan responses are the same
2023/03/28 03:16:29 Using n1ql client
2023/03/28 03:16:29 Expected and Actual scan responses are the same
2023/03/28 03:16:29 Changing config key indexer.settings.max_seckey_size to value 100
2023/03/28 03:16:29 Changing config key indexer.settings.max_array_seckey_size to value 2200
2023/03/28 03:16:33 Expected and Actual scan responses are the same
2023/03/28 03:16:33 Using n1ql client
2023/03/28 03:16:33 Expected and Actual scan responses are the same
2023/03/28 03:16:33 Using n1ql client
2023/03/28 03:16:33 Expected and Actual scan responses are the same
2023/03/28 03:16:33 Changing config key indexer.settings.max_seckey_size to value 4608
2023/03/28 03:16:33 Changing config key indexer.settings.max_array_seckey_size to value 10240
--- PASS: TestArraySizeIncreaseDecrease2 (88.83s)
=== RUN   TestBufferedScan_BackfillDisabled
2023/03/28 03:16:34 In TestBufferedScan_BackfillDisabled()
2023/03/28 03:16:34 In DropAllSecondaryIndexes()
2023/03/28 03:16:34 Index found:  arr1
2023/03/28 03:16:34 Dropped index arr1
2023/03/28 03:16:34 Index found:  idx3
2023/03/28 03:16:34 Dropped index idx3
2023/03/28 03:16:34 Index found:  arr2
2023/03/28 03:16:34 Dropped index arr2
2023/03/28 03:17:12 Flushed the bucket default, Response body: 
2023/03/28 03:17:51 Changing config key queryport.client.settings.backfillLimit to value 0
2023/03/28 03:17:56 Created the secondary index addressidx. Waiting for it become active
2023/03/28 03:17:56 Index is 5226641224500758672 now active
2023-03-28T03:17:57.003+05:30 [Info] metadata provider version changed 1509 -> 1510
2023-03-28T03:17:57.003+05:30 [Info] switched currmeta from 1509 -> 1510 force false 
2023-03-28T03:17:57.004+05:30 [Info] GSIC[default/default-_default-_default-1679953676988402707] started ...
2023-03-28T03:17:57.004+05:30 [Warn] MonitorIndexer: Indexer for default:_default:_default is already being monitored
2023/03/28 03:17:57 Non-backfill file found: /tmp/.ICE-unix
2023/03/28 03:17:57 Non-backfill file found: /tmp/.Test-unix
2023/03/28 03:17:57 Non-backfill file found: /tmp/.X11-unix
2023/03/28 03:17:57 Non-backfill file found: /tmp/.XIM-unix
2023/03/28 03:17:57 Non-backfill file found: /tmp/.font-unix
2023/03/28 03:17:57 Non-backfill file found: /tmp/TestPause
2023/03/28 03:17:57 Non-backfill file found: /tmp/b9e7d975-6cd4-486e-9925-9d6188eb7a9f.sock
2023/03/28 03:17:57 Non-backfill file found: /tmp/e5d5163a-e6ae-4990-87d8-0397ef9ffd8c.sock
2023/03/28 03:17:57 Non-backfill file found: /tmp/f_b9e7d975-6cd4-486e-9925-9d6188eb7a9f.sock
2023/03/28 03:17:57 Non-backfill file found: /tmp/f_e5d5163a-e6ae-4990-87d8-0397ef9ffd8c.sock
2023/03/28 03:17:57 Non-backfill file found: /tmp/fail.log
2023/03/28 03:17:57 Non-backfill file found: /tmp/go-build21936689
2023/03/28 03:17:57 Non-backfill file found: /tmp/mdbslice
2023/03/28 03:17:57 Non-backfill file found: /tmp/systemd-private-45f2989880f940a999fe1b0eff665e9e-apache2.service-bh2MOy
2023/03/28 03:17:57 Non-backfill file found: /tmp/systemd-private-45f2989880f940a999fe1b0eff665e9e-systemd-timesyncd.service-9RQt45
2023/03/28 03:17:57 limit=1,chsize=256; received 1 items; took 8.004533ms
2023-03-28T03:17:57.028+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T03:17:57.028+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T03:17:57.028+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T03:17:57.028+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T03:17:57.035+05:30 [Info] switched currmeta from 1510 -> 1510 force true 
2023-03-28T03:17:57.037+05:30 [Info] switched currmeta from 1514 -> 1514 force true 
2023-03-28T03:17:58.337+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2023-03-28T03:17:58.346+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T03:17:58.346+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T03:17:58.347+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2023-03-28T03:17:58.347+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2023-03-28T03:17:58.350+05:30 [Info] switched currmeta from 1514 -> 1514 force true 
2023-03-28T03:17:58.352+05:30 [Info] switched currmeta from 1510 -> 1510 force true 
2023/03/28 03:17:59 limit=1000,chsize=256; received 1000 items; took 1.261778306s
2023-03-28T03:18:00.278+05:30 [Info] gsiKeyspace::Close Closing default:_default:_default
--- PASS: TestBufferedScan_BackfillDisabled (85.76s)
=== RUN   TestBufferedScan_BackfillEnabled
2023/03/28 03:18:00 In TestBufferedScan_BackfillEnabled()
2023-03-28T03:18:00.378+05:30 [Info] MetadataProvider.CheckIndexerStatus(): adminport=127.0.0.1:9106 connected=true
2023/03/28 03:18:00 Changing config key queryport.client.settings.backfillLimit to value 1
2023-03-28T03:18:00.402+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":50,"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.blob_storage_bucket":"","indexer.settings.rebalance.blob_storage_prefix":"","indexer.settings.rebalance.blob_storage_region":"","indexer.settings.rebalance.blob_storage_scheme":"","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":201,"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":70,"indexer.settings.thresholds.mem_low":50,"indexer.settings.thresholds.units_high":60,"indexer.settings.thresholds.units_low":40,"indexer.settings.units_quota":10000,"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}
2023/03/28 03:18:00 limit=1,chsize=256; received 1 items; took 11.575043ms
2023/03/28 03:18:01 limit=1000,chsize=256; received 1000 items; took 11.251475ms
2023/03/28 03:18:13 limit=1000,chsize=256; received 1000 items; took 10.418410077s
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
2023/03/28 03:18:26 limit=1000,chsize=256; received 583 items; took 11.941136353s
2023/03/28 03:18:26 limit=1000,chsize=256; received 583 items; took 11.961150106s
2023/03/28 03:18:27 Changing config key queryport.client.settings.backfillLimit to value 0
--- PASS: TestBufferedScan_BackfillEnabled (27.64s)
=== RUN   TestMultiScanSetup
2023/03/28 03:18:27 In TestMultiScanSetup()
2023/03/28 03:18:29 Emptying the default bucket
2023/03/28 03:18:32 Flush Enabled on bucket default, responseBody: 
2023/03/28 03:19:09 Flushed the bucket default, Response body: 
2023/03/28 03:19:09 Populating the default bucket
2023/03/28 03:19:25 Created the secondary index index_companyname. Waiting for it become active
2023/03/28 03:19:25 Index is 12113067411699983318 now active
2023/03/28 03:19:31 Created the secondary index index_company. Waiting for it become active
2023/03/28 03:19:31 Index is 12196521371058109947 now active
2023/03/28 03:19:37 Created the secondary index index_company_name_age. Waiting for it become active
2023/03/28 03:19:37 Index is 16887194377800073514 now active
2023/03/28 03:19:43 Created the secondary index index_primary. Waiting for it become active
2023/03/28 03:19:43 Index is 9246609765179312432 now active
2023/03/28 03:19:50 Created the secondary index index_company_name_age_address. Waiting for it become active
2023/03/28 03:19:50 Index is 5219871470495056427 now active
2023/03/28 03:19:56 Created the secondary index index_company_name_age_address_friends. Waiting for it become active
2023/03/28 03:19:56 Index is 10569270576429548854 now active
--- PASS: TestMultiScanSetup (88.67s)
=== RUN   TestMultiScanCount
2023/03/28 03:19:56 In TestMultiScanCount()
2023/03/28 03:19:56 

--------- Composite Index with 2 fields ---------
2023/03/28 03:19:56 
--- ScanAllNoFilter ---
2023/03/28 03:19:56 distinct = false
2023/03/28 03:19:57 Using n1ql client
2023/03/28 03:19:57 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:19:57 
--- ScanAllFilterNil ---
2023/03/28 03:19:57 distinct = false
2023/03/28 03:19:57 Using n1ql client
2023/03/28 03:19:57 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:19:57 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:19:57 distinct = false
2023/03/28 03:19:57 Using n1ql client
2023/03/28 03:19:57 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:19:57 
--- SingleSeek ---
2023/03/28 03:19:57 distinct = false
2023/03/28 03:19:58 Using n1ql client
2023/03/28 03:19:58 MultiScanCount = 1 ExpectedMultiScanCount = 1
2023/03/28 03:19:58 
--- MultipleSeek ---
2023/03/28 03:19:58 distinct = false
2023/03/28 03:19:58 Using n1ql client
2023/03/28 03:19:58 MultiScanCount = 2 ExpectedMultiScanCount = 2
2023/03/28 03:19:58 
--- SimpleRange ---
2023/03/28 03:19:58 distinct = false
2023/03/28 03:19:59 Using n1ql client
2023/03/28 03:19:59 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2023/03/28 03:19:59 
--- NonOverlappingRanges ---
2023/03/28 03:19:59 distinct = false
2023/03/28 03:19:59 Using n1ql client
2023/03/28 03:19:59 MultiScanCount = 4283 ExpectedMultiScanCount = 4283
2023/03/28 03:19:59 
--- OverlappingRanges ---
2023/03/28 03:19:59 distinct = false
2023/03/28 03:19:59 Using n1ql client
2023/03/28 03:19:59 MultiScanCount = 5756 ExpectedMultiScanCount = 5756
2023/03/28 03:19:59 
--- NonOverlappingFilters ---
2023/03/28 03:19:59 distinct = false
2023/03/28 03:20:00 Using n1ql client
2023/03/28 03:20:00 MultiScanCount = 337 ExpectedMultiScanCount = 337
2023/03/28 03:20:00 
--- OverlappingFilters ---
2023/03/28 03:20:00 distinct = false
2023/03/28 03:20:00 Using n1ql client
2023/03/28 03:20:00 MultiScanCount = 2559 ExpectedMultiScanCount = 2559
2023/03/28 03:20:00 
--- BoundaryFilters ---
2023/03/28 03:20:00 distinct = false
2023/03/28 03:20:01 Using n1ql client
2023/03/28 03:20:01 MultiScanCount = 499 ExpectedMultiScanCount = 499
2023/03/28 03:20:01 
--- SeekAndFilters_NonOverlapping ---
2023/03/28 03:20:01 distinct = false
2023/03/28 03:20:01 Using n1ql client
2023/03/28 03:20:01 MultiScanCount = 256 ExpectedMultiScanCount = 256
2023/03/28 03:20:01 
--- SeekAndFilters_Overlapping ---
2023/03/28 03:20:01 distinct = false
2023/03/28 03:20:01 Using n1ql client
2023/03/28 03:20:01 MultiScanCount = 255 ExpectedMultiScanCount = 255
2023/03/28 03:20:01 
--- SimpleRangeLowUnbounded ---
2023/03/28 03:20:01 distinct = false
2023/03/28 03:20:02 Using n1ql client
2023/03/28 03:20:02 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2023/03/28 03:20:02 
--- SimpleRangeHighUnbounded ---
2023/03/28 03:20:02 distinct = false
2023/03/28 03:20:02 Using n1ql client
2023/03/28 03:20:02 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2023/03/28 03:20:02 
--- SimpleRangeMultipleUnbounded ---
2023/03/28 03:20:02 distinct = false
2023/03/28 03:20:03 Using n1ql client
2023/03/28 03:20:03 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:20:03 
--- FiltersWithUnbounded ---
2023/03/28 03:20:03 distinct = false
2023/03/28 03:20:03 Using n1ql client
2023/03/28 03:20:03 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2023/03/28 03:20:03 
--- FiltersLowGreaterThanHigh ---
2023/03/28 03:20:03 distinct = false
2023/03/28 03:20:03 Using n1ql client
2023/03/28 03:20:03 MultiScanCount = 418 ExpectedMultiScanCount = 418
2023/03/28 03:20:03 

--------- Simple Index with 1 field ---------
2023/03/28 03:20:03 
--- SingleIndexSimpleRange ---
2023/03/28 03:20:03 distinct = false
2023/03/28 03:20:04 Using n1ql client
2023/03/28 03:20:04 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2023/03/28 03:20:04 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:20:04 distinct = false
2023/03/28 03:20:04 Using n1ql client
2023/03/28 03:20:04 MultiScanCount = 7140 ExpectedMultiScanCount = 7140
2023/03/28 03:20:04 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:20:04 distinct = false
2023/03/28 03:20:04 Using n1ql client
2023/03/28 03:20:04 MultiScanCount = 8701 ExpectedMultiScanCount = 8701
2023/03/28 03:20:04 

--------- Composite Index with 3 fields ---------
2023/03/28 03:20:04 
--- ScanAllNoFilter ---
2023/03/28 03:20:04 distinct = false
2023/03/28 03:20:05 Using n1ql client
2023/03/28 03:20:05 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:20:05 
--- ScanAllFilterNil ---
2023/03/28 03:20:05 distinct = false
2023/03/28 03:20:05 Using n1ql client
2023/03/28 03:20:05 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:20:05 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:20:05 distinct = false
2023/03/28 03:20:06 Using n1ql client
2023/03/28 03:20:06 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:20:06 
--- 3FieldsSingleSeek ---
2023/03/28 03:20:06 distinct = false
2023/03/28 03:20:06 Using n1ql client
2023/03/28 03:20:06 MultiScanCount = 1 ExpectedMultiScanCount = 1
2023/03/28 03:20:06 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:20:06 distinct = false
2023/03/28 03:20:07 Using n1ql client
2023/03/28 03:20:07 MultiScanCount = 3 ExpectedMultiScanCount = 3
2023/03/28 03:20:07 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:20:07 distinct = false
2023/03/28 03:20:07 Using n1ql client
2023/03/28 03:20:07 MultiScanCount = 2 ExpectedMultiScanCount = 2
2023/03/28 03:20:07 

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

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

--------- Simple Index with 1 field ---------
2023/03/28 03:20:22 
--- SingleIndexSimpleRange ---
2023/03/28 03:20:22 distinct = true
2023/03/28 03:20:23 Using n1ql client
2023/03/28 03:20:23 MultiScanCount = 227 ExpectedMultiScanCount = 227
2023/03/28 03:20:23 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:20:23 distinct = true
2023/03/28 03:20:23 Using n1ql client
2023/03/28 03:20:23 MultiScanCount = 713 ExpectedMultiScanCount = 713
2023/03/28 03:20:23 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:20:23 distinct = true
2023/03/28 03:20:23 Using n1ql client
2023/03/28 03:20:23 MultiScanCount = 869 ExpectedMultiScanCount = 869
2023/03/28 03:20:23 

--------- Composite Index with 3 fields ---------
2023/03/28 03:20:23 
--- ScanAllNoFilter ---
2023/03/28 03:20:23 distinct = true
2023/03/28 03:20:24 Using n1ql client
2023/03/28 03:20:24 MultiScanCount = 999 ExpectedMultiScanCount = 999
2023/03/28 03:20:24 
--- ScanAllFilterNil ---
2023/03/28 03:20:24 distinct = true
2023/03/28 03:20:24 Using n1ql client
2023/03/28 03:20:24 MultiScanCount = 999 ExpectedMultiScanCount = 999
2023/03/28 03:20:24 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:20:24 distinct = true
2023/03/28 03:20:25 Using n1ql client
2023/03/28 03:20:25 MultiScanCount = 999 ExpectedMultiScanCount = 999
2023/03/28 03:20:25 
--- 3FieldsSingleSeek ---
2023/03/28 03:20:25 distinct = true
2023/03/28 03:20:25 Using n1ql client
2023/03/28 03:20:25 MultiScanCount = 1 ExpectedMultiScanCount = 1
2023/03/28 03:20:25 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:20:25 distinct = true
2023/03/28 03:20:25 Using n1ql client
2023/03/28 03:20:25 MultiScanCount = 3 ExpectedMultiScanCount = 3
2023/03/28 03:20:25 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:20:25 distinct = true
2023/03/28 03:20:26 Using n1ql client
2023/03/28 03:20:26 MultiScanCount = 2 ExpectedMultiScanCount = 2
--- PASS: TestMultiScanCount (29.71s)
=== RUN   TestMultiScanScenarios
2023/03/28 03:20:26 In TestMultiScanScenarios()
2023/03/28 03:20:26 

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

--------- Simple Index with 1 field ---------
2023/03/28 03:20:33 
--- SingleIndexSimpleRange ---
2023/03/28 03:20:33 distinct = false
2023/03/28 03:20:34 Using n1ql client
2023/03/28 03:20:34 Expected and Actual scan responses are the same
2023/03/28 03:20:34 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:20:34 distinct = false
2023/03/28 03:20:34 Using n1ql client
2023/03/28 03:20:34 Expected and Actual scan responses are the same
2023/03/28 03:20:34 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:20:34 distinct = false
2023/03/28 03:20:34 Using n1ql client
2023/03/28 03:20:34 Expected and Actual scan responses are the same
2023/03/28 03:20:34 

--------- Composite Index with 3 fields ---------
2023/03/28 03:20:34 
--- ScanAllNoFilter ---
2023/03/28 03:20:34 distinct = false
2023/03/28 03:20:35 Using n1ql client
2023/03/28 03:20:35 Expected and Actual scan responses are the same
2023/03/28 03:20:35 
--- ScanAllFilterNil ---
2023/03/28 03:20:35 distinct = false
2023/03/28 03:20:35 Using n1ql client
2023/03/28 03:20:35 Expected and Actual scan responses are the same
2023/03/28 03:20:35 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:20:35 distinct = false
2023/03/28 03:20:36 Using n1ql client
2023/03/28 03:20:36 Expected and Actual scan responses are the same
2023/03/28 03:20:36 
--- 3FieldsSingleSeek ---
2023/03/28 03:20:36 distinct = false
2023/03/28 03:20:36 Using n1ql client
2023/03/28 03:20:36 Expected and Actual scan responses are the same
2023/03/28 03:20:36 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:20:36 distinct = false
2023/03/28 03:20:37 Using n1ql client
2023/03/28 03:20:37 Expected and Actual scan responses are the same
2023/03/28 03:20:37 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:20:37 distinct = false
2023/03/28 03:20:37 Using n1ql client
2023/03/28 03:20:37 Expected and Actual scan responses are the same
2023/03/28 03:20:37 

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

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

--------- Simple Index with 1 field ---------
2023/03/28 03:20:52 
--- SingleIndexSimpleRange ---
2023/03/28 03:20:52 distinct = false
2023/03/28 03:20:52 Using n1ql client
2023/03/28 03:20:52 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:20:52 distinct = false
2023/03/28 03:20:53 Using n1ql client
2023/03/28 03:20:53 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:20:53 distinct = false
2023/03/28 03:20:53 Using n1ql client
2023/03/28 03:20:53 

--------- Composite Index with 3 fields ---------
2023/03/28 03:20:53 
--- ScanAllNoFilter ---
2023/03/28 03:20:53 distinct = false
2023/03/28 03:20:53 Using n1ql client
2023/03/28 03:20:53 
--- ScanAllFilterNil ---
2023/03/28 03:20:53 distinct = false
2023/03/28 03:20:54 Using n1ql client
2023/03/28 03:20:54 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:20:54 distinct = false
2023/03/28 03:20:54 Using n1ql client
2023/03/28 03:20:54 
--- 3FieldsSingleSeek ---
2023/03/28 03:20:54 distinct = false
2023/03/28 03:20:55 Using n1ql client
2023/03/28 03:20:55 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:20:55 distinct = false
2023/03/28 03:20:55 Using n1ql client
2023/03/28 03:20:55 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:20:55 distinct = false
2023/03/28 03:20:56 Using n1ql client
--- PASS: TestMultiScanOffset (10.83s)
=== RUN   TestMultiScanPrimaryIndex
2023/03/28 03:20:56 In TestMultiScanPrimaryIndex()
2023/03/28 03:20:56 
--- PrimaryRange ---
2023/03/28 03:20:56 Using n1ql client
2023/03/28 03:20:56 Expected and Actual scan responses are the same
2023/03/28 03:20:56 
--- PrimaryScanAllNoFilter ---
2023/03/28 03:20:56 Using n1ql client
2023/03/28 03:20:56 Expected and Actual scan responses are the same
--- PASS: TestMultiScanPrimaryIndex (0.07s)
=== RUN   TestMultiScanDistinct
2023/03/28 03:20:56 In TestScansDistinct()
2023/03/28 03:20:56 

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

--------- Simple Index with 1 field ---------
2023/03/28 03:21:03 
--- SingleIndexSimpleRange ---
2023/03/28 03:21:03 distinct = true
2023/03/28 03:21:04 Using n1ql client
2023/03/28 03:21:04 Expected and Actual scan responses are the same
2023/03/28 03:21:04 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:21:04 distinct = true
2023/03/28 03:21:04 Using n1ql client
2023/03/28 03:21:04 Expected and Actual scan responses are the same
2023/03/28 03:21:04 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:21:04 distinct = true
2023/03/28 03:21:04 Using n1ql client
2023/03/28 03:21:04 Expected and Actual scan responses are the same
2023/03/28 03:21:04 

--------- Composite Index with 3 fields ---------
2023/03/28 03:21:04 
--- ScanAllNoFilter ---
2023/03/28 03:21:04 distinct = true
2023/03/28 03:21:05 Using n1ql client
2023/03/28 03:21:05 Expected and Actual scan responses are the same
2023/03/28 03:21:05 
--- ScanAllFilterNil ---
2023/03/28 03:21:05 distinct = true
2023/03/28 03:21:05 Using n1ql client
2023/03/28 03:21:05 Expected and Actual scan responses are the same
2023/03/28 03:21:05 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:21:05 distinct = true
2023/03/28 03:21:06 Using n1ql client
2023/03/28 03:21:06 Expected and Actual scan responses are the same
2023/03/28 03:21:06 
--- 3FieldsSingleSeek ---
2023/03/28 03:21:06 distinct = true
2023/03/28 03:21:06 Using n1ql client
2023/03/28 03:21:06 Expected and Actual scan responses are the same
2023/03/28 03:21:06 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:21:06 distinct = true
2023/03/28 03:21:07 Using n1ql client
2023/03/28 03:21:07 Expected and Actual scan responses are the same
2023/03/28 03:21:07 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:21:07 distinct = true
2023/03/28 03:21:07 Using n1ql client
2023/03/28 03:21:07 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDistinct (11.31s)
=== RUN   TestMultiScanProjection
2023/03/28 03:21:07 In TestMultiScanProjection()
2023/03/28 03:21:07 

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

--------- Simple Index with 1 field ---------
2023/03/28 03:21:15 
--- SingleIndexSimpleRange ---
2023/03/28 03:21:15 distinct = true
2023/03/28 03:21:16 Using n1ql client
2023/03/28 03:21:16 Expected and Actual scan responses are the same
2023/03/28 03:21:16 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:21:16 distinct = true
2023/03/28 03:21:16 Using n1ql client
2023/03/28 03:21:16 Expected and Actual scan responses are the same
2023/03/28 03:21:16 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:21:16 distinct = true
2023/03/28 03:21:16 Using n1ql client
2023/03/28 03:21:16 Expected and Actual scan responses are the same
2023/03/28 03:21:16 

--------- Composite Index with 3 fields ---------
2023/03/28 03:21:16 
--- ScanAllNoFilter ---
2023/03/28 03:21:16 distinct = true
2023/03/28 03:21:17 Using n1ql client
2023/03/28 03:21:17 Expected and Actual scan responses are the same
2023/03/28 03:21:17 
--- ScanAllFilterNil ---
2023/03/28 03:21:17 distinct = true
2023/03/28 03:21:17 Using n1ql client
2023/03/28 03:21:17 Expected and Actual scan responses are the same
2023/03/28 03:21:17 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:21:17 distinct = true
2023/03/28 03:21:18 Using n1ql client
2023/03/28 03:21:18 Expected and Actual scan responses are the same
2023/03/28 03:21:18 
--- 3FieldsSingleSeek ---
2023/03/28 03:21:18 distinct = true
2023/03/28 03:21:18 Using n1ql client
2023/03/28 03:21:18 Expected and Actual scan responses are the same
2023/03/28 03:21:18 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:21:18 distinct = true
2023/03/28 03:21:19 Using n1ql client
2023/03/28 03:21:19 Expected and Actual scan responses are the same
2023/03/28 03:21:19 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:21:19 distinct = true
2023/03/28 03:21:19 Using n1ql client
2023/03/28 03:21:19 Expected and Actual scan responses are the same
2023/03/28 03:21:19 indexes are: index_company, index_companyname, index_company_name_age, index_company_name_age_address, index_company_name_age_address_friends
2023/03/28 03:21:19 fields are: [company], [company name], [company name age], [company name age address], [company name age address friends]
2023/03/28 03:21:19 
--- SingleIndexProjectFirst ---
2023/03/28 03:21:19 distinct = true
2023/03/28 03:21:19 Using n1ql client
2023/03/28 03:21:19 Expected and Actual scan responses are the same
2023/03/28 03:21:19 
--- 2FieldIndexProjectSecond ---
2023/03/28 03:21:19 distinct = true
2023/03/28 03:21:20 Using n1ql client
2023/03/28 03:21:20 Expected and Actual scan responses are the same
2023/03/28 03:21:20 
--- 3FieldIndexProjectThird ---
2023/03/28 03:21:20 distinct = true
2023/03/28 03:21:20 Using n1ql client
2023/03/28 03:21:20 Expected and Actual scan responses are the same
2023/03/28 03:21:20 
--- 4FieldIndexProjectFourth ---
2023/03/28 03:21:20 distinct = true
2023/03/28 03:21:22 Using n1ql client
2023/03/28 03:21:22 Expected and Actual scan responses are the same
2023/03/28 03:21:22 
--- 5FieldIndexProjectFifth ---
2023/03/28 03:21:22 distinct = true
2023/03/28 03:21:25 Using n1ql client
2023/03/28 03:21:25 Expected and Actual scan responses are the same
2023/03/28 03:21:25 
--- 2FieldIndexProjectTwo ---
2023/03/28 03:21:25 distinct = true
2023/03/28 03:21:25 Using n1ql client
2023/03/28 03:21:25 Expected and Actual scan responses are the same
2023/03/28 03:21:25 
--- 3FieldIndexProjectTwo ---
2023/03/28 03:21:25 distinct = true
2023/03/28 03:21:26 Using n1ql client
2023/03/28 03:21:26 Expected and Actual scan responses are the same
2023/03/28 03:21:26 
--- 3FieldIndexProjectTwo ---
2023/03/28 03:21:26 distinct = true
2023/03/28 03:21:26 Using n1ql client
2023/03/28 03:21:26 Expected and Actual scan responses are the same
2023/03/28 03:21:26 
--- 3FieldIndexProjectTwo ---
2023/03/28 03:21:26 distinct = true
2023/03/28 03:21:27 Using n1ql client
2023/03/28 03:21:27 Expected and Actual scan responses are the same
2023/03/28 03:21:27 
--- 4FieldIndexProjectTwo ---
2023/03/28 03:21:27 distinct = true
2023/03/28 03:21:28 Using n1ql client
2023/03/28 03:21:28 Expected and Actual scan responses are the same
2023/03/28 03:21:28 
--- 4FieldIndexProjectTwo ---
2023/03/28 03:21:28 distinct = true
2023/03/28 03:21:30 Using n1ql client
2023/03/28 03:21:30 Expected and Actual scan responses are the same
2023/03/28 03:21:30 
--- 4FieldIndexProjectTwo ---
2023/03/28 03:21:30 distinct = true
2023/03/28 03:21:31 Using n1ql client
2023/03/28 03:21:31 Expected and Actual scan responses are the same
2023/03/28 03:21:31 
--- 4FieldIndexProjectTwo ---
2023/03/28 03:21:31 distinct = true
2023/03/28 03:21:33 Using n1ql client
2023/03/28 03:21:33 Expected and Actual scan responses are the same
2023/03/28 03:21:33 
--- 4FieldIndexProjectTwo ---
2023/03/28 03:21:33 distinct = true
2023/03/28 03:21:34 Using n1ql client
2023/03/28 03:21:34 Expected and Actual scan responses are the same
2023/03/28 03:21:34 
--- 5FieldIndexProjectTwo ---
2023/03/28 03:21:34 distinct = true
2023/03/28 03:21:38 Using n1ql client
2023/03/28 03:21:38 Expected and Actual scan responses are the same
2023/03/28 03:21:38 
--- 5FieldIndexProjectTwo ---
2023/03/28 03:21:38 distinct = true
2023/03/28 03:21:41 Using n1ql client
2023/03/28 03:21:41 Expected and Actual scan responses are the same
2023/03/28 03:21:41 
--- 5FieldIndexProjectTwo ---
2023/03/28 03:21:41 distinct = true
2023/03/28 03:21:44 Using n1ql client
2023/03/28 03:21:44 Expected and Actual scan responses are the same
2023/03/28 03:21:44 
--- 5FieldIndexProjectTwo ---
2023/03/28 03:21:44 distinct = true
2023/03/28 03:21:47 Using n1ql client
2023/03/28 03:21:47 Expected and Actual scan responses are the same
2023/03/28 03:21:47 
--- 5FieldIndexProjectThree ---
2023/03/28 03:21:47 distinct = true
2023/03/28 03:21:50 Using n1ql client
2023/03/28 03:21:50 Expected and Actual scan responses are the same
2023/03/28 03:21:50 
--- 5FieldIndexProjectFour ---
2023/03/28 03:21:50 distinct = true
2023/03/28 03:21:54 Using n1ql client
2023/03/28 03:21:54 Expected and Actual scan responses are the same
2023/03/28 03:21:54 
--- 5FieldIndexProjectAll ---
2023/03/28 03:21:54 distinct = true
2023/03/28 03:21:57 Using n1ql client
2023/03/28 03:21:57 Expected and Actual scan responses are the same
2023/03/28 03:21:57 
--- 5FieldIndexProjectAlternate ---
2023/03/28 03:21:57 distinct = true
2023/03/28 03:22:00 Using n1ql client
2023/03/28 03:22:00 Expected and Actual scan responses are the same
2023/03/28 03:22:00 
--- 5FieldIndexProjectEmptyEntryKeys ---
2023/03/28 03:22:00 distinct = true
2023/03/28 03:22:03 Using n1ql client
2023/03/28 03:22:03 Expected and Actual scan responses are the same
--- PASS: TestMultiScanProjection (56.11s)
=== RUN   TestMultiScanRestAPI
2023/03/28 03:22:03 In TestMultiScanRestAPI()
2023/03/28 03:22:03 In DropAllSecondaryIndexes()
2023/03/28 03:22:03 Index found:  index_company
2023/03/28 03:22:03 Dropped index index_company
2023/03/28 03:22:03 Index found:  index_primary
2023/03/28 03:22:03 Dropped index index_primary
2023/03/28 03:22:03 Index found:  index_company_name_age
2023/03/28 03:22:03 Dropped index index_company_name_age
2023/03/28 03:22:03 Index found:  index_company_name_age_address
2023/03/28 03:22:03 Dropped index index_company_name_age_address
2023/03/28 03:22:03 Index found:  index_company_name_age_address_friends
2023/03/28 03:22:04 Dropped index index_company_name_age_address_friends
2023/03/28 03:22:04 Index found:  addressidx
2023/03/28 03:22:04 Dropped index addressidx
2023/03/28 03:22:04 Index found:  index_companyname
2023/03/28 03:22:04 Dropped index index_companyname
2023/03/28 03:22:07 Created the secondary index index_companyname. Waiting for it become active
2023/03/28 03:22:07 Index is 4318587625243959206 now active
2023/03/28 03:22:07 GET all indexes
2023/03/28 03:22:07 200 OK
2023/03/28 03:22:07 getscans status : 200 OK
2023/03/28 03:22:07 number of entries 337
2023/03/28 03:22:07 Status : 200 OK
2023/03/28 03:22:07 Result from multiscancount API = 0
--- PASS: TestMultiScanRestAPI (4.02s)
=== RUN   TestMultiScanPrimaryIndexVariations
2023/03/28 03:22:07 In TestMultiScanPrimaryIndexVariations()
2023/03/28 03:22:15 Created the secondary index index_pi. Waiting for it become active
2023/03/28 03:22:15 Index is 13100561476335295023 now active
2023/03/28 03:22:15 
--- No Overlap ---
2023/03/28 03:22:15 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 
--- Proper Overlap ---
2023/03/28 03:22:16 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 
--- Low Boundary Overlap ---
2023/03/28 03:22:16 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 
--- Complex Overlaps ---
2023/03/28 03:22:16 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 
--- Multiple Equal Overlaps ---
2023/03/28 03:22:16 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 
--- Boundary and Subset Overlaps ---
2023/03/28 03:22:16 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 
--- Point Overlaps ---
2023/03/28 03:22:16 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 
--- Boundary and Point Overlaps ---
2023/03/28 03:22:16 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 
--- Primary index range null ---
2023/03/28 03:22:16 Using n1ql client
2023/03/28 03:22:16 Expected and Actual scan responses are the same
2023/03/28 03:22:16 Dropping the secondary index index_pi
2023/03/28 03:22:16 Index dropped
--- PASS: TestMultiScanPrimaryIndexVariations (8.59s)
=== RUN   TestMultiScanDescSetup
2023/03/28 03:22:16 In TestMultiScanDescSetup()
2023/03/28 03:22:16 In DropAllSecondaryIndexes()
2023/03/28 03:22:16 Index found:  index_companyname
2023/03/28 03:22:16 Dropped index index_companyname
2023/03/28 03:22:20 Created the secondary index index_companyname_desc. Waiting for it become active
2023/03/28 03:22:20 Index is 2864581909119173676 now active
2023/03/28 03:22:27 Created the secondary index index_company_desc. Waiting for it become active
2023/03/28 03:22:27 Index is 7525368588391749903 now active
2023/03/28 03:22:33 Created the secondary index index_company_name_age_desc. Waiting for it become active
2023/03/28 03:22:33 Index is 6863063873419139149 now active
--- PASS: TestMultiScanDescSetup (17.46s)
=== RUN   TestMultiScanDescScenarios
2023/03/28 03:22:33 In TestMultiScanDescScenarios()
2023/03/28 03:22:33 

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

--------- Simple Index with 1 field ---------
2023/03/28 03:22:41 
--- SingleIndexSimpleRange ---
2023/03/28 03:22:41 distinct = false
2023/03/28 03:22:41 Using n1ql client
2023/03/28 03:22:41 Expected and Actual scan responses are the same
2023/03/28 03:22:41 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:22:41 distinct = false
2023/03/28 03:22:42 Using n1ql client
2023/03/28 03:22:42 Expected and Actual scan responses are the same
2023/03/28 03:22:42 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:22:42 distinct = false
2023/03/28 03:22:42 Using n1ql client
2023/03/28 03:22:42 Expected and Actual scan responses are the same
2023/03/28 03:22:42 

--------- Composite Index with 3 fields ---------
2023/03/28 03:22:42 
--- ScanAllNoFilter ---
2023/03/28 03:22:42 distinct = false
2023/03/28 03:22:42 Using n1ql client
2023/03/28 03:22:42 Expected and Actual scan responses are the same
2023/03/28 03:22:42 
--- ScanAllFilterNil ---
2023/03/28 03:22:42 distinct = false
2023/03/28 03:22:43 Using n1ql client
2023/03/28 03:22:43 Expected and Actual scan responses are the same
2023/03/28 03:22:43 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:22:43 distinct = false
2023/03/28 03:22:43 Using n1ql client
2023/03/28 03:22:44 Expected and Actual scan responses are the same
2023/03/28 03:22:44 
--- 3FieldsSingleSeek ---
2023/03/28 03:22:44 distinct = false
2023/03/28 03:22:44 Using n1ql client
2023/03/28 03:22:44 Expected and Actual scan responses are the same
2023/03/28 03:22:44 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:22:44 distinct = false
2023/03/28 03:22:44 Using n1ql client
2023/03/28 03:22:44 Expected and Actual scan responses are the same
2023/03/28 03:22:44 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:22:44 distinct = false
2023/03/28 03:22:45 Using n1ql client
2023/03/28 03:22:45 Expected and Actual scan responses are the same
2023/03/28 03:22:45 

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

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

--------- Simple Index with 1 field ---------
2023/03/28 03:22:59 
--- SingleIndexSimpleRange ---
2023/03/28 03:22:59 distinct = false
2023/03/28 03:22:59 Using n1ql client
2023/03/28 03:22:59 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2023/03/28 03:22:59 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:22:59 distinct = false
2023/03/28 03:22:59 Using n1ql client
2023/03/28 03:22:59 MultiScanCount = 7140 ExpectedMultiScanCount = 7140
2023/03/28 03:22:59 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:22:59 distinct = false
2023/03/28 03:23:00 Using n1ql client
2023/03/28 03:23:00 MultiScanCount = 8701 ExpectedMultiScanCount = 8701
2023/03/28 03:23:00 

--------- Composite Index with 3 fields ---------
2023/03/28 03:23:00 
--- ScanAllNoFilter ---
2023/03/28 03:23:00 distinct = false
2023/03/28 03:23:00 Using n1ql client
2023/03/28 03:23:00 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:23:00 
--- ScanAllFilterNil ---
2023/03/28 03:23:00 distinct = false
2023/03/28 03:23:01 Using n1ql client
2023/03/28 03:23:01 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:23:01 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:23:01 distinct = false
2023/03/28 03:23:01 Using n1ql client
2023/03/28 03:23:01 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2023/03/28 03:23:01 
--- 3FieldsSingleSeek ---
2023/03/28 03:23:01 distinct = false
2023/03/28 03:23:01 Using n1ql client
2023/03/28 03:23:01 MultiScanCount = 1 ExpectedMultiScanCount = 1
2023/03/28 03:23:01 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:23:01 distinct = false
2023/03/28 03:23:02 Using n1ql client
2023/03/28 03:23:02 MultiScanCount = 3 ExpectedMultiScanCount = 3
2023/03/28 03:23:02 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:23:02 distinct = false
2023/03/28 03:23:02 Using n1ql client
2023/03/28 03:23:02 MultiScanCount = 2 ExpectedMultiScanCount = 2
2023/03/28 03:23:02 

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

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

--------- Simple Index with 1 field ---------
2023/03/28 03:23:18 
--- SingleIndexSimpleRange ---
2023/03/28 03:23:18 distinct = true
2023/03/28 03:23:18 Using n1ql client
2023/03/28 03:23:18 MultiScanCount = 227 ExpectedMultiScanCount = 227
2023/03/28 03:23:18 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:23:18 distinct = true
2023/03/28 03:23:18 Using n1ql client
2023/03/28 03:23:18 MultiScanCount = 713 ExpectedMultiScanCount = 713
2023/03/28 03:23:18 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:23:18 distinct = true
2023/03/28 03:23:19 Using n1ql client
2023/03/28 03:23:19 MultiScanCount = 869 ExpectedMultiScanCount = 869
2023/03/28 03:23:19 

--------- Composite Index with 3 fields ---------
2023/03/28 03:23:19 
--- ScanAllNoFilter ---
2023/03/28 03:23:19 distinct = true
2023/03/28 03:23:19 Using n1ql client
2023/03/28 03:23:19 MultiScanCount = 999 ExpectedMultiScanCount = 999
2023/03/28 03:23:19 
--- ScanAllFilterNil ---
2023/03/28 03:23:19 distinct = true
2023/03/28 03:23:20 Using n1ql client
2023/03/28 03:23:20 MultiScanCount = 999 ExpectedMultiScanCount = 999
2023/03/28 03:23:20 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:23:20 distinct = true
2023/03/28 03:23:20 Using n1ql client
2023/03/28 03:23:20 MultiScanCount = 999 ExpectedMultiScanCount = 999
2023/03/28 03:23:20 
--- 3FieldsSingleSeek ---
2023/03/28 03:23:20 distinct = true
2023/03/28 03:23:21 Using n1ql client
2023/03/28 03:23:21 MultiScanCount = 1 ExpectedMultiScanCount = 1
2023/03/28 03:23:21 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:23:21 distinct = true
2023/03/28 03:23:21 Using n1ql client
2023/03/28 03:23:21 MultiScanCount = 3 ExpectedMultiScanCount = 3
2023/03/28 03:23:21 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:23:21 distinct = true
2023/03/28 03:23:21 Using n1ql client
2023/03/28 03:23:21 MultiScanCount = 2 ExpectedMultiScanCount = 2
--- PASS: TestMultiScanDescCount (29.59s)
=== RUN   TestMultiScanDescOffset
2023/03/28 03:23:21 In SkipTestMultiScanDescOffset()
2023/03/28 03:23:21 

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

--------- Simple Index with 1 field ---------
2023/03/28 03:23:29 
--- SingleIndexSimpleRange ---
2023/03/28 03:23:29 distinct = false
2023/03/28 03:23:29 Using n1ql client
2023/03/28 03:23:29 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:23:29 distinct = false
2023/03/28 03:23:29 Using n1ql client
2023/03/28 03:23:29 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:23:29 distinct = false
2023/03/28 03:23:30 Using n1ql client
2023/03/28 03:23:30 

--------- Composite Index with 3 fields ---------
2023/03/28 03:23:30 
--- ScanAllNoFilter ---
2023/03/28 03:23:30 distinct = false
2023/03/28 03:23:30 Using n1ql client
2023/03/28 03:23:30 
--- ScanAllFilterNil ---
2023/03/28 03:23:30 distinct = false
2023/03/28 03:23:31 Using n1ql client
2023/03/28 03:23:31 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:23:31 distinct = false
2023/03/28 03:23:31 Using n1ql client
2023/03/28 03:23:31 
--- 3FieldsSingleSeek ---
2023/03/28 03:23:31 distinct = false
2023/03/28 03:23:32 Using n1ql client
2023/03/28 03:23:32 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:23:32 distinct = false
2023/03/28 03:23:32 Using n1ql client
2023/03/28 03:23:32 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:23:32 distinct = false
2023/03/28 03:23:32 Using n1ql client
--- PASS: TestMultiScanDescOffset (11.06s)
=== RUN   TestMultiScanDescDistinct
2023/03/28 03:23:32 In SkipTestMultiScanDescDistinct()
2023/03/28 03:23:32 

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

--------- Simple Index with 1 field ---------
2023/03/28 03:23:40 
--- SingleIndexSimpleRange ---
2023/03/28 03:23:40 distinct = true
2023/03/28 03:23:40 Using n1ql client
2023/03/28 03:23:40 Expected and Actual scan responses are the same
2023/03/28 03:23:40 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2023/03/28 03:23:40 distinct = true
2023/03/28 03:23:41 Using n1ql client
2023/03/28 03:23:41 Expected and Actual scan responses are the same
2023/03/28 03:23:41 
--- SingleIndex_SimpleRanges_Overlapping ---
2023/03/28 03:23:41 distinct = true
2023/03/28 03:23:41 Using n1ql client
2023/03/28 03:23:41 Expected and Actual scan responses are the same
2023/03/28 03:23:41 

--------- Composite Index with 3 fields ---------
2023/03/28 03:23:41 
--- ScanAllNoFilter ---
2023/03/28 03:23:41 distinct = true
2023/03/28 03:23:41 Using n1ql client
2023/03/28 03:23:41 Expected and Actual scan responses are the same
2023/03/28 03:23:41 
--- ScanAllFilterNil ---
2023/03/28 03:23:41 distinct = true
2023/03/28 03:23:42 Using n1ql client
2023/03/28 03:23:42 Expected and Actual scan responses are the same
2023/03/28 03:23:42 
--- ScanAll_AllFiltersNil ---
2023/03/28 03:23:42 distinct = true
2023/03/28 03:23:42 Using n1ql client
2023/03/28 03:23:43 Expected and Actual scan responses are the same
2023/03/28 03:23:43 
--- 3FieldsSingleSeek ---
2023/03/28 03:23:43 distinct = true
2023/03/28 03:23:43 Using n1ql client
2023/03/28 03:23:43 Expected and Actual scan responses are the same
2023/03/28 03:23:43 
--- 3FieldsMultipleSeeks ---
2023/03/28 03:23:43 distinct = true
2023/03/28 03:23:43 Using n1ql client
2023/03/28 03:23:43 Expected and Actual scan responses are the same
2023/03/28 03:23:43 
--- 3FieldsMultipleSeeks_Identical ---
2023/03/28 03:23:43 distinct = true
2023/03/28 03:23:44 Using n1ql client
2023/03/28 03:23:44 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDescDistinct (11.36s)
=== RUN   TestGroupAggrSetup
2023/03/28 03:23:44 In TestGroupAggrSetup()
2023/03/28 03:23:44 Emptying the default bucket
2023/03/28 03:23:47 Flush Enabled on bucket default, responseBody: 
2023/03/28 03:24:24 Flushed the bucket default, Response body: 
2023/03/28 03:24:24 Dropping the secondary index index_agg
2023/03/28 03:24:24 Populating the default bucket
2023/03/28 03:24:28 Created the secondary index index_agg. Waiting for it become active
2023/03/28 03:24:28 Index is 13953068325336967978 now active
--- PASS: TestGroupAggrSetup (50.80s)
=== RUN   TestGroupAggrLeading
2023/03/28 03:24:35 In TestGroupAggrLeading()
2023/03/28 03:24:35 Total Scanresults = 7
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 3
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrLeading (0.03s)
=== RUN   TestGroupAggrNonLeading
2023/03/28 03:24:35 In TestGroupAggrNonLeading()
2023/03/28 03:24:35 Total Scanresults = 4
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNonLeading (0.00s)
=== RUN   TestGroupAggrNoGroup
2023/03/28 03:24:35 In TestGroupAggrNoGroup()
2023/03/28 03:24:35 Total Scanresults = 1
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNoGroup (0.00s)
=== RUN   TestGroupAggrMinMax
2023/03/28 03:24:35 In TestGroupAggrMinMax()
2023/03/28 03:24:35 Total Scanresults = 4
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMinMax (0.00s)
=== RUN   TestGroupAggrMinMax2
2023/03/28 03:24:35 In TestGroupAggrMinMax()
2023/03/28 03:24:35 Total Scanresults = 1
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMinMax2 (0.01s)
=== RUN   TestGroupAggrLeading_N1QLExprs
2023/03/28 03:24:35 In TestGroupAggrLeading_N1QLExprs()
2023/03/28 03:24:35 Total Scanresults = 17
2023/03/28 03:24:35 basicGroupAggrN1QLExprs1: Scan validation passed
2023/03/28 03:24:35 Total Scanresults = 9
2023/03/28 03:24:35 basicGroupAggrN1QLExprs2: Scan validation passed
--- PASS: TestGroupAggrLeading_N1QLExprs (0.25s)
=== RUN   TestGroupAggrLimit
2023/03/28 03:24:35 In TestGroupAggrLimit()
2023/03/28 03:24:35 Total Scanresults = 3
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrLimit (0.01s)
=== RUN   TestGroupAggrOffset
2023/03/28 03:24:35 In TestGroupAggrOffset()
2023/03/28 03:24:35 Total Scanresults = 3
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrOffset (0.00s)
=== RUN   TestGroupAggrCountN
2023/03/28 03:24:35 In TestGroupAggrCountN()
2023/03/28 03:24:35 Total Scanresults = 4
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 4
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrCountN (0.00s)
=== RUN   TestGroupAggrNoGroupNoMatch
2023/03/28 03:24:35 In TestGroupAggrNoGroupNoMatch()
2023/03/28 03:24:35 Total Scanresults = 1
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNoGroupNoMatch (0.00s)
=== RUN   TestGroupAggrGroupNoMatch
2023/03/28 03:24:35 In TestGroupAggrGroupNoMatch()
2023/03/28 03:24:35 Total Scanresults = 0
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrGroupNoMatch (0.00s)
=== RUN   TestGroupAggrMultDataTypes
2023/03/28 03:24:35 In TestGroupAggrMultDataTypes()
2023/03/28 03:24:35 Total Scanresults = 8
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMultDataTypes (0.00s)
=== RUN   TestGroupAggrDistinct
2023/03/28 03:24:35 In TestGroupAggrDistinct()
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDistinct (0.00s)
=== RUN   TestGroupAggrDistinct2
2023/03/28 03:24:35 In TestGroupAggrDistinct2()
2023/03/28 03:24:35 Total Scanresults = 1
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 4
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 4
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDistinct2 (0.01s)
=== RUN   TestGroupAggrNull
2023/03/28 03:24:35 In TestGroupAggrNull()
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNull (0.00s)
=== RUN   TestGroupAggrInt64
2023/03/28 03:24:35 In TestGroupAggrInt64()
2023/03/28 03:24:35 Updating the default bucket
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
2023/03/28 03:24:35 Total Scanresults = 2
2023/03/28 03:24:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrInt64 (0.22s)
=== RUN   TestGroupAggr1
2023/03/28 03:24:35 In TestGroupAggr1()
2023/03/28 03:24:35 In DropAllSecondaryIndexes()
2023/03/28 03:24:35 Index found:  #primary
2023/03/28 03:24:35 Dropped index #primary
2023/03/28 03:24:35 Index found:  index_companyname_desc
2023/03/28 03:24:35 Dropped index index_companyname_desc
2023/03/28 03:24:35 Index found:  index_agg
2023/03/28 03:24:35 Dropped index index_agg
2023/03/28 03:24:35 Index found:  index_company_desc
2023/03/28 03:24:35 Dropped index index_company_desc
2023/03/28 03:24:35 Index found:  index_company_name_age_desc
2023/03/28 03:24:35 Dropped index index_company_name_age_desc
2023/03/28 03:25:13 Flushed the bucket default, Response body: 
2023/03/28 03:25:25 Created the secondary index idx_aggrs. Waiting for it become active
2023/03/28 03:25:25 Index is 3234317160546980928 now active
2023/03/28 03:25:25 Total Scanresults = 633
2023/03/28 03:25:27 Total Scanresults = 743
--- PASS: TestGroupAggr1 (53.04s)
=== RUN   TestGroupAggrArrayIndex
2023/03/28 03:25:28 In TestGroupAggrArrayIndex()
2023/03/28 03:25:32 Created the secondary index ga_arr1. Waiting for it become active
2023/03/28 03:25:32 Index is 7928180576466748867 now active
2023/03/28 03:25:38 Created the secondary index ga_arr2. Waiting for it become active
2023/03/28 03:25:38 Index is 14876248897633428808 now active
2023/03/28 03:25:38 Scenario 1
2023/03/28 03:25:39 Total Scanresults = 633
2023/03/28 03:25:39 Scenario 2
2023/03/28 03:25:39 Total Scanresults = 2824
2023/03/28 03:25:40 Scenario 3
2023/03/28 03:25:40 Total Scanresults = 1
2023/03/28 03:25:40 Scenario 4
2023/03/28 03:25:40 Total Scanresults = 992
2023/03/28 03:25:41 Scenario 5
2023/03/28 03:25:41 Total Scanresults = 2824
2023/03/28 03:25:41 Scenario 6
2023/03/28 03:25:41 Total Scanresults = 1
2023/03/28 03:25:41 Scenario 7
2023/03/28 03:25:42 Total Scanresults = 2929
2023/03/28 03:25:45 Scenario 8
2023/03/28 03:25:45 Total Scanresults = 1171
2023/03/28 03:25:45 Scenario 9
2023/03/28 03:25:45 Total Scanresults = 1
2023/03/28 03:25:46 Scenario 10
2023/03/28 03:25:46 Total Scanresults = 633
2023/03/28 03:25:46 Scenario 11
2023/03/28 03:25:46 Total Scanresults = 1171
2023/03/28 03:25:47 Scenario 12
2023/03/28 03:25:47 Total Scanresults = 1
2023/03/28 03:25:47 Scenario 13
2023/03/28 03:25:51 Total Scanresults = 1
2023/03/28 03:25:51 Count of scanResults is 1
2023/03/28 03:25:51 Value: [2 133]
--- PASS: TestGroupAggrArrayIndex (23.05s)
=== RUN   TestGroupAggr_FirstValidAggrOnly
2023/03/28 03:25:51 In TestGroupAggr_FirstValidAggrOnly()
2023/03/28 03:25:51 In DropAllSecondaryIndexes()
2023/03/28 03:25:51 Index found:  #primary
2023/03/28 03:25:51 Dropped index #primary
2023/03/28 03:25:51 Index found:  PRIMARY_IDX_CBO_STATS
2023/03/28 03:25:51 Dropped index PRIMARY_IDX_CBO_STATS
2023/03/28 03:25:51 Index found:  ga_arr2
2023/03/28 03:25:52 Dropped index ga_arr2
2023/03/28 03:25:52 Index found:  ga_arr1
2023/03/28 03:25:52 Dropped index ga_arr1
2023/03/28 03:25:52 Index found:  test_oneperprimarykey
2023/03/28 03:25:52 Dropped index test_oneperprimarykey
2023/03/28 03:25:52 Index found:  idx_aggrs
2023/03/28 03:25:52 Dropped index idx_aggrs
2023/03/28 03:26:07 Created the secondary index idx_asc_3field. Waiting for it become active
2023/03/28 03:26:07 Index is 1498972568405973128 now active
2023/03/28 03:26:12 Created the secondary index idx_desc_3field. Waiting for it become active
2023/03/28 03:26:12 Index is 13007658751725003991 now active
2023/03/28 03:26:12 === MIN no group by ===
2023/03/28 03:26:12 Total Scanresults = 1
2023/03/28 03:26:12 Count of scanResults is 1
2023/03/28 03:26:12 Value: ["ACCEL"]
2023/03/28 03:26:13 === MIN no group by, no row match ===
2023/03/28 03:26:13 Total Scanresults = 1
2023/03/28 03:26:13 Count of scanResults is 1
2023/03/28 03:26:13 Value: [null]
2023/03/28 03:26:13 === MIN with group by ===
2023/03/28 03:26:13 Total Scanresults = 633
2023/03/28 03:26:14 === MIN with group by, no row match ===
2023/03/28 03:26:14 Total Scanresults = 0
2023/03/28 03:26:14 === One Aggr, no group by ===
2023/03/28 03:26:14 Total Scanresults = 1
2023/03/28 03:26:14 Count of scanResults is 1
2023/03/28 03:26:14 Value: ["FANFARE"]
2023/03/28 03:26:14 === One Aggr, no group by, no row match ===
2023/03/28 03:26:14 Total Scanresults = 1
2023/03/28 03:26:14 Count of scanResults is 1
2023/03/28 03:26:14 Value: [null]
2023/03/28 03:26:14 === Multiple Aggr, no group by ===
2023/03/28 03:26:14 Total Scanresults = 1
2023/03/28 03:26:14 Count of scanResults is 1
2023/03/28 03:26:14 Value: ["FANFARE" 15]
2023/03/28 03:26:15 === Multiple Aggr, no group by, no row match ===
2023/03/28 03:26:15 Total Scanresults = 1
2023/03/28 03:26:15 Count of scanResults is 1
2023/03/28 03:26:15 Value: [null null]
2023/03/28 03:26:15 === No Aggr, 1 group by ===
2023/03/28 03:26:15 Total Scanresults = 207
2023/03/28 03:26:15 === Aggr on non-leading key, previous equality filter, no group ===
2023/03/28 03:26:15 Total Scanresults = 1
2023/03/28 03:26:15 Count of scanResults is 1
2023/03/28 03:26:15 Value: [17]
2023/03/28 03:26:15 === Aggr on non-leading key, previous equality filters, no group ===
2023/03/28 03:26:15 Total Scanresults = 1
2023/03/28 03:26:15 Count of scanResults is 1
2023/03/28 03:26:15 Value: [null]
2023/03/28 03:26:15 === Aggr on non-leading key, previous non-equality filters, no group ===
2023/03/28 03:26:15 Total Scanresults = 1
2023/03/28 03:26:15 Count of scanResults is 1
2023/03/28 03:26:15 Value: ["Ahmed"]
2023/03/28 03:26:16 === MIN on desc, no group ===
2023/03/28 03:26:16 Total Scanresults = 1
2023/03/28 03:26:16 Count of scanResults is 1
2023/03/28 03:26:16 Value: ["FANFARE"]
2023/03/28 03:26:16 === MAX on asc, no group ===
2023/03/28 03:26:16 Total Scanresults = 1
2023/03/28 03:26:16 Count of scanResults is 1
2023/03/28 03:26:16 Value: ["OZEAN"]
2023/03/28 03:26:16 === MAX on desc, no group ===
2023/03/28 03:26:16 Total Scanresults = 1
2023/03/28 03:26:16 Count of scanResults is 1
2023/03/28 03:26:16 Value: ["OZEAN"]
2023/03/28 03:26:16 === COUNT(DISTINCT const_expr, no group ===
2023/03/28 03:26:16 Total Scanresults = 1
2023/03/28 03:26:16 Count of scanResults is 1
2023/03/28 03:26:16 Value: [1]
2023/03/28 03:26:16 === COUNT(DISTINCT const_expr, no group, no row match ===
2023/03/28 03:26:16 Total Scanresults = 1
2023/03/28 03:26:16 Count of scanResults is 1
2023/03/28 03:26:16 Value: [0]
2023/03/28 03:26:17 === COUNT(const_expr, no group ===
2023/03/28 03:26:17 Total Scanresults = 1
2023/03/28 03:26:17 Count of scanResults is 1
2023/03/28 03:26:17 Value: [321]
2023/03/28 03:26:21 Created the secondary index indexMinAggr. Waiting for it become active
2023/03/28 03:26:21 Index is 4710556115137600650 now active
2023/03/28 03:26:21 === Equality filter check: Equality for a, nil filter for b - inclusion 0, no filter for c ===
2023/03/28 03:26:21 Total Scanresults = 1
2023/03/28 03:26:21 Count of scanResults is 1
2023/03/28 03:26:21 Value: [5]
2023/03/28 03:26:21 === Equality filter check: Equality for a, nil filter for b - inclusion 3, no filter for c ===
2023/03/28 03:26:21 Total Scanresults = 1
2023/03/28 03:26:21 Count of scanResults is 1
2023/03/28 03:26:21 Value: [5]
2023/03/28 03:26:21 === Equality filter check: Equality for a, nil filter for b - inclusion 3, nil filter for c ===
2023/03/28 03:26:21 Total Scanresults = 1
2023/03/28 03:26:21 Count of scanResults is 1
2023/03/28 03:26:21 Value: [5]
--- PASS: TestGroupAggr_FirstValidAggrOnly (30.16s)
=== RUN   TestGroupAggrPrimary
2023/03/28 03:26:21 In TestGroupAggrPrimary()
2023/03/28 03:26:21 Total Scanresults = 1
2023/03/28 03:26:21 Total Scanresults = 1
2023/03/28 03:26:21 Total Scanresults = 1
2023/03/28 03:26:22 Total Scanresults = 1002
2023/03/28 03:26:22 Total Scanresults = 1002
2023/03/28 03:26:22 Total Scanresults = 1
2023/03/28 03:26:22 Total Scanresults = 1
2023/03/28 03:26:22 Total Scanresults = 1
2023/03/28 03:26:22 Total Scanresults = 1
2023/03/28 03:26:23 Total Scanresults = 1
2023/03/28 03:26:23 Total Scanresults = 1
2023/03/28 03:26:23 --- MB-28305 Scenario 1 ---
2023/03/28 03:26:23 Total Scanresults = 1
2023/03/28 03:26:23 Count of scanResults is 1
2023/03/28 03:26:23 Value: [0]
2023/03/28 03:26:23 --- MB-28305 Scenario 2 ---
2023/03/28 03:26:23 Total Scanresults = 1
2023/03/28 03:26:23 Count of scanResults is 1
2023/03/28 03:26:23 Value: [0]
2023/03/28 03:26:23 --- MB-28305 Scenario 3 ---
2023/03/28 03:26:23 Total Scanresults = 1
2023/03/28 03:26:23 Count of scanResults is 1
2023/03/28 03:26:23 Value: [0]
--- PASS: TestGroupAggrPrimary (1.46s)
=== RUN   TestGroupAggrDocumentKey
2023/03/28 03:26:23 In TestGroupAggrDocumentKey()
2023/03/28 03:26:23 Dropping the secondary index documentkey_idx1
2023/03/28 03:26:23 Dropping the secondary index documentkey_idx2
2023/03/28 03:26:23 Populating the default bucket for TestGroupAggrDocumentKey single key index
2023/03/28 03:26:27 Created the secondary index documentkey_idx1. Waiting for it become active
2023/03/28 03:26:27 Index is 12966320435729245182 now active
2023/03/28 03:26:27 Using n1ql client
2023/03/28 03:26:27 Scanresult Row  ["1"] :  
2023/03/28 03:26:27 Scanresult Row  ["2"] :  
2023/03/28 03:26:27 Scanresult Row  ["3"] :  
2023/03/28 03:26:27 Expected and Actual scan responses are the same
2023/03/28 03:26:27 Populating the default bucket for TestGroupAggrDocumentKey composite key index
2023/03/28 03:26:33 Created the secondary index documentkey_idx2. Waiting for it become active
2023/03/28 03:26:33 Index is 9341128224154101903 now active
2023/03/28 03:26:33 Using n1ql client
2023/03/28 03:26:33 Scanresult Row  ["1"] :  
2023/03/28 03:26:33 Scanresult Row  ["2"] :  
2023/03/28 03:26:33 Scanresult Row  ["3"] :  
2023/03/28 03:26:33 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDocumentKey (10.66s)
=== RUN   TestRebalanceSetupCluster
2023/03/28 03:26:34 set14_rebalance_test.go::TestRebalanceSetupCluster: entry: Current cluster configuration: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:26:34 set14_rebalance_test.go::TestRebalanceSetupCluster: 1. Setting up initial cluster configuration
2023/03/28 03:26:34 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2023/03/28 03:26:39 Rebalance progress: 2.506510416666667
2023/03/28 03:26:44 Rebalance progress: 6.998697916666667
2023/03/28 03:26:49 Rebalance progress: 11.58854166666667
2023/03/28 03:26:54 Rebalance progress: 16.11328125
2023/03/28 03:26:59 Rebalance progress: 21.35416666666666
2023/03/28 03:27:04 Rebalance progress: 25
2023/03/28 03:27:09 Rebalance progress: 25
2023/03/28 03:27:14 Rebalance progress: 25
2023/03/28 03:27:19 Rebalance progress: 27.08333333333333
2023/03/28 03:27:24 Rebalance progress: 29.72005208333333
2023/03/28 03:27:29 Rebalance progress: 32.64973958333333
2023/03/28 03:27:34 Rebalance progress: 35.546875
2023/03/28 03:27:39 Rebalance progress: 38.24869791666667
2023/03/28 03:27:44 Rebalance progress: 41.08072916666667
2023/03/28 03:27:49 Rebalance progress: 44.49869791666666
2023/03/28 03:27:54 Rebalance progress: 47.93294270833333
2023/03/28 03:27:59 Rebalance progress: 50
2023/03/28 03:28:04 Rebalance progress: 50
2023/03/28 03:28:09 Rebalance progress: 75
2023/03/28 03:28:14 Rebalance progress: 100
2023/03/28 03:28:14 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:28:28 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:28:33 Rebalance progress: 0
2023/03/28 03:28:38 Rebalance progress: 100
2023/03/28 03:28:38 set14_rebalance_test.go::TestRebalanceSetupCluster: 2. Changing indexer.settings.rebalance.redistribute_indexes to true
2023/03/28 03:28:38 Changing config key indexer.settings.rebalance.redistribute_indexes to value true
2023/03/28 03:28:39 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 (125.11s)
=== RUN   TestCreateDocsBeforeRebalance
2023/03/28 03:28:39 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:28:39 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: 1. Creating 100 documents
2023/03/28 03:28:39 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: 100 documents created
2023/03/28 03:28:39 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.16s)
=== RUN   TestCreateIndexesBeforeRebalance
2023/03/28 03:28:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:28:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 1. Creating 17 indexes: non-partitioned, 0-replica, non-deferred
2023/03/28 03:28:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN__id on `default`(_id)
2023/03/28 03:28:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN__id index is now active.
2023/03/28 03:28:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_docid on `default`(docid)
2023/03/28 03:28:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_docid index is now active.
2023/03/28 03:28:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_guid on `default`(guid)
2023/03/28 03:28:54 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_guid index is now active.
2023/03/28 03:28:54 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_isActive on `default`(isActive)
2023/03/28 03:29:00 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_isActive index is now active.
2023/03/28 03:29:00 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_balance on `default`(balance)
2023/03/28 03:29:06 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_balance index is now active.
2023/03/28 03:29:06 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_picture on `default`(picture)
2023/03/28 03:29:12 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_picture index is now active.
2023/03/28 03:29:12 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_age on `default`(age)
2023/03/28 03:29:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_age index is now active.
2023/03/28 03:29:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_eyeColor on `default`(eyeColor)
2023/03/28 03:29:24 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_eyeColor index is now active.
2023/03/28 03:29:24 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_name on `default`(name)
2023/03/28 03:29:30 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_name index is now active.
2023/03/28 03:29:30 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_gender on `default`(gender)
2023/03/28 03:29:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_gender index is now active.
2023/03/28 03:29:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_company on `default`(company)
2023/03/28 03:29:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_company index is now active.
2023/03/28 03:29:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_email on `default`(email)
2023/03/28 03:29:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_email index is now active.
2023/03/28 03:29:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_phone on `default`(phone)
2023/03/28 03:29:54 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_phone index is now active.
2023/03/28 03:29:54 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_registered on `default`(registered)
2023/03/28 03:30:00 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_registered index is now active.
2023/03/28 03:30:00 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_latitude on `default`(latitude)
2023/03/28 03:30:06 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_latitude index is now active.
2023/03/28 03:30:06 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_longitude on `default`(longitude)
2023/03/28 03:30:12 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_longitude index is now active.
2023/03/28 03:30:12 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_favoriteFruit on `default`(favoriteFruit)
2023/03/28 03:30:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_favoriteFruit index is now active.
2023/03/28 03:30:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 2. Creating 17 indexes: non-partitioned, 0-replica, DEFERRED
2023/03/28 03:30:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED__id_docid on `default`(_id, docid) with {"defer_build":true}
2023/03/28 03:30:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED__id_docid index is now deferred.
2023/03/28 03:30:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_docid_guid on `default`(docid, guid) with {"defer_build":true}
2023/03/28 03:30:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_docid_guid index is now deferred.
2023/03/28 03:30:18 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_guid_isActive on `default`(guid, isActive) with {"defer_build":true}
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_guid_isActive index is now deferred.
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_isActive_balance on `default`(isActive, balance) with {"defer_build":true}
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_isActive_balance index is now deferred.
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_balance_picture on `default`(balance, picture) with {"defer_build":true}
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_balance_picture index is now deferred.
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_picture_age on `default`(picture, age) with {"defer_build":true}
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_picture_age index is now deferred.
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_age_eyeColor on `default`(age, eyeColor) with {"defer_build":true}
2023/03/28 03:30:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_age_eyeColor index is now deferred.
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_eyeColor_name on `default`(eyeColor, name) with {"defer_build":true}
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_eyeColor_name index is now deferred.
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_name_gender on `default`(name, gender) with {"defer_build":true}
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_name_gender index is now deferred.
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_gender_company on `default`(gender, company) with {"defer_build":true}
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_gender_company index is now deferred.
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_company_email on `default`(company, email) with {"defer_build":true}
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_company_email index is now deferred.
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_email_phone on `default`(email, phone) with {"defer_build":true}
2023/03/28 03:30:20 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_email_phone index is now deferred.
2023/03/28 03:30:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_phone_registered on `default`(phone, registered) with {"defer_build":true}
2023/03/28 03:30:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_phone_registered index is now deferred.
2023/03/28 03:30:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_registered_latitude on `default`(registered, latitude) with {"defer_build":true}
2023/03/28 03:30:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_registered_latitude index is now deferred.
2023/03/28 03:30:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_latitude_longitude on `default`(latitude, longitude) with {"defer_build":true}
2023/03/28 03:30:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_latitude_longitude index is now deferred.
2023/03/28 03:30:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_longitude_favoriteFruit on `default`(longitude, favoriteFruit) with {"defer_build":true}
2023/03/28 03:30:21 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_longitude_favoriteFruit index is now deferred.
2023/03/28 03:30:22 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_favoriteFruit__id on `default`(favoriteFruit, _id) with {"defer_build":true}
2023/03/28 03:30:22 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_favoriteFruit__id index is now deferred.
2023/03/28 03:30:22 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 3. Creating 3 indexes: 7-PARTITION, 0-replica, non-deferred
2023/03/28 03:30:22 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}
2023/03/28 03:30:26 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS__id_guid index is now active.
2023/03/28 03:30:26 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}
2023/03/28 03:30:32 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS_docid_isActive index is now active.
2023/03/28 03:30:32 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}
2023/03/28 03:30:39 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS_guid_balance index is now active.
2023/03/28 03:30:39 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 (120.23s)
=== RUN   TestIndexNodeRebalanceIn
2023/03/28 03:30:39 TestIndexNodeRebalanceIn entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:30:39 TestIndexNodeRebalanceIn: 1. Adding index node 127.0.0.1:9002 to the cluster
2023/03/28 03:30:39 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2023/03/28 03:30:50 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2023/03/28 03:30:50 TestIndexNodeRebalanceIn: 2. Adding index node 127.0.0.1:9003 to the cluster
2023/03/28 03:30:50 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2023/03/28 03:31:00 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2023/03/28 03:31:00 TestIndexNodeRebalanceIn: 3. Rebalancing
2023/03/28 03:31:06 Rebalance progress: 12.5
2023/03/28 03:31:11 Rebalance progress: 12.5
2023/03/28 03:31:15 Rebalance progress: 43.05555555555555
2023/03/28 03:31:21 Rebalance progress: 51.38888888888889
2023/03/28 03:31:26 Rebalance progress: 51.38888888888889
2023/03/28 03:31:31 Rebalance progress: 56.94444444444444
2023/03/28 03:31:36 Rebalance progress: 62.5
2023/03/28 03:31:41 Rebalance progress: 68.05555555555556
2023/03/28 03:31:46 Rebalance progress: 76.38888888888889
2023/03/28 03:31:51 Rebalance progress: 76.38888888888889
2023/03/28 03:31:55 Rebalance progress: 100
2023/03/28 03:31:56 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 (78.58s)
=== RUN   TestCreateReplicatedIndexesBeforeRebalance
2023/03/28 03:31:58 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]]
2023/03/28 03:31:58 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: 1. Creating 5 indexes: non-partitioned, 2-REPLICA, non-deferred
2023/03/28 03:31:58 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS__id_isActive on `default`(_id, isActive) with {"num_replica":2}
2023/03/28 03:32:08 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS__id_isActive index is now active.
2023/03/28 03:32:08 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_docid_balance on `default`(docid, balance) with {"num_replica":2}
2023/03/28 03:32:20 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_docid_balance index is now active.
2023/03/28 03:32:20 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_guid_picture on `default`(guid, picture) with {"num_replica":2}
2023/03/28 03:32:30 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_guid_picture index is now active.
2023/03/28 03:32:30 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_isActive_age on `default`(isActive, age) with {"num_replica":2}
2023/03/28 03:32:43 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_isActive_age index is now active.
2023/03/28 03:32:43 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_balance_eyeColor on `default`(balance, eyeColor) with {"num_replica":2}
2023/03/28 03:32:52 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_balance_eyeColor index is now active.
2023/03/28 03:32:52 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: 2. Creating 2 indexes: 5-PARTITION, 1-REPLICA, non-deferred
2023/03/28 03:32:52 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}
2023/03/28 03:33:02 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_5PARTITIONS_1REPLICAS__id_balance index is now active.
2023/03/28 03:33:02 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}
2023/03/28 03:33:12 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_5PARTITIONS_1REPLICAS_docid_picture index is now active.
2023/03/28 03:33:12 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 (74.56s)
=== RUN   TestIndexNodeRebalanceOut
2023/03/28 03:33:12 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]]
2023/03/28 03:33:12 set14_rebalance_test.go::TestIndexNodeRebalanceOut: 1. Rebalancing index node 127.0.0.1:9001 out of the cluster
2023/03/28 03:33:12 Removing node(s): [127.0.0.1:9001] from the cluster
2023/03/28 03:33:18 Rebalance progress: 6.25
2023/03/28 03:33:22 Rebalance progress: 12.5
2023/03/28 03:33:28 Rebalance progress: 37.5
2023/03/28 03:33:32 Rebalance progress: 50
2023/03/28 03:33:37 Rebalance progress: 58.33333333333334
2023/03/28 03:33:43 Rebalance progress: 58.33333333333334
2023/03/28 03:33:47 Rebalance progress: 70.83333333333333
2023/03/28 03:33:52 Rebalance progress: 83.33333333333333
2023/03/28 03:33:58 Rebalance progress: 87.5
2023/03/28 03:34:02 Rebalance progress: 100
2023/03/28 03:34:02 set14_rebalance_test.go::TestIndexNodeRebalanceOut: exit: Current cluster configuration: map[127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestIndexNodeRebalanceOut (52.30s)
=== RUN   TestFailoverAndRebalance
2023/03/28 03:34:04 set14_rebalance_test.go::TestFailoverAndRebalance: entry: Current cluster configuration: map[127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:34:04 set14_rebalance_test.go::TestFailoverAndRebalance: 1. Failing over index node 127.0.0.1:9002
2023/03/28 03:34:04 Failing over: [127.0.0.1:9002]
2023/03/28 03:34:06 set14_rebalance_test.go::TestFailoverAndRebalance: 2. Rebalancing
2023/03/28 03:34:12 Rebalance progress: 25
2023/03/28 03:34:17 Rebalance progress: 30
2023/03/28 03:34:21 Rebalance progress: 100
2023/03/28 03:34:22 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 (19.11s)
=== RUN   TestSwapRebalance
2023/03/28 03:34:24 set14_rebalance_test.go::TestSwapRebalance: entry: Current cluster configuration: map[127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:34:24 set14_rebalance_test.go::TestSwapRebalance: 1. Adding index node 127.0.0.1:9001 to the cluster
2023/03/28 03:34:24 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:34:34 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:34:34 set14_rebalance_test.go::TestSwapRebalance: 2. Swap rebalancing index node 127.0.0.1:9003 out of the cluster
2023/03/28 03:34:34 Removing node(s): [127.0.0.1:9003] from the cluster
2023/03/28 03:34:39 Rebalance progress: 16.66666666666667
2023/03/28 03:34:44 Rebalance progress: 33.87096774193548
2023/03/28 03:34:50 Rebalance progress: 40.32258064516129
2023/03/28 03:34:54 Rebalance progress: 46.7741935483871
2023/03/28 03:34:59 Rebalance progress: 53.2258064516129
2023/03/28 03:35:04 Rebalance progress: 53.2258064516129
2023/03/28 03:35:09 Rebalance progress: 59.67741935483871
2023/03/28 03:35:14 Rebalance progress: 66.12903225806451
2023/03/28 03:35:19 Rebalance progress: 72.58064516129033
2023/03/28 03:35:24 Rebalance progress: 79.03225806451614
2023/03/28 03:35:29 Rebalance progress: 79.03225806451614
2023/03/28 03:35:34 Rebalance progress: 100
2023/03/28 03:35:34 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 (72.82s)
=== RUN   TestRebalanceReplicaRepair
2023/03/28 03:35:36 TestRebalanceReplicaRepair entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:35:36 TestRebalanceReplicaRepair: 1. Adding index node 127.0.0.1:9002 to the cluster
2023/03/28 03:35:36 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2023/03/28 03:35:49 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2023/03/28 03:35:49 TestRebalanceReplicaRepair: 2. Adding index node 127.0.0.1:9003 to the cluster
2023/03/28 03:35:49 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2023/03/28 03:36:00 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2023/03/28 03:36:00 TestRebalanceReplicaRepair: 3. Rebalancing
2023-03-28T03:36:04.959+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2023-03-28T03:36:04.978+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2023-03-28T03:36:05.062+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2023-03-28T03:36:05.089+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2023/03/28 03:36:05 Rebalance progress: 12.5
2023/03/28 03:36:10 Rebalance progress: 12.5
2023/03/28 03:36:15 Rebalance progress: 23.21428571428572
2023/03/28 03:36:21 Rebalance progress: 29.64285714285714
2023/03/28 03:36:25 Rebalance progress: 33.92857142857143
2023/03/28 03:36:30 Rebalance progress: 38.21428571428571
2023/03/28 03:36:35 Rebalance progress: 42.50000000000001
2023/03/28 03:36:40 Rebalance progress: 42.50000000000001
2023/03/28 03:36:45 Rebalance progress: 46.78571428571428
2023/03/28 03:36:50 Rebalance progress: 51.07142857142858
2023/03/28 03:36:55 Rebalance progress: 55.35714285714286
2023/03/28 03:37:00 Rebalance progress: 59.64285714285714
2023/03/28 03:37:05 Rebalance progress: 59.64285714285714
2023/03/28 03:37:10 Rebalance progress: 63.92857142857142
2023/03/28 03:37:15 Rebalance progress: 68.21428571428572
2023/03/28 03:37:20 Rebalance progress: 72.50000000000001
2023/03/28 03:37:25 Rebalance progress: 76.78571428571428
2023/03/28 03:37:31 Rebalance progress: 78.92857142857143
2023/03/28 03:37:35 Rebalance progress: 100
2023/03/28 03:37:35 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 (121.06s)
=== RUN   TestFailureAndRebalanceDuringInitialIndexBuild
2023/03/28 03:37:37 set14_rebalance_test.go::TestFailureAndRebalanceDuringInitialIndexBuild: 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]]
2023/03/28 03:37:42 Created the secondary index index_0. Waiting for it become active
2023/03/28 03:37:42 Index is 18305439219634042108 now active
2023/03/28 03:37:49 Created the secondary index index_1. Waiting for it become active
2023/03/28 03:37:49 Index is 14906724990059578665 now active
2023/03/28 03:37:55 Created the secondary index index_2. Waiting for it become active
2023/03/28 03:37:55 Index is 7114529192483803620 now active
2023/03/28 03:38:01 Created the secondary index index_3. Waiting for it become active
2023/03/28 03:38:01 Index is 901843639243917744 now active
2023/03/28 03:38:11 Created the secondary index index_4. Waiting for it become active
2023/03/28 03:38:11 Index is 4509020739313540334 now active
2023/03/28 03:38:19 Created the secondary index index_5. Waiting for it become active
2023/03/28 03:38:19 Index is 15980193337726157746 now active
2023/03/28 03:38:25 Created the secondary index index_6. Waiting for it become active
2023/03/28 03:38:25 Index is 7488071479277723208 now active
2023/03/28 03:38:31 Created the secondary index index_7. Waiting for it become active
2023/03/28 03:38:31 Index is 7203976901272666474 now active
2023/03/28 03:38:37 Created the secondary index index_8. Waiting for it become active
2023/03/28 03:38:37 Index is 13750804662319745923 now active
2023/03/28 03:38:44 Created the secondary index index_9. Waiting for it become active
2023/03/28 03:38:44 Index is 1326989050544900106 now active
2023/03/28 03:39:18 Failing over: [127.0.0.1:9002]
2023/03/28 03:39:19 Build the deferred index index_11. Waiting for the index to become active
2023/03/28 03:39:19 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:20 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:21 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:21 TestFailureAndRebalanceDuringInitialIndexBuild: 1. Adding index node 127.0.0.1:9002 to the cluster
2023/03/28 03:39:21 Kicking off failover recovery, type: full
2023/03/28 03:39:22 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:23 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:24 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:25 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:26 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:27 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:29 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:29 Rebalance progress: 12.5
2023/03/28 03:39:30 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:31 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:32 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:33 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:34 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:34 Rebalance failed. See logs for detailed reason. You can try again.
2023/03/28 03:39:34 set14_rebalance_test.go::TestFailureAndRebalanceDuringInitialIndexBuild: 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 (116.96s)
=== RUN   TestRedistributeWhenNodeIsAddedForFalse
2023/03/28 03:39:35 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:35 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse::Setup 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]]
2023/03/28 03:39:35 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse::Setup 1. Setting up initial cluster configuration
2023/03/28 03:39:35 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2023/03/28 03:39:36 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:37 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:38 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:39 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:40 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:40 Rebalance progress: 0
2023/03/28 03:39:41 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:42 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:43 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:44 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:45 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:45 Rebalance progress: 6.25
2023/03/28 03:39:46 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:47 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:48 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:49 Waiting for index 5545577090881576949 to go active ...
2023/03/28 03:39:50 Index is 5545577090881576949 now active
2023/03/28 03:39:50 Rebalance progress: 12.5
2023/03/28 03:39:56 Rebalance progress: 100
2023/03/28 03:39:56 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:40:20 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:40:26 Rebalance progress: 0
2023/03/28 03:40:31 Rebalance progress: 100
2023/03/28 03:40:31 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse::Setup 2. Changing indexer.settings.rebalance.redistribute_indexes to false
2023/03/28 03:40:31 Changing config key indexer.settings.rebalance.redistribute_indexes to value false
2023/03/28 03:40:31 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse::Setup 3. Setup is completed
2023/03/28 03:40:31 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse::Setup exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:40:31 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse 1. Creating 10 indexes: non-partitioned, 0-REPLICA, non-deferred
2023/03/28 03:40:31 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS__id_isActive on `default`(_id, isActive)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:40:35 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS__id_isActive index is now active.
2023/03/28 03:40:35 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_docid_balance on `default`(docid, balance)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:40:43 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_docid_balance index is now active.
2023/03/28 03:40:43 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_guid_picture on `default`(guid, picture)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:40:50 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_guid_picture index is now active.
2023/03/28 03:40:50 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_isActive_age on `default`(isActive, age)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:40:57 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_isActive_age index is now active.
2023/03/28 03:40:57 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_balance_eyeColor on `default`(balance, eyeColor)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:41:05 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_balance_eyeColor index is now active.
2023/03/28 03:41:05 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_picture_name on `default`(picture, name)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:41:12 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_picture_name index is now active.
2023/03/28 03:41:12 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_age_gender on `default`(age, gender)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:41:19 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_age_gender index is now active.
2023/03/28 03:41:19 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_eyeColor_company on `default`(eyeColor, company)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:41:27 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_eyeColor_company index is now active.
2023/03/28 03:41:27 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_name_email on `default`(name, email)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:41:34 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_name_email index is now active.
2023/03/28 03:41:34 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_0REPLICAS_gender_phone on `default`(gender, phone)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:41:42 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_0REPLICAS_gender_phone index is now active.
2023/03/28 03:41:42 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse 2. Creating 4 indexes: 5-PARTITION, 0-REPLICA, non-deferred
2023/03/28 03:41:42 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_5PARTITIONS_0REPLICAS__id_balance on `default`(_id, balance) partition by hash(Meta().id) with {"num_partition":5, "nodes":["127.0.0.1:9001"]}
2023/03/28 03:41:49 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_5PARTITIONS_0REPLICAS__id_balance index is now active.
2023/03/28 03:41:49 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_5PARTITIONS_0REPLICAS_docid_picture on `default`(docid, picture) partition by hash(Meta().id) with {"num_partition":5, "nodes":["127.0.0.1:9001"]}
2023/03/28 03:41:56 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_5PARTITIONS_0REPLICAS_docid_picture index is now active.
2023/03/28 03:41:56 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_5PARTITIONS_0REPLICAS_guid_age on `default`(guid, age) partition by hash(Meta().id) with {"num_partition":5, "nodes":["127.0.0.1:9001"]}
2023/03/28 03:42:04 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_5PARTITIONS_0REPLICAS_guid_age index is now active.
2023/03/28 03:42:04 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Executing N1QL: create index set14_idx_5PARTITIONS_0REPLICAS_isActive_eyeColor on `default`(isActive, eyeColor) partition by hash(Meta().id) with {"num_partition":5, "nodes":["127.0.0.1:9001"]}
2023/03/28 03:42:12 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse set14_idx_5PARTITIONS_0REPLICAS_isActive_eyeColor index is now active.
2023/03/28 03:42:12 for GetIndexLocalMetadata http://127.0.0.1:9108/getLocalIndexMetadata
2023/03/28 03:42:12 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForFalse: Adding node 127.0.0.1:9002 with service index to the cluster
2023/03/28 03:42:12 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2023/03/28 03:42:24 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2023/03/28 03:42:29 Rebalance progress: 100
2023/03/28 03:42:29 for GetIndexLocalMetadata http://127.0.0.1:9108/getLocalIndexMetadata
2023/03/28 03:42:29 for GetIndexLocalMetadata http://127.0.0.1:9114/getLocalIndexMetadata
--- PASS: TestRedistributeWhenNodeIsAddedForFalse (174.94s)
=== RUN   TestRedistributeWhenNodeIsAddedForTrue
2023/03/28 03:42:29 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue::Setup entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:42:29 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue::Setup 1. Setting up initial cluster configuration
2023/03/28 03:42:29 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2023/03/28 03:42:35 Rebalance progress: 100
2023/03/28 03:42:35 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:42:36 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:42:57 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:43:03 Rebalance progress: 0
2023/03/28 03:43:08 Rebalance progress: 100
2023/03/28 03:43:08 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue::Setup 2. Changing indexer.settings.rebalance.redistribute_indexes to true
2023/03/28 03:43:08 Changing config key indexer.settings.rebalance.redistribute_indexes to value true
2023/03/28 03:43:08 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue::Setup 3. Setup is completed
2023/03/28 03:43:08 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue::Setup exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:43:08 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue 1. Creating 10 indexes: non-partitioned, 0-REPLICA, non-deferred
2023/03/28 03:43:08 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS__id_isActive on `default`(_id, isActive)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:43:12 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS__id_isActive index is now active.
2023/03/28 03:43:12 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_docid_balance on `default`(docid, balance)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:43:19 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_docid_balance index is now active.
2023/03/28 03:43:19 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_guid_picture on `default`(guid, picture)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:43:27 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_guid_picture index is now active.
2023/03/28 03:43:27 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_isActive_age on `default`(isActive, age)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:43:35 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_isActive_age index is now active.
2023/03/28 03:43:35 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_balance_eyeColor on `default`(balance, eyeColor)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:43:41 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_balance_eyeColor index is now active.
2023/03/28 03:43:41 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_picture_name on `default`(picture, name)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:43:49 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_picture_name index is now active.
2023/03/28 03:43:49 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_age_gender on `default`(age, gender)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:43:56 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_age_gender index is now active.
2023/03/28 03:43:56 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_eyeColor_company on `default`(eyeColor, company)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:44:06 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_eyeColor_company index is now active.
2023/03/28 03:44:06 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_name_email on `default`(name, email)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:44:14 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_name_email index is now active.
2023/03/28 03:44:14 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_0REPLICAS_gender_phone on `default`(gender, phone)  with { "nodes":["127.0.0.1:9001"]}
2023/03/28 03:44:21 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_0REPLICAS_gender_phone index is now active.
2023/03/28 03:44:21 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue 2. Creating 4 indexes: 5-PARTITION, 0-REPLICA, non-deferred
2023/03/28 03:44:21 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_5PARTITIONS_0REPLICAS__id_balance on `default`(_id, balance) partition by hash(Meta().id) with {"num_partition":5, "nodes":["127.0.0.1:9001"]}
2023/03/28 03:44:28 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_5PARTITIONS_0REPLICAS__id_balance index is now active.
2023/03/28 03:44:28 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_5PARTITIONS_0REPLICAS_docid_picture on `default`(docid, picture) partition by hash(Meta().id) with {"num_partition":5, "nodes":["127.0.0.1:9001"]}
2023/03/28 03:44:36 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_5PARTITIONS_0REPLICAS_docid_picture index is now active.
2023/03/28 03:44:36 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_5PARTITIONS_0REPLICAS_guid_age on `default`(guid, age) partition by hash(Meta().id) with {"num_partition":5, "nodes":["127.0.0.1:9001"]}
2023/03/28 03:44:44 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_5PARTITIONS_0REPLICAS_guid_age index is now active.
2023/03/28 03:44:44 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Executing N1QL: create index set14_idx_5PARTITIONS_0REPLICAS_isActive_eyeColor on `default`(isActive, eyeColor) partition by hash(Meta().id) with {"num_partition":5, "nodes":["127.0.0.1:9001"]}
2023/03/28 03:44:51 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue set14_idx_5PARTITIONS_0REPLICAS_isActive_eyeColor index is now active.
2023/03/28 03:44:51 for GetIndexLocalMetadata http://127.0.0.1:9108/getLocalIndexMetadata
2023/03/28 03:44:51 set14_rebalance_test.go::TestRedistributeWhenNodeIsAddedForTrue: Adding node 127.0.0.1:9002 with service index to the cluster
2023/03/28 03:44:51 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2023/03/28 03:45:03 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2023/03/28 03:45:08 Rebalance progress: 16.66666666666667
2023/03/28 03:45:13 Rebalance progress: 16.66666666666667
2023/03/28 03:45:18 Rebalance progress: 23.33333333333333
2023/03/28 03:45:23 Rebalance progress: 23.33333333333333
2023/03/28 03:45:28 Rebalance progress: 41.66666666666666
2023/03/28 03:45:33 Rebalance progress: 41.66666666666666
2023/03/28 03:45:38 Rebalance progress: 66.66666666666667
2023/03/28 03:45:43 Rebalance progress: 100
2023/03/28 03:45:43 for GetIndexLocalMetadata http://127.0.0.1:9108/getLocalIndexMetadata
2023/03/28 03:45:43 for GetIndexLocalMetadata http://127.0.0.1:9114/getLocalIndexMetadata
--- PASS: TestRedistributeWhenNodeIsAddedForTrue (193.90s)
=== RUN   TestRebalanceResetCluster
2023/03/28 03:45:43 set14_rebalance_test.go::TestRebalanceResetCluster: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 172.31.5.112:9000:[kv n1ql]]
2023/03/28 03:45:43 set14_rebalance_test.go::TestRebalanceResetCluster: 1. Restoring indexer.settings.rebalance.redistribute_indexes to false
2023/03/28 03:45:43 Changing config key indexer.settings.rebalance.redistribute_indexes to value false
2023/03/28 03:45:43 set14_rebalance_test.go::TestRebalanceResetCluster: 2. Resetting cluster to initial configuration
2023/03/28 03:45:43 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2023/03/28 03:45:49 Rebalance progress: 83.33333333333333
2023/03/28 03:45:54 Rebalance progress: 100
2023/03/28 03:45:54 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:46:13 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:46:18 Rebalance progress: 0
2023/03/28 03:46:23 Rebalance progress: 100
2023/03/28 03:46:23 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 (42.25s)
=== RUN   TestAlterIndexIncrReplica
2023/03/28 03:46:25 In TestAlterIndexIncrReplica()
2023/03/28 03:46:25 This test creates an index with one replica and then increments replica count to 2
2023/03/28 03:46:26 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2023/03/28 03:46:31 Rebalance progress: 100
2023/03/28 03:46:31 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:46:48 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:46:53 Rebalance progress: 0
2023/03/28 03:46:58 Rebalance progress: 100
2023/03/28 03:46:58 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2023/03/28 03:47:09 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2023/03/28 03:47:14 Rebalance progress: 100
2023/03/28 03:47:14 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2023/03/28 03:47:24 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2023/03/28 03:47:30 Rebalance progress: 12.5
2023/03/28 03:47:35 Rebalance progress: 100
2023/03/28 03:47:35 In DropAllSecondaryIndexes()
2023/03/28 03:48:20 Flushed the bucket default, Response body: 
2023/03/28 03:48:26 Created the secondary index idx_1. Waiting for it become active
2023/03/28 03:48:26 Index is 15902027447813769731 now active
2023/03/28 03:48:26 Executing alter index command: alter index `default`.idx_1 with {"action":"replica_count", "num_replica":2}
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
2023/03/28 03:48:50 Using n1ql client
--- PASS: TestAlterIndexIncrReplica (144.78s)
=== RUN   TestAlterIndexDecrReplica
2023/03/28 03:48:50 In TestAlterIndexDecrReplica()
2023/03/28 03:48:50 This test creates an index with two replicas and then decrements replica count to 1
2023/03/28 03:48:50 In DropAllSecondaryIndexes()
2023/03/28 03:48:50 Index found:  idx_1
2023/03/28 03:48:50 Dropped index idx_1
2023/03/28 03:49:06 Created the secondary index idx_2. Waiting for it become active
2023/03/28 03:49:06 Index is 517459792667901787 now active
2023/03/28 03:49:06 Executing alter index command: alter index `default`.idx_2 with {"action":"replica_count", "num_replica":1}
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
2023/03/28 03:49:32 Using n1ql client
--- PASS: TestAlterIndexDecrReplica (41.98s)
=== RUN   TestAlterIndexDropReplica
2023/03/28 03:49:32 In TestAlterIndexDropReplica()
2023/03/28 03:49:32 This test creates an index with two replicas and then drops one replica from cluster
2023/03/28 03:49:32 In DropAllSecondaryIndexes()
2023/03/28 03:49:32 Index found:  idx_2
2023/03/28 03:49:32 Dropped index idx_2
2023/03/28 03:49:49 Created the secondary index idx_3. Waiting for it become active
2023/03/28 03:49:49 Index is 2656726546737841399 now active
2023/03/28 03:49:49 Executing alter index command: alter index `default`.idx_3 with {"action":"drop_replica", "replicaId":0}
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
2023/03/28 03:50:15 Using n1ql client
--- PASS: TestAlterIndexDropReplica (43.21s)
=== RUN   TestResetCluster_1
2023/03/28 03:50:15 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2023/03/28 03:50:21 Rebalance progress: 6.25
2023/03/28 03:50:26 Rebalance progress: 87.5
2023/03/28 03:50:31 Rebalance progress: 100
2023/03/28 03:50:31 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:50:55 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:51:00 Rebalance progress: 0
2023/03/28 03:51:05 Rebalance progress: 100
--- PASS: TestResetCluster_1 (49.39s)
=== RUN   TestPartitionDistributionWithReplica
2023/03/28 03:51:05 In TestPartitionDistributionWithReplica()
2023/03/28 03:51:05 This test will create a paritioned index with replica and checks the parition distribution
2023/03/28 03:51:05 Parititions with same ID beloning to both replica and source index should not be on the same node
2023/03/28 03:51:05 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2023/03/28 03:51:10 Rebalance progress: 100
2023/03/28 03:51:10 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:51:11 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:51:28 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:51:33 Rebalance progress: 0
2023/03/28 03:51:38 Rebalance progress: 100
2023/03/28 03:51:38 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2023/03/28 03:51:48 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2023/03/28 03:51:54 Rebalance progress: 16.66666666666667
2023/03/28 03:51:59 Rebalance progress: 100
2023/03/28 03:51:59 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2023/03/28 03:52:09 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2023/03/28 03:52:14 Rebalance progress: 100
2023/03/28 03:52:15 In DropAllSecondaryIndexes()
2023/03/28 03:53:02 Flushed the bucket default, Response body: 
2023/03/28 03:53:02 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}
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:30 Using n1ql client
2023/03/28 03:53:31 Using n1ql client
2023/03/28 03:53:31 Using n1ql client
2023/03/28 03:53:31 Using n1ql client
2023/03/28 03:53:31 Using n1ql client
2023/03/28 03:53:31 Using n1ql client
2023/03/28 03:53:31 Using n1ql client
2023/03/28 03:53:31 Using n1ql client
2023/03/28 03:53:31 Using n1ql client
--- PASS: TestPartitionDistributionWithReplica (146.04s)
=== RUN   TestPartitionedPartialIndex
2023/03/28 03:53:31 Executing create index command: CREATE INDEX `idx_regular` ON `default`(partn_name)
2023/03/28 03:53:36 Using n1ql client
2023/03/28 03:53:37 Dropping the secondary index idx_regular
2023/03/28 03:53:37 Index dropped
2023/03/28 03:53:37 Executing create index command: CREATE INDEX `idx_partial` ON `default`(partn_name) WHERE partn_age >= 0
2023/03/28 03:53:44 Using n1ql client
2023/03/28 03:53:44 Using n1ql client
2023/03/28 03:53:44 Using n1ql client
2023/03/28 03:53:45 Dropping the secondary index idx_partial
2023/03/28 03:53:45 Index dropped
2023/03/28 03:53:45 Executing create index command: CREATE INDEX `idx_partitioned` ON `default`(partn_name) PARTITION BY HASH(meta().id) 
2023/03/28 03:53:54 Using n1ql client
2023/03/28 03:53:54 Using n1ql client
2023/03/28 03:53:54 Dropping the secondary index idx_partitioned
2023/03/28 03:53:54 Index dropped
2023/03/28 03:53:55 Executing create index command: CREATE INDEX `idx_partitioned_partial` ON `default`(partn_name) PARTITION BY HASH(meta().id) WHERE partn_age >= 0
2023/03/28 03:54:07 Using n1ql client
2023/03/28 03:54:07 Using n1ql client
2023/03/28 03:54:07 Using n1ql client
2023/03/28 03:54:07 Using n1ql client
2023/03/28 03:54:07 Dropping the secondary index idx_partitioned_partial
2023/03/28 03:54:07 Index dropped
--- PASS: TestPartitionedPartialIndex (42.25s)
=== RUN   TestResetCluster_2
2023/03/28 03:54:13 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2023/03/28 03:54:19 Rebalance progress: 87.5
2023/03/28 03:54:26 Rebalance progress: 100
2023/03/28 03:54:26 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2023/03/28 03:54:50 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2023/03/28 03:54:56 Rebalance progress: 0
2023/03/28 03:55:01 Rebalance progress: 100
--- PASS: TestResetCluster_2 (47.85s)
=== RUN   TestCollectionSetup
2023/03/28 03:55:01 In TestCollectionSetup()
2023/03/28 03:55:01 In DropAllSecondaryIndexes()
2023/03/28 03:55:56 Flushed the bucket default, Response body: 
--- PASS: TestCollectionSetup (56.87s)
=== RUN   TestCollectionDefault
2023/03/28 03:55:58 In TestCollectionDefault()
2023/03/28 03:56:07 Created the secondary index _default__default_i1. Waiting for it become active
2023/03/28 03:56:07 Index is 1003105452925878103 now active
2023/03/28 03:56:07 Using n1ql client
2023/03/28 03:56:07 Expected and Actual scan responses are the same
2023/03/28 03:56:14 Created the secondary index _default__default_i2. Waiting for it become active
2023/03/28 03:56:14 Index is 7178095642336892378 now active
2023/03/28 03:56:14 Using n1ql client
2023/03/28 03:56:15 Expected and Actual scan responses are the same
2023/03/28 03:56:15 Dropping the secondary index _default__default_i1
2023/03/28 03:56:15 Index dropped
2023/03/28 03:56:15 Using n1ql client
2023/03/28 03:56:15 Expected and Actual scan responses are the same
2023/03/28 03:56:20 Created the secondary index _default__default_i1. Waiting for it become active
2023/03/28 03:56:20 Index is 13618352236613925559 now active
2023/03/28 03:56:20 Using n1ql client
2023/03/28 03:56:20 Expected and Actual scan responses are the same
2023/03/28 03:56:20 Dropping the secondary index _default__default_i1
2023/03/28 03:56:20 Index dropped
2023/03/28 03:56:20 Dropping the secondary index _default__default_i2
2023/03/28 03:56:20 Index dropped
2023/03/28 03:56:25 Created the secondary index _default__default_i1. Waiting for it become active
2023/03/28 03:56:25 Index is 1499218427929260961 now active
2023/03/28 03:56:25 Using n1ql client
2023/03/28 03:56:25 Expected and Actual scan responses are the same
2023/03/28 03:56:31 Created the secondary index _default__default_i2. Waiting for it become active
2023/03/28 03:56:31 Index is 3806333698021364740 now active
2023/03/28 03:56:31 Using n1ql client
2023/03/28 03:56:31 Expected and Actual scan responses are the same
2023/03/28 03:56:31 Dropping the secondary index _default__default_i1
2023/03/28 03:56:31 Index dropped
2023/03/28 03:56:31 Dropping the secondary index _default__default_i2
2023/03/28 03:56:32 Index dropped
2023/03/28 03:56:32 Build command issued for the deferred indexes [_default__default_i1 _default__default_i2], bucket: default, scope: _default, coll: _default
2023/03/28 03:56:32 Waiting for the index _default__default_i1 to become active
2023/03/28 03:56:32 Waiting for index 13009246003151065440 to go active ...
2023/03/28 03:56:33 Waiting for index 13009246003151065440 to go active ...
2023/03/28 03:56:34 Waiting for index 13009246003151065440 to go active ...
2023/03/28 03:56:35 Waiting for index 13009246003151065440 to go active ...
2023/03/28 03:56:36 Waiting for index 13009246003151065440 to go active ...
2023/03/28 03:56:37 Index is 13009246003151065440 now active
2023/03/28 03:56:37 Waiting for the index _default__default_i2 to become active
2023/03/28 03:56:37 Index is 15093487539920062457 now active
2023/03/28 03:56:43 Using n1ql client
2023/03/28 03:56:43 Expected and Actual scan responses are the same
2023/03/28 03:56:43 Using n1ql client
2023/03/28 03:56:43 Expected and Actual scan responses are the same
2023/03/28 03:56:43 Dropping the secondary index _default__default_i1
2023/03/28 03:56:43 Index dropped
2023/03/28 03:56:49 Using n1ql client
2023/03/28 03:56:49 Expected and Actual scan responses are the same
2023/03/28 03:56:49 Dropping the secondary index _default__default_i2
2023/03/28 03:56:49 Index dropped
--- PASS: TestCollectionDefault (51.46s)
=== RUN   TestCollectionNonDefault
2023/03/28 03:56:49 In TestCollectionNonDefault()
2023/03/28 03:56:49 Creating scope: s1 for bucket: default as it does not exist
2023/03/28 03:56:49 Create scope succeeded for bucket default, scopeName: s1, body: {"uid":"1"} 
2023/03/28 03:56:50 Created collection succeeded for bucket: default, scope: s1, collection: c1, body: {"uid":"2"}
2023/03/28 03:57:04 Created the secondary index s1_c1_i1. Waiting for it become active
2023/03/28 03:57:04 Index is 11813988725223946665 now active
2023/03/28 03:57:04 Using n1ql client
2023-03-28T03:57:04.936+05:30 [Info] metadata provider version changed 3526 -> 3527
2023-03-28T03:57:04.936+05:30 [Info] switched currmeta from 3526 -> 3527 force false 
2023-03-28T03:57:04.936+05:30 [Info] GSIC[default/default-s1-c1-1679956024900845158] started ...
2023/03/28 03:57:04 Expected and Actual scan responses are the same
2023/03/28 03:57:11 Created the secondary index s1_c1_i2. Waiting for it become active
2023/03/28 03:57:11 Index is 15422288865055529235 now active
2023/03/28 03:57:11 Using n1ql client
2023/03/28 03:57:11 Expected and Actual scan responses are the same
2023/03/28 03:57:11 Dropping the secondary index s1_c1_i1
2023/03/28 03:57:11 Index dropped
2023/03/28 03:57:11 Using n1ql client
2023/03/28 03:57:11 Expected and Actual scan responses are the same
2023/03/28 03:57:18 Created the secondary index s1_c1_i1. Waiting for it become active
2023/03/28 03:57:18 Index is 6535223537717791415 now active
2023/03/28 03:57:18 Using n1ql client
2023/03/28 03:57:18 Expected and Actual scan responses are the same
2023/03/28 03:57:18 Dropping the secondary index s1_c1_i1
2023/03/28 03:57:18 Index dropped
2023/03/28 03:57:18 Dropping the secondary index s1_c1_i2
2023/03/28 03:57:18 Index dropped
2023/03/28 03:57:24 Created the secondary index s1_c1_i1. Waiting for it become active
2023/03/28 03:57:24 Index is 7016007049546129423 now active
2023/03/28 03:57:24 Using n1ql client
2023/03/28 03:57:24 Expected and Actual scan responses are the same
2023/03/28 03:57:31 Created the secondary index s1_c1_i2. Waiting for it become active
2023/03/28 03:57:31 Index is 5527135177286822529 now active
2023/03/28 03:57:31 Using n1ql client
2023/03/28 03:57:31 Expected and Actual scan responses are the same
2023/03/28 03:57:31 Dropping the secondary index s1_c1_i1
2023/03/28 03:57:31 Index dropped
2023/03/28 03:57:31 Dropping the secondary index s1_c1_i2
2023/03/28 03:57:31 Index dropped
2023/03/28 03:57:31 Build command issued for the deferred indexes [s1_c1_i1 s1_c1_i2], bucket: default, scope: s1, coll: c1
2023/03/28 03:57:31 Waiting for the index s1_c1_i1 to become active
2023/03/28 03:57:31 Waiting for index 7656811420995308553 to go active ...
2023/03/28 03:57:32 Waiting for index 7656811420995308553 to go active ...
2023/03/28 03:57:33 Waiting for index 7656811420995308553 to go active ...
2023/03/28 03:57:34 Waiting for index 7656811420995308553 to go active ...
2023/03/28 03:57:35 Waiting for index 7656811420995308553 to go active ...
2023/03/28 03:57:36 Waiting for index 7656811420995308553 to go active ...
2023/03/28 03:57:37 Index is 7656811420995308553 now active
2023/03/28 03:57:37 Waiting for the index s1_c1_i2 to become active
2023/03/28 03:57:37 Index is 9545161371188376861 now active
2023/03/28 03:57:39 Using n1ql client
2023/03/28 03:57:41 Expected and Actual scan responses are the same
2023/03/28 03:57:41 Using n1ql client
2023/03/28 03:57:41 Expected and Actual scan responses are the same
2023/03/28 03:57:41 Dropping the secondary index s1_c1_i1
2023/03/28 03:57:41 Index dropped
2023/03/28 03:57:42 Using n1ql client
2023/03/28 03:57:42 Expected and Actual scan responses are the same
2023/03/28 03:57:42 Dropping the secondary index s1_c1_i2
2023/03/28 03:57:42 Index dropped
--- PASS: TestCollectionNonDefault (53.21s)
=== RUN   TestCollectionMetaAtSnapEnd
2023/03/28 03:57:42 In TestCollectionMetaAtSnapEnd()
2023/03/28 03:57:43 Creating scope: s2 for bucket: default as it does not exist
2023/03/28 03:57:43 Create scope succeeded for bucket default, scopeName: s2, body: {"uid":"3"} 
2023/03/28 03:57:43 Created collection succeeded for bucket: default, scope: s2, collection: c2, body: {"uid":"4"}
2023/03/28 03:57:57 Created the secondary index s2_c2_i1. Waiting for it become active
2023/03/28 03:57:57 Index is 3510808920372345311 now active
2023/03/28 03:57:57 Using n1ql client
2023-03-28T03:57:57.568+05:30 [Info] metadata provider version changed 3585 -> 3586
2023-03-28T03:57:57.568+05:30 [Info] switched currmeta from 3585 -> 3586 force false 
2023-03-28T03:57:57.569+05:30 [Info] GSIC[default/default-s2-c2-1679956077547012650] started ...
2023/03/28 03:57:57 Expected and Actual scan responses are the same
2023/03/28 03:58:02 Using n1ql client
2023/03/28 03:58:04 Expected and Actual scan responses are the same
2023/03/28 03:58:04 Created collection succeeded for bucket: default, scope: s2, collection: c3, body: {"uid":"5"}
2023/03/28 03:58:14 Using n1ql client
2023/03/28 03:58:14 Expected and Actual scan responses are the same
2023/03/28 03:58:18 Created the secondary index s2_c2_i2. Waiting for it become active
2023/03/28 03:58:18 Index is 2268701260835304880 now active
2023/03/28 03:58:18 Using n1ql client
2023/03/28 03:58:18 Expected and Actual scan responses are the same
2023/03/28 03:58:18 Using n1ql client
2023/03/28 03:58:18 Expected and Actual scan responses are the same
2023/03/28 03:58:24 Using n1ql client
2023/03/28 03:58:24 Expected and Actual scan responses are the same
2023/03/28 03:58:24 Using n1ql client
2023/03/28 03:58:24 Expected and Actual scan responses are the same
--- PASS: TestCollectionMetaAtSnapEnd (41.92s)
=== RUN   TestCollectionUpdateSeq
2023/03/28 03:58:24 In TestCollectionUpdateSeq()
2023/03/28 03:58:25 Using n1ql client
2023/03/28 03:58:25 Expected and Actual scan responses are the same
2023/03/28 03:58:25 Using n1ql client
2023/03/28 03:58:25 Expected and Actual scan responses are the same
2023/03/28 03:58:31 Using n1ql client
2023/03/28 03:58:31 Expected and Actual scan responses are the same
2023/03/28 03:58:31 Using n1ql client
2023/03/28 03:58:31 Expected and Actual scan responses are the same
2023/03/28 03:58:31 Dropping the secondary index s2_c2_i1
2023/03/28 03:58:31 Index dropped
2023/03/28 03:58:31 Dropping the secondary index s2_c2_i2
2023/03/28 03:58:32 Index dropped
--- PASS: TestCollectionUpdateSeq (7.17s)
=== RUN   TestCollectionMultiple
2023/03/28 03:58:32 In TestCollectionMultiple()
2023/03/28 03:58:35 Created the secondary index _default__default_i3. Waiting for it become active
2023/03/28 03:58:35 Index is 6005409464460760230 now active
2023/03/28 03:58:35 Using n1ql client
2023/03/28 03:58:35 Expected and Actual scan responses are the same
2023/03/28 03:58:42 Created the secondary index s1_c1_i4. Waiting for it become active
2023/03/28 03:58:42 Index is 7433171400532924918 now active
2023/03/28 03:58:42 Using n1ql client
2023/03/28 03:58:42 Expected and Actual scan responses are the same
2023/03/28 03:58:42 Dropping the secondary index _default__default_i3
2023/03/28 03:58:42 Index dropped
2023/03/28 03:58:42 Dropping the secondary index s1_c1_i4
2023/03/28 03:58:43 Index dropped
--- PASS: TestCollectionMultiple (11.02s)
=== RUN   TestCollectionNoDocs
2023/03/28 03:58:43 In TestCollectionNoDocs()
2023/03/28 03:58:48 Created the secondary index s1_c1_i1. Waiting for it become active
2023/03/28 03:58:48 Index is 15038832067683921205 now active
2023/03/28 03:58:48 Using n1ql client
2023/03/28 03:58:49 Expected and Actual scan responses are the same
2023/03/28 03:58:55 Created the secondary index s1_c1_i2. Waiting for it become active
2023/03/28 03:58:55 Index is 4419270781778552123 now active
2023/03/28 03:58:55 Using n1ql client
2023/03/28 03:58:55 Expected and Actual scan responses are the same
2023/03/28 03:58:55 Dropping the secondary index s1_c1_i1
2023/03/28 03:58:55 Index dropped
2023/03/28 03:58:55 Using n1ql client
2023/03/28 03:58:55 Expected and Actual scan responses are the same
2023/03/28 03:59:02 Created the secondary index s1_c1_i1. Waiting for it become active
2023/03/28 03:59:02 Index is 15499409915042480061 now active
2023/03/28 03:59:02 Using n1ql client
2023/03/28 03:59:02 Expected and Actual scan responses are the same
2023/03/28 03:59:08 Using n1ql client
2023/03/28 03:59:08 Expected and Actual scan responses are the same
2023/03/28 03:59:08 Using n1ql client
2023/03/28 03:59:08 Expected and Actual scan responses are the same
2023/03/28 03:59:08 Dropping the secondary index s1_c1_i1
2023/03/28 03:59:08 Index dropped
2023/03/28 03:59:08 Dropping the secondary index s1_c1_i2
2023/03/28 03:59:08 Index dropped
--- PASS: TestCollectionNoDocs (25.76s)
=== RUN   TestCollectionPrimaryIndex
2023/03/28 03:59:08 In TestCollectionPrimaryIndex()
2023/03/28 03:59:14 Created the secondary index s1_c1_i1. Waiting for it become active
2023/03/28 03:59:14 Index is 5782978292746512871 now active
2023/03/28 03:59:14 Using n1ql client
2023/03/28 03:59:21 Created the secondary index s1_c1_i2. Waiting for it become active
2023/03/28 03:59:21 Index is 7602333335823310250 now active
2023/03/28 03:59:21 Using n1ql client
2023/03/28 03:59:22 Using n1ql client
2023/03/28 03:59:23 Using n1ql client
2023/03/28 03:59:23 Dropping the secondary index s1_c1_i1
2023/03/28 03:59:23 Index dropped
2023/03/28 03:59:28 Created the secondary index s1_c1_i1. Waiting for it become active
2023/03/28 03:59:28 Index is 16195031340637090898 now active
2023/03/28 03:59:28 Using n1ql client
2023/03/28 03:59:28 Expected and Actual scan responses are the same
2023/03/28 03:59:29 Using n1ql client
2023/03/28 03:59:29 Expected and Actual scan responses are the same
2023/03/28 03:59:29 Using n1ql client
2023/03/28 03:59:29 Dropping the secondary index s1_c1_i1
2023/03/28 03:59:30 Index dropped
2023/03/28 03:59:30 Dropping the secondary index s1_c1_i2
2023/03/28 03:59:30 Index dropped
--- PASS: TestCollectionPrimaryIndex (21.29s)
=== RUN   TestCollectionMultipleBuilds
2023/03/28 03:59:30 Build command issued for the deferred indexes [18357975992470899785 14506182001626423395]
2023/03/28 03:59:30 Build command issued for the deferred indexes [5583024436403833720 15147929256533948223]
2023/03/28 03:59:30 Waiting for index 18357975992470899785 to go active ...
2023/03/28 03:59:31 Waiting for index 18357975992470899785 to go active ...
2023/03/28 03:59:32 Waiting for index 18357975992470899785 to go active ...
2023/03/28 03:59:33 Waiting for index 18357975992470899785 to go active ...
2023/03/28 03:59:34 Waiting for index 18357975992470899785 to go active ...
2023/03/28 03:59:35 Waiting for index 18357975992470899785 to go active ...
2023/03/28 03:59:36 Index is 18357975992470899785 now active
2023/03/28 03:59:36 Index is 14506182001626423395 now active
2023/03/28 03:59:36 Waiting for index 5583024436403833720 to go active ...
2023/03/28 03:59:37 Waiting for index 5583024436403833720 to go active ...
2023/03/28 03:59:38 Waiting for index 5583024436403833720 to go active ...
2023/03/28 03:59:39 Waiting for index 5583024436403833720 to go active ...
2023/03/28 03:59:40 Waiting for index 5583024436403833720 to go active ...
2023/03/28 03:59:41 Waiting for index 5583024436403833720 to go active ...
2023/03/28 03:59:42 Waiting for index 5583024436403833720 to go active ...
2023/03/28 03:59:43 Waiting for index 5583024436403833720 to go active ...
2023/03/28 03:59:44 Index is 5583024436403833720 now active
2023/03/28 03:59:44 Index is 15147929256533948223 now active
2023/03/28 03:59:44 Using n1ql client
2023/03/28 03:59:44 Expected and Actual scan responses are the same
2023/03/28 03:59:44 Using n1ql client
2023/03/28 03:59:44 Expected and Actual scan responses are the same
2023/03/28 03:59:44 Using n1ql client
2023/03/28 03:59:44 Expected and Actual scan responses are the same
2023/03/28 03:59:44 Using n1ql client
2023/03/28 03:59:44 Expected and Actual scan responses are the same
2023/03/28 03:59:44 Dropping the secondary index s2_c2_i3
2023/03/28 03:59:44 Index dropped
2023/03/28 03:59:44 Dropping the secondary index s2_c2_i4
2023/03/28 03:59:44 Index dropped
2023/03/28 03:59:44 Dropping the secondary index s1_c1_i1
2023/03/28 03:59:44 Index dropped
2023/03/28 03:59:44 Dropping the secondary index s1_c1_i2
2023/03/28 03:59:45 Index dropped
--- PASS: TestCollectionMultipleBuilds (14.90s)
=== RUN   TestCollectionMultipleBuilds2
2023/03/28 03:59:45 Build command issued for the deferred indexes [6017967709137242543 8343718100739154828 2636277892025189955 18103048848380618452 3898565941531222324 6072978877866174362 1408608861466979364 13982381405253720954]
2023/03/28 03:59:45 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:46 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:47 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:48 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:49 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:50 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:51 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:52 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:53 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:54 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:55 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:56 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:57 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:58 Waiting for index 6017967709137242543 to go active ...
2023/03/28 03:59:59 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:00 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:01 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:02 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:03 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:04 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:05 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:06 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:07 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:08 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:09 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:10 Waiting for index 6017967709137242543 to go active ...
2023/03/28 04:00:11 Index is 6017967709137242543 now active
2023/03/28 04:00:11 Index is 8343718100739154828 now active
2023/03/28 04:00:11 Index is 2636277892025189955 now active
2023/03/28 04:00:11 Index is 18103048848380618452 now active
2023/03/28 04:00:11 Waiting for index 3898565941531222324 to go active ...
2023/03/28 04:00:12 Index is 3898565941531222324 now active
2023/03/28 04:00:12 Index is 6072978877866174362 now active
2023/03/28 04:00:12 Index is 1408608861466979364 now active
2023/03/28 04:00:12 Index is 13982381405253720954 now active
2023/03/28 04:00:12 Using n1ql client
2023/03/28 04:00:12 Expected and Actual scan responses are the same
2023/03/28 04:00:12 Using n1ql client
2023/03/28 04:00:13 Expected and Actual scan responses are the same
2023/03/28 04:00:13 Using n1ql client
2023/03/28 04:00:13 Expected and Actual scan responses are the same
2023/03/28 04:00:13 Using n1ql client
2023/03/28 04:00:13 Expected and Actual scan responses are the same
2023/03/28 04:00:13 Using n1ql client
2023-03-28T04:00:13.107+05:30 [Info] GSIC[default/default-s2-c3-1679956213096068396] started ...
2023/03/28 04:00:13 Expected and Actual scan responses are the same
2023/03/28 04:00:13 Using n1ql client
2023/03/28 04:00:13 Expected and Actual scan responses are the same
2023/03/28 04:00:13 Using n1ql client
2023/03/28 04:00:13 Expected and Actual scan responses are the same
2023/03/28 04:00:13 Using n1ql client
2023/03/28 04:00:13 Expected and Actual scan responses are the same
2023/03/28 04:00:14 Using n1ql client
2023/03/28 04:00:14 Expected and Actual scan responses are the same
2023/03/28 04:00:14 Using n1ql client
2023/03/28 04:00:14 Expected and Actual scan responses are the same
2023/03/28 04:00:14 Dropping the secondary index s1_c1_i1
2023/03/28 04:00:14 Index dropped
2023/03/28 04:00:14 Dropping the secondary index s1_c1_i2
2023/03/28 04:00:14 Index dropped
2023/03/28 04:00:14 Dropping the secondary index s2_c2_i1
2023/03/28 04:00:14 Index dropped
2023/03/28 04:00:14 Dropping the secondary index s2_c2_i2
2023/03/28 04:00:14 Index dropped
2023/03/28 04:00:14 Dropping the secondary index s2_c3_i1
2023/03/28 04:00:14 Index dropped
2023/03/28 04:00:14 Dropping the secondary index s2_c3_i2
2023/03/28 04:00:14 Index dropped
2023/03/28 04:00:14 Dropping the secondary index _default__default_i1
2023/03/28 04:00:14 Index dropped
2023/03/28 04:00:14 Dropping the secondary index _default__default_i2
2023/03/28 04:00:15 Index dropped
--- PASS: TestCollectionMultipleBuilds2 (30.07s)
=== RUN   TestCollectionIndexDropConcurrentBuild
2023/03/28 04:00:15 In TestCollectionIndexDropConcurrentBuild()
2023/03/28 04:00:15 Build command issued for the deferred indexes [10972203752535388376 6222246273452973749]
2023/03/28 04:00:16 Dropping the secondary index s1_c1_i1
2023/03/28 04:00:16 Index dropped
2023/03/28 04:00:16 Waiting for index 6222246273452973749 to go active ...
2023/03/28 04:00:17 Waiting for index 6222246273452973749 to go active ...
2023/03/28 04:00:18 Waiting for index 6222246273452973749 to go active ...
2023/03/28 04:00:19 Waiting for index 6222246273452973749 to go active ...
2023/03/28 04:00:20 Index is 6222246273452973749 now active
2023/03/28 04:00:20 Using n1ql client
2023/03/28 04:00:20 Expected and Actual scan responses are the same
2023/03/28 04:00:20 Dropping the secondary index s1_c1_i2
2023/03/28 04:00:20 Index dropped
--- PASS: TestCollectionIndexDropConcurrentBuild (5.67s)
=== RUN   TestCollectionIndexDropConcurrentBuild2
2023/03/28 04:00:20 In TestCollectionIndexDropConcurrentBuild2()
2023/03/28 04:00:27 Created the secondary index s1_c1_i3. Waiting for it become active
2023/03/28 04:00:27 Index is 15391544326839233514 now active
2023/03/28 04:00:27 Using n1ql client
2023/03/28 04:00:27 Expected and Actual scan responses are the same
2023/03/28 04:00:27 Build command issued for the deferred indexes [292922469484331056 6516073991540802774]
2023/03/28 04:00:28 Dropping the secondary index s1_c1_i3
2023/03/28 04:00:28 Index dropped
2023/03/28 04:00:28 Waiting for index 292922469484331056 to go active ...
2023/03/28 04:00:29 Waiting for index 292922469484331056 to go active ...
2023/03/28 04:00:30 Waiting for index 292922469484331056 to go active ...
2023/03/28 04:00:31 Waiting for index 292922469484331056 to go active ...
2023/03/28 04:00:32 Waiting for index 292922469484331056 to go active ...
2023/03/28 04:00:33 Waiting for index 292922469484331056 to go active ...
2023/03/28 04:00:34 Waiting for index 292922469484331056 to go active ...
2023/03/28 04:00:35 Index is 292922469484331056 now active
2023/03/28 04:00:35 Index is 6516073991540802774 now active
2023/03/28 04:00:35 Using n1ql client
2023/03/28 04:00:36 Expected and Actual scan responses are the same
2023/03/28 04:00:36 Using n1ql client
2023/03/28 04:00:36 Expected and Actual scan responses are the same
2023/03/28 04:00:36 Dropping the secondary index s1_c1_i1
2023/03/28 04:00:36 Index dropped
2023/03/28 04:00:36 Dropping the secondary index s1_c1_i2
2023/03/28 04:00:37 Index dropped
--- PASS: TestCollectionIndexDropConcurrentBuild2 (16.98s)
=== RUN   TestCollectionDrop
2023/03/28 04:00:37 In TestCollectionDrop()
2023/03/28 04:00:42 Created the secondary index s1_c1_i1. Waiting for it become active
2023/03/28 04:00:42 Index is 491008107436348434 now active
2023/03/28 04:00:49 Created the secondary index s1_c1_i2. Waiting for it become active
2023/03/28 04:00:49 Index is 10384811748216765166 now active
2023/03/28 04:00:57 Created the secondary index s2_c2_i1. Waiting for it become active
2023/03/28 04:00:57 Index is 4753912541762593924 now active
2023/03/28 04:01:04 Created the secondary index s2_c2_i2. Waiting for it become active
2023/03/28 04:01:04 Index is 3906361256458941209 now active
2023/03/28 04:01:10 Created the secondary index s2_c3_i1. Waiting for it become active
2023/03/28 04:01:10 Index is 3711222864401875810 now active
2023/03/28 04:01:16 Created the secondary index s2_c3_i2. Waiting for it become active
2023/03/28 04:01:16 Index is 16085809582730060703 now active
2023/03/28 04:01:23 Created the secondary index _default__default_i1. Waiting for it become active
2023/03/28 04:01:23 Index is 4039650335423558203 now active
2023/03/28 04:01:30 Created the secondary index _default__default_i2. Waiting for it become active
2023/03/28 04:01:30 Index is 8658678125106736775 now active
2023/03/28 04:01:30 Dropped collection c1 for bucket: default, scope: s1, body: {"uid":"6"}
2023/03/28 04:01:35 Using n1ql client
2023/03/28 04:01:35 Scan failed as expected with error: Index Not Found - cause: GSI index s1_c1_i1 not found.
2023/03/28 04:01:35 Dropped scope s2 for bucket: default, body: {"uid":"7"}
2023/03/28 04:01:40 Using n1ql client
2023-03-28T04:01:40.213+05:30 [Info] GSIC[default/default-s2-c1-1679956300211171135] started ...
2023/03/28 04:01:40 Scan failed as expected with error: Index Not Found - cause: GSI index s2_c1_i1 not found.
--- PASS: TestCollectionDrop (62.44s)
=== RUN   TestCollectionDDLWithConcurrentSystemEvents
2023/03/28 04:01:40 Creating scope: sc for bucket: default as it does not exist
2023/03/28 04:01:40 Create scope succeeded for bucket default, scopeName: sc, body: {"uid":"8"} 
2023/03/28 04:01:40 Created collection succeeded for bucket: default, scope: sc, collection: cc, body: {"uid":"9"}
2023/03/28 04:01:54 Created the secondary index sc_cc_i1. Waiting for it become active
2023/03/28 04:01:54 Index is 12958240176546362951 now active
2023/03/28 04:01:57 Build command issued for the deferred indexes [sc_cc_i2], bucket: default, scope: sc, coll: cc
2023/03/28 04:01:57 Waiting for the index sc_cc_i2 to become active
2023/03/28 04:01:57 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:01:57 Created collection succeeded for bucket: default, scope: sc, collection: cc_0, body: {"uid":"a"}
2023/03/28 04:01:57 Created collection succeeded for bucket: default, scope: sc, collection: cc_1, body: {"uid":"b"}
2023/03/28 04:01:58 Created collection succeeded for bucket: default, scope: sc, collection: cc_2, body: {"uid":"c"}
2023/03/28 04:01:58 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:01:58 Created collection succeeded for bucket: default, scope: sc, collection: cc_3, body: {"uid":"d"}
2023/03/28 04:01:59 Created collection succeeded for bucket: default, scope: sc, collection: cc_4, body: {"uid":"e"}
2023/03/28 04:01:59 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:01:59 Created collection succeeded for bucket: default, scope: sc, collection: cc_5, body: {"uid":"f"}
2023/03/28 04:01:59 Created collection succeeded for bucket: default, scope: sc, collection: cc_6, body: {"uid":"10"}
2023/03/28 04:02:00 Created collection succeeded for bucket: default, scope: sc, collection: cc_7, body: {"uid":"11"}
2023/03/28 04:02:00 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:02:00 Created collection succeeded for bucket: default, scope: sc, collection: cc_8, body: {"uid":"12"}
2023/03/28 04:02:01 Created collection succeeded for bucket: default, scope: sc, collection: cc_9, body: {"uid":"13"}
2023/03/28 04:02:01 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:02:02 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:02:03 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:02:04 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:02:05 Waiting for index 12812380683178332265 to go active ...
2023/03/28 04:02:06 Index is 12812380683178332265 now active
2023/03/28 04:02:06 Using n1ql client
2023-03-28T04:02:06.401+05:30 [Info] GSIC[default/default-sc-cc-1679956326398562566] started ...
--- PASS: TestCollectionDDLWithConcurrentSystemEvents (26.20s)
=== RUN   TestCollectionDropWithMultipleBuckets
2023/03/28 04:02:06 In TestCollectionWithDropMultipleBuckets()
2023/03/28 04:02:06 This test will create a collection across multiple buckets and 
2023/03/28 04:02:06 drops a collection on one bucket. Indexer should not drop indexes
2023/03/28 04:02:06 with same CollectionID but different buckets
2023/03/28 04:02:06 Creating test_bucket_1
2023/03/28 04:02:06 Created bucket test_bucket_1, responseBody: 
2023/03/28 04:02:16 Creating test_bucket_2
2023/03/28 04:02:16 Created bucket test_bucket_2, responseBody: 
2023/03/28 04:02:26 Creating collection: test for bucket: test_bucket_1
2023/03/28 04:02:26 Created collection succeeded for bucket: test_bucket_1, scope: _default, collection: test, body: {"uid":"1"}
2023/03/28 04:02:26 Creating collection: test for bucket: test_bucket_2
2023/03/28 04:02:26 Created collection succeeded for bucket: test_bucket_2, scope: _default, collection: test, body: {"uid":"1"}
2023/03/28 04:02:36 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_1
2023/03/28 04:02:40 Created the secondary index idx_1. Waiting for it become active
2023/03/28 04:02:40 Index is 5373400574247005101 now active
2023/03/28 04:02:45 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_2
2023/03/28 04:02:48 Created the secondary index idx_1. Waiting for it become active
2023/03/28 04:02:48 Index is 7816821172298204469 now active
2023/03/28 04:02:53 Dropping collection: test for bucket: test_bucket_1
2023/03/28 04:02:53 Dropped collection test for bucket: test_bucket_1, scope: _default, body: {"uid":"2"}
2023/03/28 04:02:55 Scanning index: idx_1, bucket: test_bucket_2
2023/03/28 04:02:55 Using n1ql client
2023-03-28T04:02:55.904+05:30 [Info] GSIC[default/test_bucket_2-_default-test-1679956375894830057] started ...
2023/03/28 04:02:55 Deleting bucket: test_bucket_2
2023/03/28 04:02:57 Deleted bucket test_bucket_2, responseBody: 
2023/03/28 04:03:02 Creating test_bucket_2
2023/03/28 04:03:02 Created bucket test_bucket_2, responseBody: 
2023/03/28 04:03:12 Creating collection: test for bucket: test_bucket_2
2023/03/28 04:03:12 Created collection succeeded for bucket: test_bucket_2, scope: _default, collection: test, body: {"uid":"1"}
2023/03/28 04:03:22 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_2
2023/03/28 04:03:27 Build command issued for the deferred indexes [idx_1], bucket: test_bucket_2, scope: _default, coll: test
2023/03/28 04:03:27 Waiting for the index idx_1 to become active
2023/03/28 04:03:27 Waiting for index 11021991212259927697 to go active ...
2023/03/28 04:03:28 Waiting for index 11021991212259927697 to go active ...
2023/03/28 04:03:29 Waiting for index 11021991212259927697 to go active ...
2023/03/28 04:03:30 Waiting for index 11021991212259927697 to go active ...
2023/03/28 04:03:31 Index is 11021991212259927697 now active
2023/03/28 04:03:31 Scanning index: idx_1, bucket: test_bucket_2
2023/03/28 04:03:31 Using n1ql client
2023/03/28 04:03:34 Deleted bucket test_bucket_1, responseBody: 
2023/03/28 04:03:36 Deleted bucket test_bucket_2, responseBody: 
--- PASS: TestCollectionDropWithMultipleBuckets (95.09s)
=== RUN   TestStringToByteSlice
--- PASS: TestStringToByteSlice (0.00s)
=== RUN   TestStringToByteSlice_Stack
--- PASS: TestStringToByteSlice_Stack (1.35s)
=== 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
2023/03/28 04:03:42 In TestEphemeralBuckets()
2023/03/28 04:03:42 In DropAllSecondaryIndexes()
2023/03/28 04:03:42 Index found:  _default__default_i1
2023/03/28 04:03:42 Dropped index _default__default_i1
2023/03/28 04:03:42 Index found:  sc_cc_i2
2023/03/28 04:03:42 Dropped index sc_cc_i2
2023/03/28 04:03:42 Index found:  sc_cc_i1
2023/03/28 04:03:43 Dropped index sc_cc_i1
2023/03/28 04:03:43 Index found:  _default__default_i2
2023/03/28 04:03:43 Dropped index _default__default_i2
2023/03/28 04:04:19 Flushed the bucket default, Response body: 
2023/03/28 04:04:22 Modified parameters of bucket default, responseBody: 
2023/03/28 04:04:22 Created bucket ephemeral1, responseBody: 
2023/03/28 04:04:22 Created bucket ephemeral2, responseBody: 
2023/03/28 04:04:22 Created bucket ephemeral3, responseBody: 
2023/03/28 04:04:37 Generating docs and Populating all the buckets
2023/03/28 04:04:41 Created the secondary index bucket1_age. Waiting for it become active
2023/03/28 04:04:41 Index is 16114428688735601948 now active
2023/03/28 04:04:49 Created the secondary index bucket2_city. Waiting for it become active
2023/03/28 04:04:49 Index is 1356301824413913842 now active
2023/03/28 04:04:56 Created the secondary index bucket3_gender. Waiting for it become active
2023/03/28 04:04:56 Index is 5049963506602100297 now active
2023/03/28 04:05:06 Created the secondary index bucket4_balance. Waiting for it become active
2023/03/28 04:05:06 Index is 5397632714547765813 now active
2023/03/28 04:05:09 Using n1ql client
2023/03/28 04:05:09 Expected and Actual scan responses are the same
2023/03/28 04:05:09 Using n1ql client
2023-03-28T04:05:09.082+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1679956509077869371] started ...
2023/03/28 04:05:09 Expected and Actual scan responses are the same
2023/03/28 04:05:09 Using n1ql client
2023-03-28T04:05:09.109+05:30 [Info] GSIC[default/ephemeral2-_default-_default-1679956509106456535] started ...
2023/03/28 04:05:09 Expected and Actual scan responses are the same
2023/03/28 04:05:09 Using n1ql client
2023-03-28T04:05:09.137+05:30 [Info] GSIC[default/ephemeral3-_default-_default-1679956509133560591] started ...
2023/03/28 04:05:09 Expected and Actual scan responses are the same
2023/03/28 04:05:10 Deleted bucket ephemeral1, responseBody: 
2023/03/28 04:05:12 Deleted bucket ephemeral2, responseBody: 
2023/03/28 04:05:14 Deleted bucket ephemeral3, responseBody: 
2023/03/28 04:05:17 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketBasic (109.64s)
=== RUN   TestEphemeralBucketRecovery
2023/03/28 04:05:32 In TestEphemeralBucketRecovery()
2023/03/28 04:05:32 In DropAllSecondaryIndexes()
2023/03/28 04:05:32 Index found:  bucket1_age
2023/03/28 04:05:32 Dropped index bucket1_age
2023/03/28 04:06:08 Flushed the bucket default, Response body: 
2023/03/28 04:06:11 Modified parameters of bucket default, responseBody: 
2023/03/28 04:06:11 Created bucket ephemeral1, responseBody: 
2023/03/28 04:06:26 Generating docs and Populating all the buckets
2023/03/28 04:06:30 Created the secondary index bucket1_age. Waiting for it become active
2023/03/28 04:06:30 Index is 13894122598770999604 now active
2023/03/28 04:06:36 Created the secondary index bucket2_city. Waiting for it become active
2023/03/28 04:06:36 Index is 8572203300094682916 now active
Restarting indexer process ...
2023/03/28 04:06:39 []
2023-03-28T04:06:39.953+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023-03-28T04:06:39.954+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2023/03/28 04:06:59 Using n1ql client
2023-03-28T04:06:59.905+05:30 [Error] transport error between 127.0.0.1:52672->127.0.0.1:9107: write tcp 127.0.0.1:52672->127.0.0.1:9107: write: broken pipe
2023-03-28T04:06:59.905+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -4066190550893540981 request transport failed `write tcp 127.0.0.1:52672->127.0.0.1:9107: write: broken pipe`
2023-03-28T04:06:59.905+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2023-03-28T04:06:59.905+05:30 [Error] metadataClient:PickRandom: Replicas - [16204846592029391905], PrunedReplica - map[], FilteredReplica map[]
2023/03/28 04:06:59 Expected and Actual scan responses are the same
2023/03/28 04:06:59 Using n1ql client
2023-03-28T04:06:59.927+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1679956619924433379] started ...
2023/03/28 04:06:59 Expected and Actual scan responses are the same
2023/03/28 04:07:00 Deleted bucket ephemeral1, responseBody: 
2023/03/28 04:07:03 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketRecovery (106.50s)
=== RUN   TestEphemeralBucketFlush
2023/03/28 04:07:18 In TestEphemeralBucketFlush()
2023/03/28 04:07:18 In DropAllSecondaryIndexes()
2023/03/28 04:07:18 Index found:  bucket1_age
2023/03/28 04:07:19 Dropped index bucket1_age