Commit 7fe1e42
committed
objecter: request OSDMap after idle ticks
If the objecter goes two ticks without receiving an OSDMap, it may
fall behind on incremental updates. Call `maybe_request_osdmap()` in
the tick handler whenever we detect that two consecutive ticks have
elapsed without a fresh map, so we minimize the time needed to catch
up on missed changes.
Fixes: https://tracker.ceph.com/issues/71261
Signed-off-by: Nitzan Mordechai <[email protected]>1 parent a6174b7 commit 7fe1e42
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2052 | 2052 | | |
2053 | 2053 | | |
2054 | 2054 | | |
| 2055 | + | |
2055 | 2056 | | |
2056 | 2057 | | |
2057 | 2058 | | |
| |||
2238 | 2239 | | |
2239 | 2240 | | |
2240 | 2241 | | |
| 2242 | + | |
2241 | 2243 | | |
2242 | 2244 | | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
2243 | 2256 | | |
2244 | 2257 | | |
2245 | 2258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2519 | 2519 | | |
2520 | 2520 | | |
2521 | 2521 | | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
2522 | 2525 | | |
2523 | 2526 | | |
2524 | 2527 | | |
| |||
0 commit comments