Dima
05/05/2024, 4:41 PM/health
endpoint returns 503 when typesense is indexing on startup and in-case when lag is not healthy for reads. But at the same time it returns 200 in case of unhealthy write lag ๐ค I understand that for most cases it is better to serve read clients as soon as possible even if reads are unavailable for now, but in cluster mode it is not so critical.
Maybe you have an idea how to check for the read and write readiness? My current workaround is to set read and write lags threshold to the same value, but not sure if it is viable and other conditions in /health endpoint wonโt mess with a write readiness.Dima
05/05/2024, 4:48 PMKishore Nallan
05/06/2024, 5:23 AMDima
05/06/2024, 7:24 AMKishore Nallan
05/07/2024, 1:40 PM