Skip to content

ATLAS-5070: Startup failure due to NPE in IndexRecoveryService when atlas.index.recovery.start.time is unset - #400

Merged
rkundam merged 1 commit into
masterfrom
master-atlas-5070
Jul 16, 2025
Merged

ATLAS-5070: Startup failure due to NPE in IndexRecoveryService when atlas.index.recovery.start.time is unset#400
rkundam merged 1 commit into
masterfrom
master-atlas-5070

Conversation

@rkundam

@rkundam rkundam commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This pull request introduces a null check for the atlas.index.recovery.start.time configuration value, which is explicitly used to trigger index recovery from a specific start time.

If the configuration is not set, the recovery logic is safely skipped without throwing a NullPointerException.
This change ensures that the system can start up cleanly even when atlas.index.recovery.start.time is not configured.

How was this patch tested?

Tested locally.

@rkundam
rkundam requested review from mneethiraj and pinal-shah July 15, 2025 05:58
@rkundam

rkundam commented Jul 16, 2025

Copy link
Copy Markdown
Contributor Author

@rkundam
rkundam merged commit 66a8e53 into master Jul 16, 2025
2 of 3 checks passed
@rkundam
rkundam deleted the master-atlas-5070 branch July 16, 2025 16:51
mneethiraj pushed a commit that referenced this pull request Jul 16, 2025
…tlas.index.recovery.start.time is unset (#400)

(cherry picked from commit 66a8e53)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants