{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/19978","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/19978/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/19978/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/19978/events","html_url":"https://github.com/elastic/elasticsearch/issues/19978","id":170899702,"number":19978,"title":"Switch InternalShardLock from using LockObtainFailedException to a different exception","user":{"login":"dakrone","id":19060,"avatar_url":"https://avatars.githubusercontent.com/u/19060?v=3","gravatar_id":"","url":"https://api.github.com/users/dakrone","html_url":"https://github.com/dakrone","followers_url":"https://api.github.com/users/dakrone/followers","following_url":"https://api.github.com/users/dakrone/following{/other_user}","gists_url":"https://api.github.com/users/dakrone/gists{/gist_id}","starred_url":"https://api.github.com/users/dakrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakrone/subscriptions","organizations_url":"https://api.github.com/users/dakrone/orgs","repos_url":"https://api.github.com/users/dakrone/repos","events_url":"https://api.github.com/users/dakrone/events{/privacy}","received_events_url":"https://api.github.com/users/dakrone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Internal","name":":Internal","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/adoptme","name":"adoptme","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T15:39:46Z","updated_at":"2016-08-12T15:44:13Z","closed_at":null,"body":"According to the [documentation](https://github.com/apache/lucene-solr/blob/cea8a488f0d48041abb4be0dbe29ab81f04522bf/lucene/core/src/java/org/apache/lucene/store/LockObtainFailedException.java#L22-L25) for `LockObtainFailedException`:\r\n\r\n`This exception is thrown when the <code>write.lock</code> could not be acquired.`\r\n\r\nWe should not use this exception for the in-memory semaphore that's part of [NodeEnvironment](https://github.com/elastic/elasticsearch/blob/15c96df5b5d5b22b13a27adb4650917fc6ad1d80/core/src/main/java/org/elasticsearch/env/NodeEnvironment.java#L706-L716), we should use a different exception class."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/239482045","html_url":"https://github.com/elastic/elasticsearch/issues/19978#issuecomment-239482045","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/19978","id":239482045,"user":{"login":"rmuir","id":504194,"avatar_url":"https://avatars.githubusercontent.com/u/504194?v=3","gravatar_id":"","url":"https://api.github.com/users/rmuir","html_url":"https://github.com/rmuir","followers_url":"https://api.github.com/users/rmuir/followers","following_url":"https://api.github.com/users/rmuir/following{/other_user}","gists_url":"https://api.github.com/users/rmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/rmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmuir/subscriptions","organizations_url":"https://api.github.com/users/rmuir/orgs","repos_url":"https://api.github.com/users/rmuir/repos","events_url":"https://api.github.com/users/rmuir/events{/privacy}","received_events_url":"https://api.github.com/users/rmuir/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T15:44:13Z","updated_at":"2016-08-12T15:44:13Z","body":"+1 hijacking this exception is crying wolf, it freaks me out if i see it, especially if it does not contain the expected contents. Lets please not use it for any other purpose."}}
{"actor":{"display_login":"rmuir"}}