mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Do not bulk sync state which is getting deleted
Bulk sync should not sync state which is getting deleted Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
This commit is contained in:
parent
467ac53445
commit
6538faa880
1 changed files with 6 additions and 0 deletions
|
@ -397,6 +397,12 @@ func (nDB *NetworkDB) bulkSyncNode(networks []string, node string, unsolicited b
|
|||
return false
|
||||
}
|
||||
|
||||
// Do not bulk sync state which is in the
|
||||
// process of getting deleted.
|
||||
if entry.deleting {
|
||||
return false
|
||||
}
|
||||
|
||||
params := strings.Split(path[1:], "/")
|
||||
tEvent := TableEvent{
|
||||
Type: TableEventTypeCreate,
|
||||
|
|
Loading…
Add table
Reference in a new issue