forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1bb6924
committed
Adjust total size in pg_basebackup progress report when reality changes
When streaming including WAL, the size estimate will always be incorrect,since we don't know how much WAL is included. To make sure the output doesn'tlook completely unreasonable, this patch increases the total size whenever wego past the estimate, to make sure we never go above 100%.1 parent2877c67 commit1bb6924
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
210 | 217 |
| |
211 | 218 |
| |
| 219 | + | |
| 220 | + | |
212 | 221 |
| |
213 | 222 |
| |
214 | 223 |
| |
|
0 commit comments
Comments
(0)