Merge pull request #43379 from evol262/overlay2-fix-deadlock

libnetwork/overlay:fix sandbox deadlock
This commit is contained in:
Sebastiaan van Stijn 2022-03-25 19:48:00 +01:00 committed by GitHub
commit ffd5d2665d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ func (n *network) joinSandbox(s *subnet, restore bool, incJoinCount bool) error
defer func() {
n.Unlock()
if doInitPeerDB {
n.driver.initSandboxPeerDB(n.id)
go n.driver.initSandboxPeerDB(n.id)
}
}()