Commit 3bd2ae2
fix(nebulagraph): retry network removal on active endpoints race
After container termination, Docker may not have fully disconnected
endpoints from the network yet. The moby client surfaces this as
"has active endpoints" on NetworkRemove. This race was latent with
the old docker/docker client but is now consistently triggered.
Retry up to 3 times with a 500ms delay when the error indicates
active endpoints remain.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d95b4e7 commit 3bd2ae2
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
122 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
123 | 135 | | |
| 136 | + | |
124 | 137 | | |
125 | 138 | | |
126 | 139 | | |
| |||
0 commit comments