secret rotate should execute sequentially(fix TestRefreshSecret )#9055
secret rotate should execute sequentially(fix TestRefreshSecret )#9055rshriram merged 1 commit intoistio:masterfrom
Conversation
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
e53e94e to
2c5240a
Compare
|
CLAs look good, thanks! |
2c5240a to
9937862
Compare
Codecov Report
@@ Coverage Diff @@
## master #9055 +/- ##
=======================================
- Coverage 70% 69% -<1%
=======================================
Files 412 413 +1
Lines 37774 38153 +379
=======================================
+ Hits 26196 26244 +48
- Misses 10319 10654 +335
+ Partials 1259 1255 -4
Continue to review full report at Codecov.
|
|
/assign @diemtvu |
5bab818 to
4191856
Compare
4191856 to
7e24358
Compare
|
/test e2e-dashboard |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: quanjielin If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@rshriram for approval |
| log.Debug("Refresh job running") | ||
|
|
||
| secretMap := map[ConnKey]*model.SecretItem{} | ||
| wg := sync.WaitGroup{} |
There was a problem hiding this comment.
Original logic indeed has a potential issue: old rotate goroutine may not exit when new rotate takes place
|
/assign @rshriram |
* Add blog for zero configuration Istio The intent here is to show off what Istio provides out of the box, to attempt to counteract some of the reputation Istio has gotten for being over complicated/requiring too many CRDs. * fix links * Address comments * Apply suggestions from code review Co-authored-by: craigbox <craigbox@google.com> Co-authored-by: John Howard <howardjohn@google.com> Co-authored-by: craigbox <craigbox@google.com>
As we startup goroutines during rotate, so wait for all routines exit.
sync.Map.Range(func()...) should not call
sync.Map.Storein callback func.The racetest
TestRefreshSecretfailure maybe related to this.