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

[mesh]: Support clean external registry & add traffic controller spec status #324

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

xxx7xxxx
Copy link
Contributor

@xxx7xxxx xxx7xxxx commented Oct 29, 2021

Verified by the demo.

Copy link

@megaeasex megaeasex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[TASK:easegress-pr-test SUCCESS]megaease/easegress Pull Request 324 Deploy Test Success

@codecov-commenter
Copy link

codecov-commenter commented Oct 29, 2021

Codecov Report

Merging #324 (d8aa60c) into main (84121d8) will increase coverage by 0.24%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #324      +/-   ##
==========================================
+ Coverage   80.23%   80.48%   +0.24%     
==========================================
  Files          53       54       +1     
  Lines        6098     6217     +119     
==========================================
+ Hits         4893     5004     +111     
- Misses        943      947       +4     
- Partials      262      266       +4     
Impacted Files Coverage Δ
pkg/object/meshcontroller/spec/spec.go 86.95% <100.00%> (ø)
pkg/filter/proxy/pool.go 82.65% <0.00%> (-1.37%) ⬇️
pkg/filter/proxy/request.go 85.71% <0.00%> (ø)
pkg/filter/circuitbreaker/circuitbreaker.go 92.35% <0.00%> (ø)
pkg/common/time.go
pkg/common/time_unix.go
pkg/util/timetool/distributedtimer.go 100.00% <0.00%> (ø)
pkg/util/fasttime/fasttime_unix.go 100.00% <0.00%> (ø)
pkg/util/fasttime/fasttime.go 94.73% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84121d8...d8aa60c. Read the comment docs.

rs.service = service.New(superSpec)

if spec.CleanExternalRegistry {
go rs.cleanExternalRegistry()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is possible that this goroutine executes after rs.run and rs.serviceInstanceSpecsFunc, resulting in some newly added records being deleted, will it be a problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, you can see line 97 and 108, we ignore the entries with externalRegistryName if they have.

@localvar localvar merged commit f9b9942 into easegress-io:main Nov 1, 2021
@xxx7xxxx xxx7xxxx deleted the mesh branch November 1, 2021 07:15
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.

5 participants