Skip to content

Conversation

@fcrisciani
Copy link

  1. (Remove watchMiss for swarm mode #2047) removes watchMiss for swarm mode
  2. (Fix watchMiss thread context #2051) set the proper thread context for watchMiss for swarm classic cases. The upgrade of the netlink library introduced further operations that requires the watchMiss to be set in the proper namespace.

Flavio Crisciani added 2 commits January 10, 2018 13:52
Swarm mode does not really have anymore a use for the watchMiss.
Peer entries are configured at configuration time.
If the gcthresh denies the insertion the peerAdd will fail.

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
(cherry picked from commit 3d9a808)
The netlink deserialize is fetching information from the link.
This require the go routine to be in the correct namespace to
succeed

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
(cherry picked from commit 1717eee)
@codecov-io
Copy link

Codecov Report

Merging #2052 into bump_17.12 will decrease coverage by 0.11%.
The diff coverage is 25%.

Impacted file tree graph

@@              Coverage Diff               @@
##           bump_17.12    #2052      +/-   ##
==============================================
- Coverage       40.18%   40.07%   -0.12%     
==============================================
  Files             138      138              
  Lines           22135    22139       +4     
==============================================
- Hits             8895     8872      -23     
- Misses          11935    11963      +28     
+ Partials         1305     1304       -1
Impacted Files Coverage Δ
drivers/overlay/ov_network.go 2.8% <25%> (-1.85%) ⬇️
endpoint_cnt.go 84.15% <0%> (-2.98%) ⬇️
ipam/store.go 70.58% <0%> (-2.95%) ⬇️
cmd/proxy/tcp_proxy.go 82.97% <0%> (-2.13%) ⬇️
networkdb/cluster.go 63.54% <0%> (-0.99%) ⬇️
networkdb/delegate.go 74.26% <0%> (-0.74%) ⬇️
ipam/allocator.go 71.34% <0%> (-0.59%) ⬇️
iptables/iptables.go 58.51% <0%> (+0.7%) ⬆️

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 7dd202d...a066a78. Read the comment docs.

Copy link
Contributor

@ddebroy ddebroy left a comment

Choose a reason for hiding this comment

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

LGTM

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