Skip to content

Conversation

@zhiyuanliang-ms
Copy link
Member

Bug fix

Sentinel key refresh scenario:

  1. When refresh() is called, provider will first send a watch request to check whether sentinel key(i.e. watched setting) is changed
  2. If sentinel key is changed, it will trigger a refresh-all, the provider will reload all configuration settings

The previous bug is that if the last refresh operation failed in step 2, the following refresh call will not continue to reload keyvalues until sentinel key is changed again.

@zhiyuanliang-ms zhiyuanliang-ms merged commit 14f96fc into main Sep 10, 2025
6 checks passed
@zhiyuanliang-ms zhiyuanliang-ms deleted the zhiyuanliang/fix-refresh-bug branch September 10, 2025 02:39
zhiyuanliang-ms added a commit that referenced this pull request Sep 10, 2025
* Merge pull request #226 from Azure/dependabot/npm_and_yarn/vite-7.1.5

Bump vite from 7.1.4 to 7.1.5

* Bug fix: Provider should continue to refresh when previous refresh operation didn't complete (#225)

* fix refresh all failure bug

* add testcase

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

3 participants