Commit 34b086e
committed
osd: add watch ping timeout count in osd
For example, rbd send a watch ping to the header object
every 5 seconds to keep watch, if the primary OSD is unable
to receive the watch ping of the header object due to rbd
network interruption, this means that rbd's I/O has already been
hang. This way, we can quickly detect disconnection rbds on the osd,
and reflected in metrics.
Signed-off-by: Yite Gu <[email protected]>1 parent 08d35a8 commit 34b086e
File tree
3 files changed
+10
-0
lines changed- src/osd
3 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11826 | 11826 | | |
11827 | 11827 | | |
11828 | 11828 | | |
| 11829 | + | |
| 11830 | + | |
| 11831 | + | |
| 11832 | + | |
11829 | 11833 | | |
11830 | 11834 | | |
11831 | 11835 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
340 | 344 | | |
341 | 345 | | |
342 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| |||
0 commit comments