aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/translations/es/LC_MESSAGES
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-04-06 15:56:22 -0700
committerBryan Newbold <bnewbold@archive.org>2021-04-06 15:57:45 -0700
commite1030e29bbd192953ab742f593dd8da43a7af684 (patch)
tree8b2981a96b4538610fb72972329a6856b9ba8de1 /fatcat_scholar/translations/es/LC_MESSAGES
parentffdc6b78be020c392b1e233b928509291cfca2f7 (diff)
downloadfatcat-scholar-e1030e29bbd192953ab742f593dd8da43a7af684.tar.gz
fatcat-scholar-e1030e29bbd192953ab742f593dd8da43a7af684.zip
change health check from .exists(index) to .mapping(index)
In cases where the cluser leader node is unavilable, the health check was returning false even when the local node had full shard replicas and could return requests. A refinement of this change would be to use the /<index>/_count API endpoint to ensure that the "failed" and "skipped" shard numbers are 0 (aka, "successful == total"). However, not sure where that endpoint is exposed in the elasticsearch-py API. the CatClient method doesn't seem right.
Diffstat (limited to 'fatcat_scholar/translations/es/LC_MESSAGES')
0 files changed, 0 insertions, 0 deletions