Skip to content

took time value is much larger than that calculated by Profile API #29275

@owenericsson

Description

@owenericsson

Describe the feature: whole time calculation is wrong with took time value

Elasticsearch version (bin/elasticsearch --version): 5.3.2

Plugins installed: []

JVM version (java -version): JDK 1.8 update 132

OS version (uname -a if on a Unix-like system): CentOS 5.5

Description of the problem including expected versus actual behavior:
i would like to diagnostic for a query with a term aggregation, and then i added a profile:true to the query. however i see the time took 500+ms while i found out that the maximum time of a shard is just ~10ms.
would you some one please give me some hint that where the 400+ms take place

Provide logs (if relevant):
see attachment, for security reason i skipped the true result and renamed the index name and field name.

result.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categories>docsGeneral docs changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions