<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>watasihasitujidesu</author_name>
  <author_url>https://blog.hatena.ne.jp/watasihasitujidesu/</author_url>
  <blog_title>production.log</blog_title>
  <blog_url>https://blog.naoshihoshi.com/</blog_url>
  <categories>
    <anon>Snapmart</anon>
    <anon>技術</anon>
  </categories>
  <description>タイトルの通り、ある日突然Amazon Elasticsearch Service(以下AES)のクラスター状態が黄色になってしまいました。 今回はクラスター状態が黄色になった場合の対処方法について、紹介します。原因は、シャードのいくつかが、ノードに割当されなくなってしまったことが原因でした。 クラスター状態を緑に戻す対処方法としては、割り当てられていないシャードをノードに割り当てることです。 これは、`index.allocation.max_retries`を変更することで、リーダーノードが割り当て処理を再試行してくれます。 シャード自体に問題がない場合は有効な復旧方法です。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.naoshihoshi.com%2Fentry%2F2021%2F04%2F23%2F123000&quot; title=&quot;AWS Elasticsearch Service(AES)のシャードの未割り当て(UNASSIGNED)が原因でクラスター状態が黄色になってしまった場合の対応方法 - production.log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-23 12:30:00</published>
  <title>AWS Elasticsearch Service(AES)のシャードの未割り当て(UNASSIGNED)が原因でクラスター状態が黄色になってしまった場合の対応方法</title>
  <type>rich</type>
  <url>https://blog.naoshihoshi.com/entry/2021/04/23/123000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
