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

[Transform] Halt Indexer on Stop/Abort API #107792

Merged
merged 3 commits into from
Apr 25, 2024
Merged

Commits on Apr 23, 2024

  1. [Transform] Halt Indexer on Stop/Abort API

    When `_stop?wait_for_checkpoint=false` and
    `_stop?force=true&wait_for_checkpoint=false` are called, there is a
    small chance that the Transform Indexer thread will run if it is
    scheduled before the stop API is called but before the threadpool runs
    the executable. The `onStart` method now checks the state of the
    indexer before executing. This will mitigate errors caused by reading
    from Transform internal indices while the Task is stopped or deleted.
    
    This does not impact when `wait_for_checkpoint=true`, because the
    indexer state will remain `INDEXING` until the checkpoint is finished.
    
    Relate elastic#107266
    prwhelan committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    d776c31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a108523 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Separate tests

    prwhelan committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    0fa95ab View commit details
    Browse the repository at this point in the history