Skip to content

Fix initial Eureka instance replication delay - #4588

Open
yashdotdev13 wants to merge 1 commit into
spring-cloud:mainfrom
yashdotdev13:fix/4109-eureka-initial-replication-delay
Open

Fix initial Eureka instance replication delay#4588
yashdotdev13 wants to merge 1 commit into
spring-cloud:mainfrom
yashdotdev13:fix/4109-eureka-initial-replication-delay

Conversation

@yashdotdev13

Copy link
Copy Markdown

Overview

Fixes an issue where the initial Eureka instance status update can trigger an
on-demand registration before the configured initial instance info replication
delay has elapsed.

Changes

  • Set the initial Eureka instance status before initializing the Eureka client.
  • Prevent the initial status change from triggering an immediate on-demand
    registration.
  • Added a regression test to verify that the initial status is set before
    Eureka client initialization.

Testing

  • ./mvnw.cmd -pl spring-cloud-netflix-eureka-client -Dtest=EurekaServiceRegistryTests test
  • ./mvnw.cmd -pl spring-cloud-netflix-eureka-client test

Results:

  • EurekaServiceRegistryTests: 6/6 passed
  • Eureka client module: 211/211 passed
  • Checkstyle: 0 violations

Related Issue

Fixes #4109

Signed-off-by: 98001yash <yashchauhan.gaya@gmail.com>
@yashdotdev13
yashdotdev13 force-pushed the fix/4109-eureka-initial-replication-delay branch from dea8624 to ee598b5 Compare August 19, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eureka.client.initial-instance-info-replication-interval-seconds with initial delay can not take effect bug

2 participants