Commit 841517e
authored
fix(pageserver): do not increase basebackup err counter when reconnect (neondatabase#12016)
## Problem
We see unexpected basebackup error alerts in the alert channel.
neondatabase#11778 only fixed the alerts
for shutdown errors. However, another path is that tenant shutting down
while waiting LSN -> WaitLsnError::BadState -> QueryError::Reconnect.
Therefore, the reconnect error should also be discarded from the
ok/error counter.
## Summary of changes
Do not increase ok/err counter for reconnect errors.
---------
Signed-off-by: Alex Chi Z <[email protected]>1 parent 1369d73 commit 841517e
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2234 | 2234 | | |
2235 | 2235 | | |
2236 | 2236 | | |
2237 | | - | |
2238 | | - | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2239 | 2241 | | |
2240 | 2242 | | |
2241 | 2243 | | |
| |||
0 commit comments