Skip to content

Deprecate synchronized indexing controls - #3552

Merged
ScottDugas merged 9 commits into
FoundationDB:mainfrom
jjezra:deprecated_synchronized_session_controls
Aug 21, 2025
Merged

ScottDugas merged 9 commits into
FoundationDB:mainfrom
jjezra:deprecated_synchronized_session_controls

Conversation

@jjezra

@jjezra jjezra commented Aug 19, 2025 •

Copy link
Copy Markdown
Contributor

Deprecate OnlineIndexer.stopOngoingOnlineIndexBuilds and variants in favor of blockIndexBuilds

Resolves #3548

     As a preparation to replace synchronized runner use during online indexing, and since some of the functionality of these controls is now covered by blockIndexBuilds, unblockIndexBuilds,
     and queryIndexingStamps, deprecate the next OnlineIndexer functions:

         - stopOngoingOnlineIndexBuildsAsync
         - stopOngoingOnlineIndexBuilds
         - checkAnyOngoingOnlineIndexBuilds
         - checkAnyOngoingOnlineIndexBuildsAsync

       Resolves FoundationDB#3548
@jjezra
jjezra requested a review from ScottDugas August 19, 2025 21:27
@jjezra jjezra added the breaking change Changes that are not backwards compatible label Aug 19, 2025
@jjezra
jjezra marked this pull request as ready for review August 20, 2025 16:21
@jjezra
jjezra requested a review from ScottDugas August 20, 2025 20:19
* @see SynchronizedSessionRunner
* @param useSynchronizedSession use synchronize session if true, otherwise false
* @return this builder
* Deprecated This will soon be determined by the indexing session type

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This needs to go at the top of the javadoc.

@jjezra
jjezra requested a review from ScottDugas August 21, 2025 14:14
@ScottDugas
ScottDugas merged commit aaca6bb into FoundationDB:main Aug 21, 2025
@jjezra
jjezra deleted the deprecated_synchronized_session_controls branch August 21, 2025 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Changes that are not backwards compatible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate synchronized indexing controls

2 participants