Skip to content

Add multi-project test for reindex cancellation#140505

Merged
szybia merged 3 commits intoelastic:mainfrom
szybia:reindex-cancel-multi-project-tests
Jan 13, 2026
Merged

Add multi-project test for reindex cancellation#140505
szybia merged 3 commits intoelastic:mainfrom
szybia:reindex-cancel-multi-project-tests

Conversation

@szybia
Copy link
Contributor

@szybia szybia commented Jan 12, 2026

  • follow-on from adding reindex cancel endpoint: Add disabled POST _reindex/{taskId}/_cancel API #139211
  • create new reindex-management/qa tests module
    • same pattern from other multi-project tests
    • disabled in release builds
  • add test that calls cancel from two projects: one that doesn't contain the reindex task and therefore fails, and one that does contain the reindex task and succeeds
    • DEFAULT is implicitly tested in existing IT
    • test fails if i remove the super.match() in previous PR that checks project-ownership in TransportTasksProjectAction

Closes elastic/elasticsearch-team#2086

@szybia szybia changed the title Add multi-project tests for reindex cancellation Add multi-project test for reindex cancellation Jan 12, 2026
@szybia szybia marked this pull request as ready for review January 12, 2026 14:21
@szybia szybia added >non-issue :Distributed/Reindex Issues relating to reindex that are not caused by issues further down labels Jan 12, 2026
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Indexing (obsolete) Meta label for Distributed Indexing team. Obsolete. Please do not use. label Jan 12, 2026
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing)

Copy link
Member

@PeteGillinElastic PeteGillinElastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM, with a couple of comments. The nits you can ignore if you like, but hopefully the suggested base class change will work and simplify this.

Copy link
Contributor

@samxbr samxbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

…i-project-tests

* upstream/main: (23 commits)
  Fix `testAckListenerReceivesNacksIfPublicationTimesOut` (elastic#140514)
  Reduce priority of clear-cache tasks (elastic#139685)
  Add docs and tests about `StreamOutput` to memory (elastic#140365)
  ES|QL - dense_vector support for COUNT, PRESENT, ABSENT aggregator functions (elastic#139914)
  Add release notes for v9.2.4 release (elastic#140487)
  Add release notes for v9.1.10 release (elastic#140488)
  Add conncectors release notes for 9.1.10, 9.2.4 (elastic#140499)
  Add parameter support in PromQL query durations (elastic#139873)
  Improve testing of STS credentials reloading (elastic#140114)
  Fix zstd native binary publishing script to support newer versions (elastic#140485)
  Add FlattenedFieldBinaryVsSortedSetDocValuesSyntheticSourceIT (elastic#140489)
  Store fallback match only text fields in binary doc values (elastic#140189)
  [DiskBBQ] Use the new merge executor for intra-merge parallelism (elastic#139942)
  ESQL: introduce support for mapping-unavailable fields (elastic#140463)
  Add ESNextOSQVectorsScorerTests (elastic#140436)
  Disable high cardinality tests on release builds (elastic#140503)
  ESQL: TRange timezone support (elastic#139911)
  Directly compressing `StreamOutput` (elastic#140502)
  ES|QL - fix dense vector enrich bug (elastic#139774)
  Use CrossProjectModeDecider in RemoteClusterService (elastic#140481)
  ...
@szybia szybia enabled auto-merge (squash) January 12, 2026 20:33
@szybia szybia merged commit d7a94b9 into elastic:main Jan 13, 2026
35 checks passed
@szybia szybia deleted the reindex-cancel-multi-project-tests branch January 13, 2026 12:29
eranweiss-elastic pushed a commit to eranweiss-elastic/elasticsearch that referenced this pull request Jan 15, 2026
spinscale pushed a commit to spinscale/elasticsearch that referenced this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Reindex Issues relating to reindex that are not caused by issues further down >non-issue Team:Distributed Indexing (obsolete) Meta label for Distributed Indexing team. Obsolete. Please do not use. v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants