Commit c758e7a
Fix race condition during ProcMesh stop (#1662)
Summary:
Pull Request resolved: #1662
Await `ProcMesh._proc_mesh` before flushing logging manager so that we can be sure the logging client has been spawned and avoid throwing an assertion error.
ghstack-source-id: 318971110
exported-using-ghexport
Reviewed By: amirafzali
Differential Revision: D85472096
fbshipit-source-id: 29e2d2a77bfb36ff0c05c85436db351a747a7d111 parent 1ee6502 commit c758e7a
File tree
2 files changed
+14
-4
lines changed- python
- monarch/_src/actor/v1
- tests
2 files changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
267 | 270 | | |
268 | 271 | | |
269 | 272 | | |
270 | | - | |
271 | | - | |
272 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
| |||
402 | 405 | | |
403 | 406 | | |
404 | 407 | | |
| 408 | + | |
405 | 409 | | |
406 | | - | |
| 410 | + | |
407 | 411 | | |
408 | 412 | | |
409 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
163 | 169 | | |
164 | 170 | | |
165 | 171 | | |
| |||
0 commit comments