This repository was archived by the owner on Jan 7, 2022. It is now read-only.
Commit 116cefb
Fixing LCM startup correctness after D17824825
Summary:
This fixes a critical issue that was caused by D17824825 (cc. Vijaykumar) where for a short period of time we can have a nullptr logsconfig in the updateble logs config. In a race, the RSMs will attempt to locate sequencers for internal logs before LogsConfigManager executes its `start()` call, causing a null deref (undefined behaviour)
ASAN catches this on AdminServer startup in dev builds. Not really sure why this isn't visible on our integration tests (possibly will appear on stress tests)
Reviewed By: mcrnic
Differential Revision: D17978655
fbshipit-source-id: cb384e75b18dd8c04f7afbdf9e601f51bc5f69e11 parent 96867f6 commit 116cefb
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
0 commit comments