Imtiaz Mangerah
10/25/2021, 2:38 AMtypesense
js client in the browser, and I noticed it always chooses server-a (the first node on the list). I had a look at ApiCall.ts and it appears as if all the servers are healthy it would always use the first one.Imtiaz Mangerah
10/25/2021, 2:48 AM// Attempts to find the next healthy node, looping through the list of nodes once.
// But if no healthy nodes are found, it will just return the next node, even if it's unhealthy
// so we can try the request for good measure, in case that node has become healthy since
getNextNode(requestNumber: number = 0): Node {
...
So I assume the expected behaviour is for the search requests to get spread across the 3 nodes. Would it always start with the first node, and when does it switch to the next node (I have not seen any searches hit the other nodes yet, but they are online and healthy)Jason Bosco
10/25/2021, 3:07 AMJason Bosco
10/25/2021, 3:10 AMAlex K
11/18/2021, 8:14 PMJason Bosco
11/18/2021, 8:24 PM