-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collect and display execution metadata for ES|QL cross cluster searches #112595
Commits on Sep 13, 2024
-
Collect and display execution metadata for ES|QL cross cluster searches
Added EsqlExecutionInfo class and added it to the EsqlQueryResponse, but not yet in the XContent output of EsqlQueryResponse. Also added to TransportEsqlQueryAction, but not yet passed down to the execution layers.
Configuration menu - View commit details
-
Copy full SHA for 6ebc396 - Browse repository at this point
Copy the full SHA 6ebc396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 512fdec - Browse repository at this point
Copy the full SHA 512fdecView commit details -
Removed changes to EsqlQueryResponse, spending too long getting the E…
…sqlQueryResponseTests to pass and probably don't want it in the response for now anyway
Configuration menu - View commit details
-
Copy full SHA for 39428fa - Browse repository at this point
Copy the full SHA 39428faView commit details -
Starting threading EsqlExecutionInfo into PlanExecutor and EsqlSesssi…
…on, but not used yet to record metadata
Configuration menu - View commit details
-
Copy full SHA for 892cd99 - Browse repository at this point
Copy the full SHA 892cd99View commit details -
Have the initial swap-in of cluster info into EsqlExecutionInfo in Es…
…qlSession.preAnalyzeIndices. No updates after that added yet. Passing in Function<String, Map<String, OriginalIndices>> rather than RemoteClusterService to PlanExecutor and EsqlSession. Makes it easier (or possible) to get the existing unit tests working again and less overall coupling.
Configuration menu - View commit details
-
Copy full SHA for fb10109 - Browse repository at this point
Copy the full SHA fb10109View commit details -
Added EsqlExecutionInfo to IndexResolver. Enrich pathway passes in nu…
…ll for EsqlExecutionInfo. The EsqlExecutionInfo Cluster statuses are update in IndexResolver.updateExecutionInfoWithFieldCapsResults. Test for that method added.
Configuration menu - View commit details
-
Copy full SHA for 797cc8c - Browse repository at this point
Copy the full SHA 797cc8cView commit details -
ComputeListener updated to the version that has proper remote/local s…
…plit and new static constructors. However, the new acquire fns in ComputeListener are not yet used in ComputeService. ComputeResponse updated to have info (shard accounting and took time) need for adding to EsqlExecutionInfo, but again not being used/added yet. Added to queryStartTimeMillis to esql.session.Configuration
Configuration menu - View commit details
-
Copy full SHA for fa7bbb0 - Browse repository at this point
Copy the full SHA fa7bbb0View commit details -
Added new tests to ComputeListenerTests
And adjusted acquireComputeForDataNodes to take long for startTime rather than whole Configuration object
Configuration menu - View commit details
-
Copy full SHA for 71a33ed - Browse repository at this point
Copy the full SHA 71a33edView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab347a6 - Browse repository at this point
Copy the full SHA ab347a6View commit details -
update ExecutionInfo with shard counts in ComputeService.lookupDataNodes
Added new DataNodeResult record to be returned from ComputeService.lookupDataNodes
Configuration menu - View commit details
-
Copy full SHA for c39111b - Browse repository at this point
Copy the full SHA c39111bView commit details -
Migrated CrossClustersQueryIT to new setup format, but can't add exec…
…Info tests until its added to the EsqlQueryResponse
Configuration menu - View commit details
-
Copy full SHA for 1a3a7f8 - Browse repository at this point
Copy the full SHA 1a3a7f8View commit details -
Added CountDown to acquireComputeForDataNodes - that allows SUCCESSFU…
…L status to be set for local cluster when last node finishes Added EsqlExecutionInfo to EsqlQueryResponse, but only took time is in the XContent Added new tests and test cases to CrossClustersQueryIT
Configuration menu - View commit details
-
Copy full SHA for 544aaeb - Browse repository at this point
Copy the full SHA 544aaebView commit details -
Fixed failing REST and qa tests to account for the new 'took' time in…
… the ESQL response
Configuration menu - View commit details
-
Copy full SHA for ca2de85 - Browse repository at this point
Copy the full SHA ca2de85View commit details -
Configuration menu - View commit details
-
Copy full SHA for f839132 - Browse repository at this point
Copy the full SHA f839132View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f3139b - Browse repository at this point
Copy the full SHA 3f3139bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e090437 - Browse repository at this point
Copy the full SHA e090437View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2b2542 - Browse repository at this point
Copy the full SHA b2b2542View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e7876e - Browse repository at this point
Copy the full SHA 5e7876eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e16fbb - Browse repository at this point
Copy the full SHA 3e16fbbView commit details -
Updated end user docs with info about top level took time and _cluste…
…r/details section
Configuration menu - View commit details
-
Copy full SHA for ed5b9db - Browse repository at this point
Copy the full SHA ed5b9dbView commit details -
Added EsqlExecutionInfo to equals and hashCode method of EsqlQueryRes…
…ponse and got EsqlQueryResponseTests passing
Configuration menu - View commit details
-
Copy full SHA for 661a243 - Browse repository at this point
Copy the full SHA 661a243View commit details -
Removed skip_unavilable=true filter in IndexResolver - all clusters a…
…re marked as skipped for now if remote cannot be contacted
Configuration menu - View commit details
-
Copy full SHA for 9535bdd - Browse repository at this point
Copy the full SHA 9535bddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 699b16a - Browse repository at this point
Copy the full SHA 699b16aView commit details -
Added equals and hashCode to EsqlExecutionInfo.Cluster object.
Improved javadoc and fixed a few minor test flaws. Removed some debugging code.
Configuration menu - View commit details
-
Copy full SHA for 228eed2 - Browse repository at this point
Copy the full SHA 228eed2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa9c7c4 - Browse repository at this point
Copy the full SHA fa9c7c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c51719e - Browse repository at this point
Copy the full SHA c51719eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d365c37 - Browse repository at this point
Copy the full SHA d365c37View commit details -
Added questions about took time headers to EsqlResponseListener - pos…
…sibly need to change that impl
Configuration menu - View commit details
-
Copy full SHA for 8688dbf - Browse repository at this point
Copy the full SHA 8688dbfView commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5b93774 - Browse repository at this point
Copy the full SHA 5b93774View commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 449e1a7 - Browse repository at this point
Copy the full SHA 449e1a7View commit details
Commits on Sep 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0083ae7 - Browse repository at this point
Copy the full SHA 0083ae7View commit details -
PR feedback with focus on end user docs fixes, removing some out-of-d…
…ate code comments and minor improvements to tests (qa and IT)
Configuration menu - View commit details
-
Copy full SHA for 5462d6b - Browse repository at this point
Copy the full SHA 5462d6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f27325 - Browse repository at this point
Copy the full SHA 5f27325View commit details
Commits on Sep 19, 2024
-
Additional PR feedback changes - test adjustments, remove 'set' and '…
…get' prefixes from some methdos in EsqlExecutionInfo
Configuration menu - View commit details
-
Copy full SHA for 9e77c28 - Browse repository at this point
Copy the full SHA 9e77c28View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd6d3bf - Browse repository at this point
Copy the full SHA fd6d3bfView commit details -
Now tracking took in nanos, not millis (but XContent still displays i…
…n millis, until a decision is made to change it) Also reading/writing TimeValue with read/writeOptionalTimeValue.
Configuration menu - View commit details
-
Copy full SHA for 6e87174 - Browse repository at this point
Copy the full SHA 6e87174View commit details -
Configuration menu - View commit details
-
Copy full SHA for b474fc7 - Browse repository at this point
Copy the full SHA b474fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1649962 - Browse repository at this point
Copy the full SHA 1649962View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20c9356 - Browse repository at this point
Copy the full SHA 20c9356View commit details -
EsqlResponseListener now preferentially uses the took time in the Esq…
…lExecutionInfo; falls back to internal Stopwatch
Configuration menu - View commit details
-
Copy full SHA for e6aa92a - Browse repository at this point
Copy the full SHA e6aa92aView commit details
Commits on Sep 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 59d1480 - Browse repository at this point
Copy the full SHA 59d1480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bb1b7f - Browse repository at this point
Copy the full SHA 8bb1b7fView commit details -
Modified esql-across-clusters to run the new queries I added; but JSO…
…N responses are not tested - not clear how to do multiline replacements in this test framework
Configuration menu - View commit details
-
Copy full SHA for 6323cdf - Browse repository at this point
Copy the full SHA 6323cdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4875a66 - Browse repository at this point
Copy the full SHA 4875a66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24e0c02 - Browse repository at this point
Copy the full SHA 24e0c02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 940ef22 - Browse repository at this point
Copy the full SHA 940ef22View commit details
Commits on Sep 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 617cbec - Browse repository at this point
Copy the full SHA 617cbecView commit details -
Removed code that lists fully resolved indices in the _clusters/detai…
…ls (PR feedback) and updated tests
Configuration menu - View commit details
-
Copy full SHA for c45d181 - Browse repository at this point
Copy the full SHA c45d181View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13a34de - Browse repository at this point
Copy the full SHA 13a34deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ac5746 - Browse repository at this point
Copy the full SHA 9ac5746View commit details
Commits on Sep 24, 2024
-
PR feedback: Moved logic for unavailable/missing clusters to EsqlSession
EsqlExecutionInfo is no longer passed into IndexResolver. Instead it returns the info needed in IndexResolution so that ExecInfo.Cluster info can be updated in EsqlSession.
Configuration menu - View commit details
-
Copy full SHA for 3afb7a1 - Browse repository at this point
Copy the full SHA 3afb7a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b118406 - Browse repository at this point
Copy the full SHA b118406View commit details
Commits on Sep 26, 2024
-
PR feedback: I removed acquireCCSCompute and acquireComputeForDatanod…
…es in ComputeListener. This however requires adding additional state to ComputeListener to know what "context" each compute listener is running so it knows what actions to take.
Configuration menu - View commit details
-
Copy full SHA for fc53eb7 - Browse repository at this point
Copy the full SHA fc53eb7View commit details -
Merge remote-tracking branch 'elastic/main' into esql/ccs-execution-i…
…nfo2-26-Sep-SQUASHED
Configuration menu - View commit details
-
Copy full SHA for d50658c - Browse repository at this point
Copy the full SHA d50658cView commit details -
PR feedback: Created new intf IndicesExpressionResolver and have Remo…
…teClusterService implementing it
Configuration menu - View commit details
-
Copy full SHA for dc467ac - Browse repository at this point
Copy the full SHA dc467acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 711c1f8 - Browse repository at this point
Copy the full SHA 711c1f8View commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8e5f170 - Browse repository at this point
Copy the full SHA 8e5f170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 838e6a9 - Browse repository at this point
Copy the full SHA 838e6a9View commit details -
Moved parseClusterAlias from IndexResolver to RemoteClusterAware and …
…using the new methods in RemoteClusterAware
Configuration menu - View commit details
-
Copy full SHA for 77cc107 - Browse repository at this point
Copy the full SHA 77cc107View commit details -
Renamed IndicesExpressionResolver intf to IndicesExpressionGrouper.
Added ExecutionInfo asserts to CrossClustersEnrichIT.
Configuration menu - View commit details
-
Copy full SHA for 0e71453 - Browse repository at this point
Copy the full SHA 0e71453View commit details -
Configuration menu - View commit details
-
Copy full SHA for a69f3db - Browse repository at this point
Copy the full SHA a69f3dbView commit details -
PR feedback: Added javadoc to ComputeListener, removed leftover debug…
…ging code, other minor code cleanup.
Configuration menu - View commit details
-
Copy full SHA for a7efbec - Browse repository at this point
Copy the full SHA a7efbecView commit details -
Fixed bug where SKIPPED status for unavailable clusters from field-ca…
…ps lookup was being overwritten to SUCCESSFUL status
Configuration menu - View commit details
-
Copy full SHA for aa8bbaa - Browse repository at this point
Copy the full SHA aa8bbaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5e45b5 - Browse repository at this point
Copy the full SHA e5e45b5View commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9a304c2 - Browse repository at this point
Copy the full SHA 9a304c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d79af98 - Browse repository at this point
Copy the full SHA d79af98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 826aab7 - Browse repository at this point
Copy the full SHA 826aab7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec99687 - Browse repository at this point
Copy the full SHA ec99687View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02092e9 - Browse repository at this point
Copy the full SHA 02092e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8569bfa - Browse repository at this point
Copy the full SHA 8569bfaView commit details