Slackbot
10/02/2023, 2:50 PMJason Bosco
10/02/2023, 3:42 PMTariq Zabian
10/02/2023, 3:50 PMJason Bosco
10/02/2023, 3:52 PMSo allowing the LB to write to the leader and forcing a read always from the same leader isn’t a viable solution?Not with the load-balanced endpoint. But if you wanted to, you could query each individual hostname's /debug endpoint to determine if it has a state of
1 in the response, to check if it's a leader. And then if you read from the current leader right after a write, that should return the doc.Jason Bosco
10/02/2023, 3:53 PMTariq Zabian
10/02/2023, 3:54 PMJason Bosco
10/02/2023, 3:54 PMTariq Zabian
10/02/2023, 3:54 PMTariq Zabian
10/02/2023, 3:56 PMTariq Zabian
10/02/2023, 3:56 PMTariq Zabian
10/02/2023, 5:37 PMJason Bosco
10/02/2023, 7:49 PM