Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #gh-4094. #4308

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix #gh-4094. #4308

wants to merge 2 commits into from

Commits on Aug 24, 2024

  1. Implement semaphore synchronization to prevent concurrent modificatio…

    …ns of InstanceStatus
    
    Implement semaphore synchronization to prevent concurrent modifications of InstanceStatus
    
    - Added a Semaphore to control concurrent access to InstanceStatus modifications.
    - Modified EurekaClientConfigurationRefresher to acquire the semaphore before performing deregister and register operations.
    - Modified DiscoveryClientConfiguration to acquire the semaphore before performing refreshInstanceInfo operations.
    - Ensured the semaphore is released in a finally block to handle exceptions properly.
    
    This change addresses the issue of concurrent modifications of InstanceStatus, ensuring that only one thread can modify the status at a time.
    bazzop authored Aug 24, 2024
    Configuration menu
    Copy the full SHA
    b7d39e6 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. fix sequencial

    bazzop authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    c860daa View commit details
    Browse the repository at this point in the history