{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9709","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9709/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9709/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9709/events","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9709","id":57786342,"number":9709,"title":"[STORE] Add simple cache for StoreStats","user":{"login":"s1monw","id":973334,"avatar_url":"https://avatars.githubusercontent.com/u/973334?v=3","gravatar_id":"","url":"https://api.github.com/users/s1monw","html_url":"https://github.com/s1monw","followers_url":"https://api.github.com/users/s1monw/followers","following_url":"https://api.github.com/users/s1monw/following{/other_user}","gists_url":"https://api.github.com/users/s1monw/gists{/gist_id}","starred_url":"https://api.github.com/users/s1monw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1monw/subscriptions","organizations_url":"https://api.github.com/users/s1monw/orgs","repos_url":"https://api.github.com/users/s1monw/repos","events_url":"https://api.github.com/users/s1monw/events{/privacy}","received_events_url":"https://api.github.com/users/s1monw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-16T10:17:31Z","updated_at":"2015-02-16T13:16:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/9709","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9709","diff_url":"https://github.com/elasticsearch/elasticsearch/pull/9709.diff","patch_url":"https://github.com/elasticsearch/elasticsearch/pull/9709.patch"},"body":"this commit tries to reduce the filesystem calls to fetch metadata\r\nby using a simple cache on top of the stats call.\r\n\r\nRelates to #9683"},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/74506481","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9709#issuecomment-74506481","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9709","id":74506481,"user":{"login":"kimchy","id":41300,"avatar_url":"https://avatars.githubusercontent.com/u/41300?v=3","gravatar_id":"","url":"https://api.github.com/users/kimchy","html_url":"https://github.com/kimchy","followers_url":"https://api.github.com/users/kimchy/followers","following_url":"https://api.github.com/users/kimchy/following{/other_user}","gists_url":"https://api.github.com/users/kimchy/gists{/gist_id}","starred_url":"https://api.github.com/users/kimchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimchy/subscriptions","organizations_url":"https://api.github.com/users/kimchy/orgs","repos_url":"https://api.github.com/users/kimchy/repos","events_url":"https://api.github.com/users/kimchy/events{/privacy}","received_events_url":"https://api.github.com/users/kimchy/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T13:16:00Z","updated_at":"2015-02-16T13:16:00Z","body":"> the more I think about this the more I think we should try a different way. I wonder if we can use the Java 7 WatchService and register something on the data dir to get notifications if something has changed from the OS instead of this crazy caching here?\r\n\r\nI like this idea!"}}