Commit 8a812e5
Amit Kapila
Track replication origin progress for rollbacks.
Commit 1eb6d65 allowed to track replica origin replay progress for 2PC
but it was not complete. It misses to properly track the progress for
rollback prepared especially it missed updating the code for recovery.
Additionally, we need to allow tracking it on subscriber nodes where
wal_level might not be logical.
It is required to track decoding of 2PC which is committed in PG14
(a271a1b) and also nobody complained about this till now so not
backpatching it.
Author: Amit Kapila
Reviewed-by: Michael Paquier and Ajin Cherian
Discussion: https://postgr.es/m/CAA4eK1L-kHmMnSdrRW6UhRbCjR7cgh04c+6psY15qzT6ktcd+g@mail.gmail.com1 parent f9a0392 commit 8a812e5
2 files changed
+31
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2276 | 2276 | | |
2277 | 2277 | | |
2278 | 2278 | | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
2279 | 2287 | | |
2280 | 2288 | | |
2281 | 2289 | | |
| |||
2298 | 2306 | | |
2299 | 2307 | | |
2300 | 2308 | | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
2301 | 2314 | | |
2302 | 2315 | | |
2303 | 2316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5714 | 5714 | | |
5715 | 5715 | | |
5716 | 5716 | | |
5717 | | - | |
| 5717 | + | |
| 5718 | + | |
| 5719 | + | |
| 5720 | + | |
5718 | 5721 | | |
5719 | | - | |
5720 | | - | |
| 5722 | + | |
5721 | 5723 | | |
5722 | 5724 | | |
5723 | 5725 | | |
| |||
5923 | 5925 | | |
5924 | 5926 | | |
5925 | 5927 | | |
5926 | | - | |
| 5928 | + | |
| 5929 | + | |
5927 | 5930 | | |
5928 | 5931 | | |
5929 | 5932 | | |
| |||
5972 | 5975 | | |
5973 | 5976 | | |
5974 | 5977 | | |
| 5978 | + | |
| 5979 | + | |
| 5980 | + | |
| 5981 | + | |
| 5982 | + | |
| 5983 | + | |
| 5984 | + | |
5975 | 5985 | | |
5976 | 5986 | | |
5977 | 5987 | | |
| |||
6013 | 6023 | | |
6014 | 6024 | | |
6015 | 6025 | | |
6016 | | - | |
| 6026 | + | |
| 6027 | + | |
6017 | 6028 | | |
6018 | 6029 | | |
6019 | 6030 | | |
6020 | 6031 | | |
6021 | 6032 | | |
6022 | 6033 | | |
6023 | 6034 | | |
6024 | | - | |
| 6035 | + | |
| 6036 | + | |
6025 | 6037 | | |
6026 | 6038 | | |
6027 | 6039 | | |
| |||
0 commit comments