Skip to content

[Backport 17.12] watchMiss fixes - #2052

Merged
fcrisciani merged 2 commits into
moby:bump_17.12from
fcrisciani:backport_17.12
Jan 23, 2018
Merged

[Backport 17.12] watchMiss fixes#2052
fcrisciani merged 2 commits into
moby:bump_17.12from
fcrisciani:backport_17.12

Conversation

@fcrisciani

Copy link
Copy Markdown
  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
Copy Markdown

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 FilesCoverage Δ
drivers/overlay/ov_network.go2.8% <25%> (-1.85%)⬇️
endpoint_cnt.go84.15% <0%> (-2.98%)⬇️
ipam/store.go70.58% <0%> (-2.95%)⬇️
cmd/proxy/tcp_proxy.go82.97% <0%> (-2.13%)⬇️
networkdb/cluster.go63.54% <0%> (-0.99%)⬇️
networkdb/delegate.go74.26% <0%> (-0.74%)⬇️
ipam/allocator.go71.34% <0%> (-0.59%)⬇️
iptables/iptables.go58.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.

@ddebroyddebroy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Sign up for freeto 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

@fcrisciani@codecov-io@ddebroy