Skip to content
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

Fix references to logsdb index mode in release highlights #1

Closed
wants to merge 182 commits into from

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    23f4834 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f0da32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e9033b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e666865 View commit details
    Browse the repository at this point in the history
  5. Fix esql enrich memory leak (elastic#109275) (elastic#110450) (elasti…

    …c#110492)
    
    This PR was reviewed in elastic#109275
    
    Block and Vector use a non-thread-safe RefCounted. Threads that increase
    or decrease the references must have a happen-before relationship.
    However, this order is not guaranteed in the enrich lookup for the
    reference of selectedPositions. The driver can complete the
    MergePositionsOperator, which decreases the reference count of
    selectedPositions, while the finally block may also decrease it in a
    separate thread. These actions occur without a defined happen-before
    relationship.
    
    Closes elastic#108532
    dnhatn authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    04e533b View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. DOCS Query Roles (elastic#110473) (elastic#110499)

    These are the docs changes in relation to
    elastic#108733
    albertzaharovits authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    fe324d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6a888c View commit details
    Browse the repository at this point in the history
  3. Always write empty role descriptor fields to index (elastic#110424) (e…

    …lastic#110498)
    
    * Always write empty role descriptor fields to index
    jfreden authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    c7d3224 View commit details
    Browse the repository at this point in the history
  4. Add audit logging for bulk role APIs (elastic#110410) (elastic#110519)

    * Add audit logging for bulk put role
    jfreden authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    6e628de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    077b94e View commit details
    Browse the repository at this point in the history
  6. Fix bit vector tests (elastic#110521) (elastic#110525)

    Bit vector tests were failing in cases where an index has more than 1 shards.
    For error cases when we expected a failure of the whole request, shards
    with empty documents returned success and the whoel request unexpectedly returned 200.
    
    Ensuring that index contains only 1 shard fixes these failures.
    
    Closes elastic#110290, elastic#110291
    mayya-sharipova authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    3f2c81e View commit details
    Browse the repository at this point in the history
  7. Fix node tests for ToPartial (elastic#110448) (elastic#110531)

    This change makes the three-parameter constructor of ToPartial public so 
    that EsqlNodeSubclassTests can pick it up properly.
    
    Closes elastic#110310
    dnhatn authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    779a5f0 View commit details
    Browse the repository at this point in the history
  8. Deprecate using slm privileges to access ilm (elastic#110540) (elasti…

    …c#110550)
    
    Currently, read_slm privilege grants access to get the ILM status,
    and manage_slm grants access to start/stop ILM. This access will
    be removed in the future, but needs to be deprecated before
    removal. Add deprecation warning to the read_slm and manage_slm docs.
    parkertimmins authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    6e99d5d View commit details
    Browse the repository at this point in the history
  9. [Inference API] Add Amazon Bedrock support to Inference API (elastic#…

    …110248) (elastic#110545)
    
    * Initial commit; setup Gradle; start service
    
    * initial commit
    
    * minor cleanups, builds green; needs tests
    
    * bug fixes; tested working embeddings & completion
    
    * use custom json builder for embeddings request
    
    * Ensure auto-close; fix forbidden API
    
    * start of adding unit tests; abstraction layers
    
    * adding additional tests; cleanups
    
    * add requests unit tests
    
    * all tests created
    
    * fix cohere embeddings response
    
    * fix cohere embeddings response
    
    * fix lint
    
    * better test coverage for secrets; inference client
    
    * update thread-safe syncs; make dims/tokens + int
    
    * add tests for dims and max tokens positive integer
    
    * use requireNonNull;override settings type;cleanups
    
    * use r/w lock for client cache
    
    * remove client reference counting
    
    * update locking in cache; client errors; noop doc
    
    * remove extra block in internalGetOrCreateClient
    
    * remove duplicate dependencies; cleanup
    
    * add fxn to get default embeddings similarity
    
    * use async calls to Amazon Bedrock; cleanups
    
    * use Clock in cache; simplify locking; cleanups
    
    * cleanups around executor; remove some instanceof
    
    * cleanups; use EmbeddingRequestChunker
    
    * move max chunk size to constants
    
    * oof - swapped transport vers w/ master node req
    
    * use XContent instead of Jackson JsonFactory
    
    * remove gradle versions; do not allow dimensions
    markjhoy authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    e24b0c9 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. Introduce compute listener (elastic#110400) (elastic#110555)

    Currently, if a child request fails, we automatically trigger  cancellation
    for ES|QL requests. This can result in TaskCancelledException being
    collected by the RefCountingListener first, which then returns that
    exception to the caller. For example, if we encounter a
    CircuitBreakingException (429), we might incorrectly return a
    TaskCancelledException (400) instead.
    
    This change introduces the ComputeListener, a variant of
    RefCountingListener, which selects the most appropriate exception to return
    to the caller. I also integrated the following features into ComputeListener to
    simplify ComputeService:
    
    - Automatic cancellation of sub-tasks on failure.
    - Collection of profiles from sub-tasks.
    - Collection of response headers from sub-tasks.
    dnhatn authored Jul 6, 2024
    Configuration menu
    Copy the full SHA
    6b18568 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Adjust cancellation message in task tests (elastic#110546) (elastic#1…

    …10567)
    
    Adding `parent task was cancelled [test cancel]` to the list 
    of allowed cancellation messages.
    dnhatn authored Jul 7, 2024
    Configuration menu
    Copy the full SHA
    088fabe View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Configuration menu
    Copy the full SHA
    7b51ff6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cbb8be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e961f0b View commit details
    Browse the repository at this point in the history
  4. Fix ExactKnnQueryBuilderTests testToQuery (elastic#110357) (elastic#1…

    …10589) (elastic#110608)
    
    closes elastic#110357
    
    With the loosening of what is considered a unit vector, we need to
    ensure we only normalize for equality checking if the query vector is
    indeed not a unit vector.
    
    (cherry picked from commit fd790ff)
    benwtrent authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    d0859d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Fix BWC for compute listener (elastic#110615) (elastic#110617)

    ComputeResponse from old nodes may have a null value instead of an empty
    list for profiles.
    
    Relates elastic#110400 Closes elastic#110591
    dnhatn authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    41c662d View commit details
    Browse the repository at this point in the history
  2. Fix translate metrics without rate (elastic#110614) (elastic#110621)

    Currently, we incorrectly remove the `@timestamp` attribute from
    the EsRelation when translating metric aggregates.
    dnhatn authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c23f124 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ecf77bf View commit details
    Browse the repository at this point in the history
  4. [ML] Fixes processing chunked results in AWS Bedrock service (elastic…

    …#110592) (elastic#110624)
    
    Fixes error using the Amazon Bedrock service with a large 
    input that was chunked.
    davidkyle authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    0f98f30 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a90ca3f View commit details
    Browse the repository at this point in the history
  6. Fix flaky test elastic#109978 (elastic#110245) (elastic#110634)

    CCS tests could split the vectors over any number of shards. Through
    empirical testing, I determined this commits values work to provide the
    expected order, even if they are not all part of the same shard.
    
    quantization can have weird behaviors when there are uniform values,
    just like this test does.
    
    closes elastic#109978
    
    (cherry picked from commit 9dbe97b)
    benwtrent authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    b46807f View commit details
    Browse the repository at this point in the history
  7. ESQL: Fix Max not working with negative or zero doubles (elastic#110635)

    Partial backport from elastic#110586
    
    Just the Max fix and an extra test for it.
    ivancea authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    48cbdbf View commit details
    Browse the repository at this point in the history
  8. [DOCS] Fix typo: though -> through (elastic#110636) (elastic#110644)

    (cherry picked from commit 1b6d44b)
    
    Co-authored-by: David Kyle <[email protected]>
    lcawl and davidkyle authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    f4fdb30 View commit details
    Browse the repository at this point in the history
  9. Remove dep com.nimbusds:nimbus-jose-jwt from module org.elasticsearch…

    ….xcore (elastic#110565) (elastic#110642)
    
    The types from com.nimbusds.jwt are almost not needed in x-pack/plugin/core.
    They're only needed in module org.elasticsearch.security, x-pack:plugin:security project.
    albertzaharovits authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    2a6ad97 View commit details
    Browse the repository at this point in the history
  10. Remove Windows BWC pull request pipeline (elastic#110664) (elastic#11…

    …0670)
    
    We've already removed Windows-specific BWC jobs in our periodic
    pipelines. They shouldn't behave differently and are very prone to
    timeouts so let's just remove them from pull requests when the
    `test-windows` label is added.
    mark-vieira authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    74a7070 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    06cfe31 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    18aab96 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6833aa0 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    77392d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8fbe8e View commit details
    Browse the repository at this point in the history
  3. Backport: Updating ESSingleNodeTestCase to ensure that all free_conte…

    …xt actions have been consumed before tearDown (elastic#110685)
    pmpailis authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a3b06b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    58e7a30 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5fb62fe View commit details
    Browse the repository at this point in the history
  6. Ensure correct runtime Java is used when it matches build Java (elast…

    …ic#110730) (elastic#110731)
    
    Ensures that the value provided by the `runtime.java` system property,
    or `RUNTIME_JAVA_HOME` environment variable is respected, even when it
    is the same as the current `JAVA_HOME`. The previous logic had
    `isRuntimeJavaHomeSet` return `false` when the "requested" Java was the
    same as the current one. This isn't strictly correct, as the behavior
    when Java home is unset is to use the bundled JDK. The result was that
    passing `-Druntime.java=17` when the Gradle daemon was also using Java
    17 was to execute tests with the bundled JDK, which could be something
    entirely different.
    mark-vieira authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    548d7d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    eaa85b2 View commit details
    Browse the repository at this point in the history
  2. Aggs: Scripted metric allow list docs (elastic#109635) (elastic#110750)

    * Document new settings
    * Mention agg allow list in scripting security doc
    alex-spies authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e2ee114 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcbc230 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c683f6c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    110293c View commit details
    Browse the repository at this point in the history
  6. Fix issue with returning incomplete fragment for plain highlighter. (e…

    …lastic#110707) (elastic#110756)
    
    * Fix issue with noMatchSize for plain highlighter
    
    * Update docs/changelog/110707.yaml
    ioanatia authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    3ed5cd7 View commit details
    Browse the repository at this point in the history
  7. (Doc+) Include cluster.blocks.* default settings (elastic#110560) (el…

    …astic#110760)
    
    👋 howdy, team! Mini doc update to include default settings for `cluster.blocks.*` settings.
    stefnestor authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    525c5d2 View commit details
    Browse the repository at this point in the history
  8. [CI] Do not cache any es distros when creating ci images (elastic#110742

    ) (elastic#110745)
    
    (cherry picked from commit 816cedc)
    
    # Conflicts:
    #	qa/packaging/build.gradle
    breskeby authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    5bce26c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    94d030f View commit details
    Browse the repository at this point in the history
  10. [ESQL] Fix parsing of large magnitude negative numbers (elastic#110665)…

    … (elastic#110758)
    
    Resolves elastic#104323
    
    This fixes and adds tests for the first of the two bullets in the linked
    issue.  `ExpressionBuilder#visitIntegerValue` will attempt to parse a
    string as an integral value, and return a Literal of the appropriate
    type.  The actual parsing happens in `StringUtils#parseIntegral`.  That
    function has special handling for values that are larger than
    `Long.MAX_VALUE` where it attempts to turn them into unsigned longs, and
    if the number is still out of range, throw `InvalidArgumentException`.
    `ExpressionBuilder` catches that `InvalidArgumentException` and tries to
    parse a `double` instead.  If, on the other hand, the value is smaller
    than `Long.MIN_VALUE`, `StringUtils` never enters the unsigned long path
    and just calls `intValueExact`, which throws `ArithmeticException`.
    This PR solves the issue by catching that `ArithmeticException` and
    rethrowing it as an `InvalidArgumentException`.
    not-napoleon authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    0ee975b View commit details
    Browse the repository at this point in the history
  11. Search coordinator uses event.ingested in cluster state to do rewrites (

    elastic#110352) (elastic#110782)
    
    Min/max range for the event.ingested timestamp field (part of Elastic Common
    Schema) was added to IndexMetadata in cluster state for searchable snapshots
    in elastic#106252.
    
    This commit modifies the search coordinator to rewrite searches to MatchNone
    if the query searches a range of event.ingested that, from the min/max range
    in cluster state, is known to not overlap. This is the same behavior we currently
    have for the @timestamp field.
    quux00 authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    9092394 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. [Gradle] Replace deprecated build scan api usage (elastic#110783) (el…

    …astic#110812)
    
    We updated to use develocity plugin a while ago but still used
    a deprecated api in the build complete logic we have running on ci
    breskeby authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1955f16 View commit details
    Browse the repository at this point in the history
  2. [Inference API] Add Docs for Amazon Bedrock Support for the Inference…

    … API (elastic#110594) (elastic#110832)
    
    * Add Amazon Bedrock Inference API to docs
    
    * fix example errors
    
    * update semantic search tutorial; add changelog
    
    * fix typo
    
    * fix error; accept suggestions
    markjhoy authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    9a3e52d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7ee9a24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e66bb22 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    223647f View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. [DOCS] Add note about ML model 502 timeout when using `Create inferen…

    …ce API` (elastic#110835) (elastic#110865)
    
    * [DOCS] Add note about ml model 502 timeout
    
    * Add note to API ref
    leemthompo authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    10397de View commit details
    Browse the repository at this point in the history
  2. Do not write dangling indices in a test (elastic#110867) (elastic#110869

    )
    
    So that the only expected disk write at the point of the assertion is from the bulk request. And not from the asynchronous runnable of updateDanglingIndicesInfo().
    
    Fixes elastic#110551
    kingherc authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    0fbde2c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c12360 View commit details
    Browse the repository at this point in the history
  4. [Backport] 110824 to 8.15 (elastic#110843)

    * [ESQL] Count_distinct(_source) should return a 400 (elastic#110824)
    
    Resolves
    [elastic#105240](elastic#105240)
    
    Count_distinct doesn't work on source, but the type resolution was
    allowing that through.  This resulted in a 500 layer deeper in the
    aggregations code.  This PR fixes the 500 error by correctly failing
    during type resolution.
    
    * Even hand-backporting, I messed up the capabilities file
    
    * one more
    not-napoleon authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    d5085ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb36da8 View commit details
    Browse the repository at this point in the history
  6. Add runtime classpath as input to ThirdPartyAuditTask (elastic#110882) (

    elastic#110889)
    
    The runtime classpath of `ThirdPartyAuditTask` was not being tracked as
    an input which can cause issues with task output caching and build
    avoidance.
    mark-vieira authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    d07beca View commit details
    Browse the repository at this point in the history
  7. Fix native preallocate to actually run (elastic#110851)

    Native preallocation has several issues, introduced in a refactoring for
    8.13. First, the native allocator is never even tried, it always decides
    to fall back to the Java setLength method. Second, the stat method did
    not work correctly on all systems, see elastic#110807. This commit fixes
    native preallocate to properly execute on Linux, as well as MacOS. It
    also adds direct tests of preallocation.
    
    Note that this is meant as a bugfix for 8.15, so as minimal a change as
    possible is made here. The code has completely changed in main. Some
    things like the new test and fixes for macos will be forward ported to
    main, but I did not want to make larger changes in a bugfix.
    rjernst authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    07c35b1 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Backport bugfixes for union-types to 8.15 (elastic#110872)

    * Fix bug in union-types with type-casting in grouping key of STATS (elastic#110476)
    
    * Allow auto-generated type-cast fields in CsvTests
    
    This allows, for example, a csv-spec test result header like `client_ip::ip:ip`, which is generated with a command like `STATS count=count(*) BY client_ip::ip`
    
    It is also a small cleanup of the header parsing code, since it was using Strings.split() in an odd way.
    
    * Fix bug in union-types with type-casting in grouping key of STATS
    
    * Update docs/changelog/110476.yaml
    
    * Added casting_operator required capability
    
    Using the new `::` syntax requires disabling support for older versions in multi-cluster tests.
    
    * Added more tests for inline stats over long/datetime
    
    * Trying to fix the STATS...STATS bug
    
    This makes two changes:
    
    * Keeps the Alias in the aggs.aggregates from the grouping key, so that ReplaceStatsNestedExpressionWithEval still works
    * Adds explicit support for union-types conversion at grouping key loading in the ordinalGroupingOperatorFactory
    
    Neither fix the particular edge case, but do seem correct
    
    * Added EsqlCapability for this change
    
    So that mixed cluster tests don't fail these new queries.
    
    * Fix InsertFieldExtract for union types
    
    Union types require a FieldExtractExec to be performed first thing at
    the bottom of local physical plans.
    
    In queries like
    ```
      from testidx*
      | eval x = to_string(client_ip)
      | stats c = count(*) by x
      | keep c
    ```
    The `stats` has the grouping `x` but the aggregates get pruned to just
    `c`. In cases like this, we did not insert a FieldExtractExec, which
    this fixes.
    
    * Revert query that previously failed
    
    With Alex's fix, this query now passes.
    
    * Revert integration of union-types to ordinals aggregator
    
    This is because we have not found a test case that actually demonstrates this is necessary.
    
    * More tests that would fail without the latest fix
    
    * Correct code style
    
    * Fix failing case when aggregating on union-type with invalid grouping key
    
    * Capabilities restrictions on the new YML tests
    
    * Update docs/changelog/110476.yaml
    
    ---------
    
    Co-authored-by: Alexander Spies <[email protected]>
    
    * An alternative approach to supporting union-types on stats grouping field (elastic#110600)
    
    * Added union-types field extration to ordinals aggregation
    
    * Revert previous approach to getting union-types working in aggregations
    
    Where the grouping field is erased by later commands, like a subsequent stats.
    Instead we include union-type supports in the ordinals aggregation and mark the block loader as not supporting ordinals.
    
    * Fix union-types when aggregating on inline conversion function (elastic#110652)
    
    A query like:
    
    ```
    FROM sample_data, sample_data_str
    | STATS count=count(*) BY client_ip = TO_IP(client_ip)
    | SORT count DESC, client_ip ASC
    | KEEP count, client_ip
    ```
    
    Failed due to unresolved aggregates from the union-type in the grouping key
    
    * Fix for union-types for multiple columns with the same name (elastic#110793)
    
    * Make union types use unique attribute names
    
    * Cleanup leftover
    
    * Added failing test and final fix to EsRelation
    
    * Implement FieldAttribute.fieldName()
    
    * Fix tests
    
    * Refactor
    
    * Do not ignore union typed field's parent
    
    * Fix important typo
    
    D'oh
    
    * Mute unrelated (part of) test
    
    * Move capability to better location
    
    * Fix analyzer tests
    
    * multi-node tests with an earlier version of union-types (before this change) fail
    
    * Add capability to remaining failing tests
    
    * Remove variable
    
    * Add more complex test
    
    * Consolidate union type cleanup rules
    
    * Add 3 more required_capability's to make CI happy
    
    * Update caps for union type subfield yaml tests
    
    * Update docs/changelog/110793.yaml
    
    * Refined changelog text
    
    * Mute BWC for 8.15.0 for failing YAML tests
    
    * union_types_remove_fields for all 160_union_types tests
    
    The tests fail spordically, so safer to mute the entire suite.
    
    ---------
    
    Co-authored-by: Alexander Spies <[email protected]>
    
    ---------
    
    Co-authored-by: Alexander Spies <[email protected]>
    craigtaverner and alex-spies authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    e946fa8 View commit details
    Browse the repository at this point in the history
  2. (Doc+) Error "number of documents in the index can't exceed" (elastic…

    …#110449) (elastic#110910)
    
    * (Doc+) Error "number of documents in the index can't exceed"
    
    👋 howdy, team! 
    
    This adds resolution outline for error ... which induces ongoing, lowkey support
    ```
    Number of documents in the index can't exceed [2147483519]
    ```
    
    * feedback
    
    * feedback
    
    
    
    * feedback
    
    
    
    
    * feedback
    
    * feedback
    
    * Test change to address docs check failure
    
    * Revert test change
    
    * Test docs check
    
    ---------
    
    Co-authored-by: David Turner <[email protected]>
    Co-authored-by: Liam Thompson <[email protected]>
    3 people authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    016360a View commit details
    Browse the repository at this point in the history
  3. Union types documentation (elastic#110183) (elastic#110912)

    * Union types documentation
    
    * Try remove asciidoc error
    
    * Another attempt
    
    * Using literal block
    
    * Nicer formatting
    
    * Remove partintro
    
    * Small refinements
    
    * Edits for clarity and style
    
    ---------
    
    Co-authored-by: Marci W <[email protected]>
    craigtaverner and marciw authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    033c92e View commit details
    Browse the repository at this point in the history
  4. Improve MAX_DOCS troubleshooting docs (elastic#110920)

    Backports the docs changes from elastic#110911
    DaveCTurner authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    281d529 View commit details
    Browse the repository at this point in the history
  5. Add a cluster listener to fix missing cluster features after upgrade (e…

    …lastic#110710) (elastic#110924)
    
    Non-master-eligible nodes that are already part of a cluster when the master is upgraded don't re-join the cluster, so their cluster features never get updated. This adds a cluster listener that spots this occurring, and manually gets the node's features with a new transport action and updates the cluster state after the fact.
    thecoop authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    ef93c95 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1351cb4 View commit details
    Browse the repository at this point in the history
  7. Fix leak in collapsing search results (elastic#110927) (elastic#110939)

    Fixing this case for now by enforcing unpooled to plug the leak, this
    needs a little more work to function well pooled.
    original-brownbear authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    47cdc55 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    107eaa7 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    75fbb7d View commit details
    Browse the repository at this point in the history
  2. [8.15] ESQL: Validate unique plan attribute names (elastic#110488) (e…

    …lastic#110966)
    
    * ESQL: Validate unique plan attribute names (elastic#110488)
    
    * Enforce an invariant in our dependency checker so that logical plans never have duplicate output attribute names or ids.
    * Fix ROW to not produce columns with duplicate names.
    * Fix ResolveUnionTypes to not create multiple synthetic field attributes for the same union type.
    * Add tests for commands using the same column name more than once.
    * Update docs w.r.t. how commands behave if they are used with duplicate column names.
    
    (cherry picked from commit da53921)
    
    # Conflicts:
    #	x-pack/plugin/esql/qa/testFixtures/src/main/resources/stats.csv-spec
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/OptimizerRules.java
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Rename.java
    
    * Remove unrelated csv tests
    
    These slipped in via merge conflicts.
    alex-spies authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    1284a35 View commit details
    Browse the repository at this point in the history
  3. ESQL: Correctly compute Rename's output (elastic#110968) (elastic#110976

    )
    
    Calling Rename.output() previously returned wrong results.
    
    Since elastic#110488, instead it throws an IllegalStateException. That leads to test failures in the EsqlNodeSubclassTests because e.g. MvExpandExec and FieldExtractExec eagerly calls .output() on its child when it's being constructed, and the child can be a fragment containing a Rename.
    
    (cherry picked from commit 7df1b06)
    
    # Conflicts:
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Rename.java
    alex-spies authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c7ece9b View commit details
    Browse the repository at this point in the history
  4. Adding minimal docs around using index mode logs. (elastic#110932) (e…

    …lastic#110988)
    
    This adds minimal docs  around how to the new logs index mode for data
    streams (most common use case). This is minimal because logs index mode
    is still in tech preview. Minimal docs should allow any interested users
    to experiment with the new logs index mode.
    martijnvg authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ecbba72 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    41356cd View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    5b9639a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b22c12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d4c7dab View commit details
    Browse the repository at this point in the history
  4. [8.15] Inject host.name field without relying on (component) templa…

    …tes (elastic#110938) (elastic#111031)
    
    * Inject `host.name` field without relying on (component) templates (elastic#110938)
    
    We do not want to rely on templates or component templates to include
    the host.name field in indices using LogsDB. The host.name field is a field
    we sort on by default when LogsDB is used. As a result, we just inject it
    by default, the same way we do for the @timestamp field. This prevents
    sorting errors due to missing host.name field in mappings.
    
    The host.name is a keyword field and depending on the value of subobjects it will
    be mapped as a name keyword nested inside a host or as a flat host.name keyword.
    We also include ignore_above as we normally do for keywords in observability mappings.
    
    * Enable missing hostname test
    salvatore-campagna authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    858440d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40f5201 View commit details
    Browse the repository at this point in the history
  6. Update stack monitoring mapping for apm-server metrics (elastic#110568)…

    … (elastic#110687)
    
    Update stack monitoring template for .monitoring-beats-mb to include latest apm-server monitoring metrics. All stack monitoring apm-server metrics references in kibana should be intact. To avoid breaking stack monitoring UI, although beat.stats.apm_server.server.response.errors.concurrency is unused and is not present in apm-server stats, it is manually kept in the mapping.
    
    (cherry picked from commit 2fb6c80)
    carsonip authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    8f9d06b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b186ee9 View commit details
    Browse the repository at this point in the history
  8. Speed up collecting zero document string terms (elastic#110922) (elas…

    …tic#111057)
    
    Use segment ordinals when possible to collect zero document buckets
    iverase authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    5846c23 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Configuration menu
    Copy the full SHA
    ff9a8eb View commit details
    Browse the repository at this point in the history
  2. Correct force merge disk space requirements (elastic#111066) (elastic…

    …#111087)
    
    Correct force merge disk space requirements
    kingherc authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    f047c41 View commit details
    Browse the repository at this point in the history
  3. ESQL: Skip retrofitted tests (elastic#111019) (elastic#111088)

    (cherry picked from commit 548aea5)
    
    # Conflicts:
    #	muted-tests.yml
    #	x-pack/plugin/esql/qa/testFixtures/src/main/resources/stats.csv-spec
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java
    alex-spies authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    0e571fd View commit details
    Browse the repository at this point in the history
  4. Update Gradle wrapper to 8.9 (elastic#110109) (elastic#111095)

    (cherry picked from commit cb0ecb8)
    breskeby authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    130fc55 View commit details
    Browse the repository at this point in the history
  5. Skip preallocate tests on windows (elastic#110998) (elastic#111100)

    The preallocate tests assumed that preallocation was using the fallback implementation which calls setLength on Windows. However, that fallback only happens inside the SharedBytes class, so windows doesn't actually do anything when tryPreallocate is called. This commit skips the test on windows.
    
    closes elastic#110948
    rjernst authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    bdb1028 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    aecc6e2 View commit details
    Browse the repository at this point in the history
  7. Cleanup repository after adding accidental files to PR (elastic#111108)…

    … (elastic#111110)
    
    With elastic#110109 i accidentally added local files to the repo.
    This removes them again.
    breskeby authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    6318929 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2009bc7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0937b4e View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    fffdcbe View commit details
    Browse the repository at this point in the history
  2. Mute org.elasticsearch.multi_node.GlobalCheckpointSyncActionIT org.el…

    …asticsearch.multi_node.GlobalCheckpointSyncActionIT elastic#111124
    elasticsearchmachine committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    4a705e4 View commit details
    Browse the repository at this point in the history
  3. Add comma before charset parameter in WWW-Authenticate response hea…

    …der (elastic#110906) (elastic#111144)
    
    Add comma before charset parameter in WWW-Authenticate response header,
    according to RFC 7617.
    
    Co-authored-by: Philippus Baalman <[email protected]>
    albertzaharovits and Philippus authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    e551c74 View commit details
    Browse the repository at this point in the history
  4. Rework docs on logging levels (elastic#111143) (elastic#111150)

    Clarify that the default config is the recommended one, and that users
    should not normally enable `DEBUG` or `TRACE` logging without looking at
    the source code. Also reorders the information a bit for easier reading.
    DaveCTurner authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    572e039 View commit details
    Browse the repository at this point in the history
  5. Unmute DockerTests.test600Interrupt (elastic#111165) (elastic#111168)

    Investigating elastic#111132 and
    it seems this test has been muted on `main` for some time. Let's unmute,
    to see if this is specific to the 7.17 branch or not.
    mark-vieira authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    7cdc1b0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    75c1703 View commit details
    Browse the repository at this point in the history
  7. Revert "Mute org.elasticsearch.multi_node.RollupIT org.elasticsearch.…

    …multi_node.RollupIT elastic#111142"
    
    This reverts commit fffdcbe
    mark-vieira committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    a0d2d63 View commit details
    Browse the repository at this point in the history
  8. [8.15] Backport elastic#111117 and elastic#111162 (elastic#111170)

    * Allow runtime java to match adoptium jdks (elastic#111117)
    * Use bundled jdk version for immutable collections patch (elastic#111162)
    
    Co-authored-by: Ryan Ernst <[email protected]>
    joegallo and rjernst authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    4b5a510 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    1cc0311 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f1fd0d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ecfe738 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e6673f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c9af95c View commit details
    Browse the repository at this point in the history
  6. Make docker packaging test more resilient (elastic#111205) (elastic#1…

    …11210)
    
    Wrap check for container shutdown log message in an `assertBusy()` to
    deal with race conditions.
    
    Closes elastic#111132
    # Conflicts:
    #	muted-tests.yml
    mark-vieira authored Jul 23, 2024
    Configuration menu
    Copy the full SHA
    00cfa68 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b521b48 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Make ConfigurationTests.test20HostnameSubstitution more resilient (el…

    …astic#111216) (elastic#111218)
    
    This is an attempt to fix occasional test failures where asserting on a
    request response fails because the cluster has not finished
    initialization and cannot yet serve requests.
    
    Closes elastic#109660
    mark-vieira authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    8e6507b View commit details
    Browse the repository at this point in the history
  2. ESQL: Fix variable shadowing when pushing down past Project (elastic#…

    …108360) (elastic#111229)
    
    Fix bugs caused by pushing down Eval, Grok, Dissect and Enrich past Rename, where after the pushdown, the columns added shadowed the columns to be renamed.
    
    For Dissect and Grok, this enables naming their generated attributes to deviate from the names obtained from the dissect/grok patterns.
    
    (cherry picked from commit e8a01bb)
    
    # Conflicts:
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/OptimizerRules.java
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Dissect.java
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Enrich.java
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Eval.java
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/RegexExtract.java
    alex-spies authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    17c2161 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2018c46 View commit details
    Browse the repository at this point in the history
  4. Extend timeout of Krb5kDcContainer test container startup (elastic#11…

    …1198) (elastic#111200)
    
    - testcontainer startup timeout defaults to 60s and we see ocassionally this fixture
    taking longer to startup in certain environments
    
    fixes elastic#111140
    breskeby authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    d411594 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9321452 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. [ML] Extend lat_long documentation (elastic#111239) (elastic#111266)

    This PR adds the explanation of what "typical" means for the lat_long function.
    valeriy42 authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    8186f7a View commit details
    Browse the repository at this point in the history
  2. Update README.asciidoc (elastic#111244) (elastic#111269)

    adding text to match the positioning that Shay asked for on https://www.elastic.co/elasticsearch
    
    (cherry picked from commit 6621816)
    
    Co-authored-by: Serena Chou <[email protected]>
    leemthompo and serenachou authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    531f029 View commit details
    Browse the repository at this point in the history
  3. (Doc+) How to resolve shards >50GB (elastic#111254) (elastic#111289)

    * (Doc+) How to resolve shards >50GB
    
    ---------
    
    Co-authored-by: Ievgen Degtiarenko <[email protected]>
    stefnestor and idegtiarenko authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    a5e13e0 View commit details
    Browse the repository at this point in the history
  4. (Doc+) Link Gateway Settings to Full Restart (elastic#110902) (elasti…

    …c#111292)
    
    * (Doc+) Link Gateway Settings to Full Restart
    
    ---------
    
    Co-authored-by: shainaraskas <[email protected]>
    stefnestor and shainaraskas authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    c808d33 View commit details
    Browse the repository at this point in the history
  5. Update get snapshot status API doc (elastic#111240) (elastic#111295)

    Make it clear that this API should be used only if the detailed shard
    info is needed and only on ongoing snapshots. Remove incorrectly
    mentioned `STATE` value.
    pxsalehi authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    7d8fe4a View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    658a19e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c430bc8 View commit details
    Browse the repository at this point in the history
  3. [DOCS] Amends PUT inference API docs with model download info (elasti…

    …c#111278) (elastic#111332)
    
    * [DOCS] Amends PUT inference API docs with model download info.
    
    * [DOCS] Addresses feedback.
    szabosteve authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    ebbf17b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    21d418f View commit details
    Browse the repository at this point in the history
  5. [DOCS] Clarify that inference ID cannot match model ID (elastic#111310)…

    … (elastic#111334)
    
    * Clarify that inference ID cannot match model ID
    
    * Update service-elasticsearch.asciidoc
    
    Co-authored-by: Pius <[email protected]>
    szabosteve and ppf2 authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    c2b5ba7 View commit details
    Browse the repository at this point in the history
  6. [DOCS] Update retriever reranker options (elastic#111337) (elastic#11…

    …1349)
    
    * [DOCS] Update retriever reranker options
    
    * Fix typo
    leemthompo authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    691319e View commit details
    Browse the repository at this point in the history
  7. [DOCS] Clarifies semantic query behavior on sparse and dense vector f…

    …ields (elastic#111339) (elastic#111355)
    
    * [DOCS] Clarifies semantic query behavior on sparse and dense vector fields.
    
    * [DOCS] Adds a NOTE to the semantic query docs.
    szabosteve authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    00bfd02 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    836b4a5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    010be87 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    72cfb0b View commit details
    Browse the repository at this point in the history
  2. [DOCS] Additional reranking docs updates (elastic#111350) (elastic#11…

    …1404)
    
    * Simplify overview, specify available rerank options
    
    * Update links
    
    * Clarify eland-uploaded models is for hugging face
    leemthompo authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    6ee8747 View commit details
    Browse the repository at this point in the history
  3. [Inference API] Replace model_id with inference_id in inference API e…

    …xcept when stored (elastic#111366) (elastic#111417)
    
    * Replace model_id with inference_id in inference API except when storing ModelConfigs
    
    * Update docs/changelog/111366.yaml
    
    * replace missed literals in tests
    maxhniebergall authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    fc352bd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e004076 View commit details
    Browse the repository at this point in the history
  5. Remove 4096 bool query max limit from docs (elastic#111421) (elastic#…

    …111422)
    
    indices.query.bool.max_clause_count is set automatically and does
    not default to 4096 as before. This remove mentions of 4096
    from query documentations.
    
    Relates to PR#91811
    mayya-sharipova authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    d43021e View commit details
    Browse the repository at this point in the history
  6. Fix enrich policy runner exception handling on empty segments response (

    elastic#111290) (elastic#111371)
    
    * Fix enrich segment action listener exception logic
    
    * Update docs/changelog/111290.yaml
    
    Co-authored-by: Elastic Machine <[email protected]>
    jbaiera and elasticmachine authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    3f30e38 View commit details
    Browse the repository at this point in the history
  7. [8.15] Ensure vector similarity correctly limits inner_hits returned …

    …for nested kNN (elastic#111363) (elastic#111426)
    
    * Ensure vector similarity correctly limits inner_hits returned for nested kNN (elastic#111363)
    
    For nested kNN we support not only similarity thresholds, but also
    multi-passage search while retrieving more than one nearest passage.
    
    However, the inner_hits retrieved for the kNN search would ignore the
    restricted similarity. Meaning, the inner hits would return all
    passages, not just the ones within the limited similarity and this is
    confusing.
    
    closes: elastic#111093
    (cherry picked from commit 69c9697)
    
    * fixing for backport
    
    * adj for backport
    
    * fix compilation for tests
    benwtrent authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    155eee6 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Fix score count validation in reranker response (elastic#111424)

    * Fix score count validation in reranker response (backport)
    
    * Update docs/changelog/111424.yaml
    
    * Delete docs/changelog/111212.yaml
    
    * Use constructor that exists
    
    * Update 111424.yaml
    demjened authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    fd02519 View commit details
    Browse the repository at this point in the history
  2. [DOCS] Adds elser service to the inference tutorial (elastic#111406) (e…

    …lastic#111450)
    
    * [DOCS] Adds elser service to the inference tutorial.
    
    * [DOCS] Amends search intro text.
    
    * [DOCS] Addresses feedback.
    szabosteve authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    edfbd5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d0eb2a View commit details
    Browse the repository at this point in the history
  4. Add LTR License Check on PUT for Enterprise Licensing (elastic#111248) (

    elastic#111460)
    
    * add isLicenseAllowedForAction trained model config
    
    * fixup tests - trial is allowed
    
    * fix license tests
    
    * update tests for validate model static method
    
    * add validateModel test; update license check
    markjhoy authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    ade5b13 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    7d10307 View commit details
    Browse the repository at this point in the history
  2. [DOCS] Clarify copy_to behavior with strict dynamic mappings (elastic…

    …#111408) (elastic#111513)
    
    * [DOCS] Clarify copy_to behavior with strict dynamic mappings
    
    * Add id
    
    * De-verbosify
    
    * Delete pesky comma
    
    * More info about root and nest
    
    * Fixes per review, clarify non-recursive explanation
    
    * Skip tests for illustrative example
    
    * Fix example syntax
    
    * Fix typo
    leemthompo authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e84a0c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e8c713 View commit details
    Browse the repository at this point in the history
  4. Add release version to setCompatibleVersions task (elastic#111489) (e…

    …lastic#111514)
    
    The release version is used to determine if it actually needs to update the CCS version or not
    thecoop authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3693c80 View commit details
    Browse the repository at this point in the history
  5. Fix DocValuesCodecDuelTests (elastic#111503) (elastic#111515)

    We should not access any docValues attribute of the current document if 
    advance() is exhausted or if advanceExact() returns false.
    
    Closes elastic#111470
    dnhatn authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    1c02690 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    dde00b6 View commit details
    Browse the repository at this point in the history
  2. Improve security-crypto threadpool overflow handling (elastic#111369) (

    …elastic#111564)
    
    Prior to this PR, when the security-crypto threadpool queue overflows and rejects API key hashing submissions, a toxic value (specifically, a future which will never be completed) is added to the API key auth cache. This toxic cache value causes future authentication attempts with that API key to fail by timeout, because they will attempt to wait for the toxic future, until that value is invalidated and removed from the cache. Additionally, this will hold on to memory for each request that waits on the toxic future, even after the request has timed out.
    
    This PR adds a unit test to replicate this case, and adjusts the code which submits the key hashing task to the security-crypto threadpool to properly handle this point of failure by invalidating the cached future and notifying waiting handlers that the computation has failed.
    gwbrown authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    1a77947 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    4c7a92e View commit details
    Browse the repository at this point in the history
  2. Check the scale before converting xcontent long values, rather than t…

    …he absolute value (elastic#111538) (elastic#111583)
    
    Large numbers are rejected, small numbers rounded to zero (if rounding enabled)
    thecoop authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    8e47217 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a723ab8 View commit details
    Browse the repository at this point in the history
  4. Update paginate-search-results.asciidoc (elastic#111565) (elastic#111593

    )
    
    Modified broken link to the Python docs page
    woodywalton authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    d9aa554 View commit details
    Browse the repository at this point in the history
  5. Wait for cluster to be more ready in REST test (elastic#111606) (elas…

    …tic#111609)
    
    A freshly-started cluster processes a lot of setup tasks after it's
    considered ready by the test-clusters framework. This commit makes it
    also wait until the master queue is empty and there are no initializing
    or relocating shards before it starts to run the test.
    
    Closes elastic#111395
    DaveCTurner authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    8292a5f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    2db1a14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f189a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bca68bd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03933d6 View commit details
    Browse the repository at this point in the history
  5. Fix testElectionSchedulingAfterDiscoveryOutage (elastic#111629)

    We need to wait a little longer to deal with the case that closing the
    `PeerFinder` on the master triggers a disconnect, removing the third
    node from the cluster, and requiring another round of discovery to
    recover.
    
    Closes elastic#111155
    DaveCTurner committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    4a6bcd8 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Anthropic docs (elastic#110850) (elastic#111672)

    Co-authored-by: Jonathan Buttner <[email protected]>
    szabosteve and jonathan-buttner authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    8ca5741 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23e9a40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3926428 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c3519f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    15b3c16 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b81a713 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f9f1ee2 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Fix potential bug in EmbeddedProviderPlugin (elastic#111592) (elastic…

    …#111595)
    
    Ocassionally we see a LISTING.TXT not included in the jar. The cause
    seems a timing issue with sync task were target root folder is same
    folder as folder containing listing.txt.
    breskeby authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    1963b32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0b4e9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c5f95f View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Pass allow security manager flag in gradle test policy setup plugin (e…

    …lastic#111725) (elastic#111728)
    
    The `java.security.manager=allow` system property is required when
    running tests on newer Java versions with the security manager
    deprecated. As such, it should be set in our
    `GradleTestPolicySetupPlugin` so that it's done for external plugin
    authors.
    mark-vieira authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    0daac57 View commit details
    Browse the repository at this point in the history
  2. ESQL: Fix for overzealous validation in case of invalid mapped fields (

    …elastic#111475) (elastic#111735)
    
    Fix validation of fields mapped to different types in different indices and align with validation of fields of unsupported type.
    
    * Allow using multi-typed fields in KEEP and DROP, just like unsupported fields.
    * Explicitly invalidate using both these field kinds in RENAME.
    * Map both kinds of fields to UnsupportedAttribute to enforce consistency.
    * Consider convert functions containing valid multi-typed fields as resolved to avoid weird workarounds when resolving STATS.
    * Add a bunch of tests.
    
    (cherry picked from commit 585480f)
    
    # Conflicts:
    #	x-pack/plugin/esql/qa/testFixtures/src/main/resources/union_types.csv-spec
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java
    #	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Stats.java
    alex-spies authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    e091e16 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56fde8b View commit details
    Browse the repository at this point in the history
  4. [Inference API] Backport Delete...Action pipeline check to threadpool (

    …elastic#111646)
    
    * Move DeleteInferenceAction pipeline check to utility threadpool
    
    * Update docs/changelog/111646.yaml
    
    * Update docs/changelog/111646.yaml
    
    Co-authored-by: David Kyle <[email protected]>
    
    ---------
    
    Co-authored-by: David Kyle <[email protected]>
    maxhniebergall and davidkyle authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    14f45d4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b8a1db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e26356 View commit details
    Browse the repository at this point in the history
  7. Skip LOOKUP/INLINESTATS cases unless on snapshot (elastic#111755) (el…

    …astic#111759)
    
    Fix elastic#111753
    
    (cherry picked from commit f0d06ee)
    
    # Conflicts:
    #	muted-tests.yml
    #	x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java
    alex-spies authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    ba5ca2b View commit details
    Browse the repository at this point in the history
  8. Revert "Avoid bucket copies in Aggs (elastic#110261)" (elastic#111758) (

    elastic#111761)
    
    This reverts elastic#110261 which we can't land until elastic#111757 - we need to be
    sure that the `equals` implementations on subclasses of
    `InternalAggregations` is correct before this optimization is safe.
    
    Closes elastic#111679
    nik9000 authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    801e1b9 View commit details
    Browse the repository at this point in the history
  9. [8.15] Fix NullPointerException when doing knn search on empty index …

    …without dims (elastic#111756) (elastic#111763)
    
    * Fix NullPointerException when doing knn search on empty index without dims (elastic#111756)
    
    * Fix NullPointerException when doing knn search on empty index without dims
    
    * Update docs/changelog/111756.yaml
    
    * Fix typo in yaml test
    
    ---------
    
    Co-authored-by: Elastic Machine <[email protected]>
    (cherry picked from commit 4e26114)
    
    # Conflicts:
    #	rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/40_knn_search.yml
    
    * Update 40_knn_search.yml
    
    * Yaml
    kderusso authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    3a4af4b View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Speed up dense/sparse vector stats (elastic#111729) (elastic#111787)

    This change ensures that we don't try to compute stats on mappings that don't have dense or sparse vector fields. We don't need to go through all the fields on every segment, instead we can extract the vector fields upfront and limit the work to only indices that define these types.
    
    Closes elastic#111715
    jimczi authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    7a31a4d View commit details
    Browse the repository at this point in the history
  2. [8.15] Fix: Preallocate open ignored creation flag (elastic#111752)

    * Backport elastic#111294
    * Use Files.createDirectories
    ldematte authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    7f9c900 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8665090 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59d7d95 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ca684ca View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    eedf52c View commit details
    Browse the repository at this point in the history
  2. Update the intervals query docs (elastic#111808) (elastic#111822)

    Since apache/lucene-solr#620, intervals disjunctions are automatically rewritten to handle cases where minimizations can miss valid matches.
    This change updates the documentation to take this behaviour into account (users don't need to manually pull intervals disjunctions to the top anymore).
    jimczi authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    895aed0 View commit details
    Browse the repository at this point in the history
  3. Document manual steps in ILM delete phase (elastic#111734) (elastic#1…

    …11825)
    
    Spells out some cases in which ILM doesn't delete the underlying
    searchable snapshot and instructs users to delete them manually instead.
    
    Co-authored-by: shainaraskas <[email protected]>
    DaveCTurner and shainaraskas authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    3a1f7ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64841c2 View commit details
    Browse the repository at this point in the history