{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9562","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9562/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9562/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9562/events","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9562","id":56539491,"number":9562,"title":"Gateway: add logging around gateway shard allocation","user":{"login":"bleskes","id":1006375,"avatar_url":"https://avatars.githubusercontent.com/u/1006375?v=3","gravatar_id":"","url":"https://api.github.com/users/bleskes","html_url":"https://github.com/bleskes","followers_url":"https://api.github.com/users/bleskes/followers","following_url":"https://api.github.com/users/bleskes/following{/other_user}","gists_url":"https://api.github.com/users/bleskes/gists{/gist_id}","starred_url":"https://api.github.com/users/bleskes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleskes/subscriptions","organizations_url":"https://api.github.com/users/bleskes/orgs","repos_url":"https://api.github.com/users/bleskes/repos","events_url":"https://api.github.com/users/bleskes/events{/privacy}","received_events_url":"https://api.github.com/users/bleskes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/:Logging","name":":Logging","color":"009800"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v1.4.3","name":"v1.4.3","color":"dddddd"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v1.5.0","name":"v1.5.0","color":"dddddd"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-04T15:13:51Z","updated_at":"2015-02-06T17:42:13Z","closed_at":"2015-02-05T17:07:39Z","pull_request":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/9562","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9562","diff_url":"https://github.com/elasticsearch/elasticsearch/pull/9562.diff","patch_url":"https://github.com/elasticsearch/elasticsearch/pull/9562.patch"},"body":"This commit adds more logs around the gateway shard allocation. Any errors while reaching out to nodes to list the local shards are logged in `WARN`. Shard info loading time is logged under DEBUG. Also, we log a `WARN` message if an exception forces a full checksum check during reading the store metadata.\r\n\r\nExamples:\r\n\r\n```\r\n[2015-02-04 17:15:31,632][WARN ][gateway.local            ] [Danger] [index][0]: failed to list shard state on node [9tAoCoTLTIiXfJz88S6Sqg], reason [Failed node [9tAoCoTLTIiXfJz88S6Sqg][[Tiger Shark][inet[/192.168.1.248:9301]][internal:gateway/local/started_shards[n]] request_id [14] timed out after [30003ms]]]\r\n[2015-02-04 17:15:31,632][WARN ][gateway.local            ] [Danger] [index][0]: [1] failures when trying to list shard state on nodes.\r\n```\r\n\r\n```\r\n[2015-02-04 15:13:42,183][DEBUG][indices.store             ] [Fault Zone] loaded store meta data for [index][0] (took [28ms])\r\n```\r\n\r\n```\r\n[2015-02-04 15:13:31,358][DEBUG][gateway.local.state.shards] [Edwin Jarvis] [index][0] shard state info found: [version [18], primary [true]]\r\n```"},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/73280210","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9562#issuecomment-73280210","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9562","id":73280210,"user":{"login":"bleskes","id":1006375,"avatar_url":"https://avatars.githubusercontent.com/u/1006375?v=3","gravatar_id":"","url":"https://api.github.com/users/bleskes","html_url":"https://github.com/bleskes","followers_url":"https://api.github.com/users/bleskes/followers","following_url":"https://api.github.com/users/bleskes/following{/other_user}","gists_url":"https://api.github.com/users/bleskes/gists{/gist_id}","starred_url":"https://api.github.com/users/bleskes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleskes/subscriptions","organizations_url":"https://api.github.com/users/bleskes/orgs","repos_url":"https://api.github.com/users/bleskes/repos","events_url":"https://api.github.com/users/bleskes/events{/privacy}","received_events_url":"https://api.github.com/users/bleskes/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T17:42:13Z","updated_at":"2015-02-06T17:42:13Z","body":"@kimchy no need to be sorry. It's a valid point. "}}