Skip to content

Conversation

@skriss
Copy link
Member

@skriss skriss commented Oct 1, 2021

Removes code that walks the DAG looking for
a matching existing Service when adding a
new Service. This code is very inefficient
when the DAG is large and creates a
performance bottleneck. Some extra memory
may end up being used if duplicate Services
are created, but it's unlikely to be a
material issue in practice.

Closes #4058.

Signed-off-by: Steve Kriss [email protected]

Removes code that walks the DAG looking for
a matching existing Service when adding a
new Service. This code is very inefficient
when the DAG is large and creates a
performance bottleneck. Some extra memory
may end up being used if duplicate Services
are created, but it's unlikely to be a
material issue in practice.

Closes projectcontour#4058.

Signed-off-by: Steve Kriss <[email protected]>
@skriss skriss requested a review from a team as a code owner October 1, 2021 14:57
@skriss skriss requested review from tsaarni and youngnick and removed request for a team October 1, 2021 14:57
@skriss
Copy link
Member Author

skriss commented Oct 1, 2021

Codegen is failing due to #3996, should be ignored since the script is broken.

@codecov
Copy link

codecov bot commented Oct 1, 2021

Codecov Report

Merging #4066 (d4714fb) into release-1.18 (62baa7e) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff                @@
##           release-1.18    #4066      +/-   ##
================================================
- Coverage         77.68%   77.65%   -0.04%     
================================================
  Files               112      112              
  Lines              8999     8977      -22     
================================================
- Hits               6991     6971      -20     
+ Misses             1859     1857       -2     
  Partials            149      149              
Impacted Files Coverage Δ
internal/dag/accessors.go 94.39% <100.00%> (-0.96%) ⬇️
internal/sorter/sorter.go 98.80% <0.00%> (+1.19%) ⬆️

@stevesloka
Copy link
Member

@skriss codegen failed?

@skriss
Copy link
Member Author

skriss commented Oct 1, 2021

@skriss codegen failed?

See #4066 (comment)

@stevesloka
Copy link
Member

Oh right, forgot about that!

@skriss skriss merged commit 2aec13c into projectcontour:release-1.18 Oct 1, 2021
@skriss skriss deleted the 1.18-cherrypick-4061 branch October 8, 2021 21:35
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