{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/12512","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12512/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12512/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12512/events","html_url":"https://github.com/elastic/elasticsearch/issues/12512","id":97738134,"number":12512,"title":"Make startTime part of ActionRequest","user":{"login":"martijnvg","id":580421,"avatar_url":"https://avatars3.githubusercontent.com/u/580421?v=4","gravatar_id":"","url":"https://api.github.com/users/martijnvg","html_url":"https://github.com/martijnvg","followers_url":"https://api.github.com/users/martijnvg/followers","following_url":"https://api.github.com/users/martijnvg/following{/other_user}","gists_url":"https://api.github.com/users/martijnvg/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnvg/subscriptions","organizations_url":"https://api.github.com/users/martijnvg/orgs","repos_url":"https://api.github.com/users/martijnvg/repos","events_url":"https://api.github.com/users/martijnvg/events{/privacy}","received_events_url":"https://api.github.com/users/martijnvg/received_events","type":"User","site_admin":false},"labels":[{"id":146832564,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Search/Search","name":":Search/Search","color":"0e8a16","default":false},{"id":23174,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Eenhancement","name":">enhancement","color":"4a4ea8","default":false},{"id":110815527,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/adoptme","name":"adoptme","color":"207de5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-07-28T15:41:37Z","updated_at":"2018-03-21T19:44:59Z","closed_at":"2018-03-21T19:44:59Z","author_association":"MEMBER","body":"At the moment the _search api ensure that the current time (useful for scripts with now etc.) is consistent across all shards where the search request executed. This is because all the search related transport action extend from `AbstractAsyncAction`, which records the startTime of an request. \n\nWhat I think would be better if startTime becomes part of the ActionRequest (or an immediate abstract subclass) itself and for shard level related request classes we would then need another base class. So that enforcing that current time will evaluate constantly in all apis.\n"}}
{"actor":{"display_login":"andyb-elastic"}}