KEMBAR78
Synchronize routes cache update by abelsromero · Pull Request #3408 · spring-cloud/spring-cloud-gateway · GitHub
Skip to content

Conversation

@abelsromero
Copy link
Contributor

Simply synchronize the process between the signals materiaze() and the actual saving in the routes cache to ensure data is consistent during concurrent updates.
The else block also requires synchronization to prevent routes from disappearing if a route with metadata is happening at the same time.

#3407

@abelsromero abelsromero changed the title Synchronize cache update Synchronize routes cache update May 27, 2024
@spencergibb spencergibb added this to the 4.1.4 milestone May 29, 2024
@spencergibb spencergibb merged commit fbbc8a6 into spring-cloud:main May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants