Skip to content

Move ClientScrollablePaginatedHitSource into Reindex Module#144100

Merged
elasticsearchmachine merged 9 commits intoelastic:mainfrom
joshua-adams-1:reindexing-move-paginated-hit-source
Mar 31, 2026
Merged

Move ClientScrollablePaginatedHitSource into Reindex Module#144100
elasticsearchmachine merged 9 commits intoelastic:mainfrom
joshua-adams-1:reindexing-move-paginated-hit-source

Conversation

@joshua-adams-1
Copy link
Copy Markdown
Contributor

@joshua-adams-1 joshua-adams-1 commented Mar 12, 2026

Moves PaginatedHitSource and it's implementation ClientScrollablePaginatedHitSource from server/index/reindex into modules/reindex to be alongside it's remote implementation. This also aligns these classes with their tests.

PaginatedHitSource.SearchFailure is also extracted into it's own class and kept in server/index/reindex since it is depended upon by workflows other than reindexing, but is renamed to PaginatedSearchFailure to be less ambiguous.

Relates: https://github.com/elastic/elasticsearch-team/issues/2088

Moves ClientScrollablePaginatedHitSource from server/index/reindex into
modules/reindex to be alongside classes it uses, and to be in the same
package as its tests
@joshua-adams-1 joshua-adams-1 self-assigned this Mar 12, 2026
@joshua-adams-1 joshua-adams-1 added >non-issue :Distributed/Reindex Issues relating to reindex that are not caused by issues further down labels Mar 12, 2026
@joshua-adams-1 joshua-adams-1 marked this pull request as ready for review March 23, 2026 15:25
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Mar 23, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor

@szybia szybia left a comment

Choose a reason for hiding this comment

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

lgtm, my only concern is breaking serialization and i don't see anything here that should

curious what the failing tests are though 🤔

@joshua-adams-1 joshua-adams-1 added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Mar 31, 2026
@elasticsearchmachine elasticsearchmachine merged commit 28c8e93 into elastic:main Mar 31, 2026
37 checks passed
@joshua-adams-1 joshua-adams-1 deleted the reindexing-move-paginated-hit-source branch March 31, 2026 10:58
szybia added a commit to szybia/elasticsearch that referenced this pull request Mar 31, 2026
…rics

* upstream/main: (428 commits)
  ESQL: DS: Add inference/RERANK tests (elastic#145229)
  Unmute MMR logical plan test (elastic#145311)
  Do not attempt marking store as corrupted if the check is rejected due to shutdown (elastic#145209)
  feat(tsdb): add pipeline runtime and rename stage interfaces (elastic#145175)
  Fix UnresolvedException on PromQL by(step) grouping (elastic#145307)
  ES|QL: Optimize MMR by reducing cache size and lookup (elastic#145014)
  Prometheus labels/series APIs: support multiple match[] selectors (elastic#145298)
  Move ClientScrollablePaginatedHitSource into Reindex Module (elastic#144100)
  mute test class for elastic#145277
  CPS mode for ViewResolver (elastic#145219)
  [ESQL] Disables GroupedTopNBenchmark temporarily (elastic#145124)
  Make exponential_histogram the default histogram type for HTTP OTLP endpoint (elastic#145065)
  More tests requiring an explicit confidence interval (elastic#145232)
  ES|QL: Adding `USER_AGENT` command (elastic#144384)
  ESQL: enable Generative IT after more fixes (elastic#145112)
  Rework FieldMapper parameter tests to not use merge builders (elastic#145213)
  [ESQL] Fix ORC type support gaps (elastic#145074)
  [Test] Unmute FollowingEngineTests.testProcessOnceOnPrimary (elastic#145192)
  Add PrometheusSeriesRestAction for /_prometheus/api/v1/series endpoint (elastic#144494)
  Prometheus labels API: add rest action (elastic#144952)
  ...
ncordon pushed a commit to ncordon/elasticsearch that referenced this pull request Apr 1, 2026
…144100)

Moves `PaginatedHitSource` and it's implementation
`ClientScrollablePaginatedHitSource` from `server/index/reindex` into
`modules/reindex` to be alongside it's remote implementation. This also
aligns these classes with their tests.

`PaginatedHitSource.SearchFailure` is also extracted into it's own class
and kept in `server/index/reindex` since it is depended upon by
workflows other than reindexing, but is renamed to
`PaginatedSearchFailure` to be less ambiguous. 

Relates: elastic/elasticsearch-team#2088
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Distributed/Reindex Issues relating to reindex that are not caused by issues further down >non-issue Team:Distributed Meta label for distributed team. v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants