[RFC PATCH v1] On-demand WAL replay: accept connections before crash recovery has applied the WAL
2 patchsets tracked - current t254136_2
v2t254136_2posted Oct 10, 11:08successwon't retrystale 45dpg 20
based733fcaf5 Oct 14, 12:49 on master
applyapplied Oct 14, 14:59
rebaselast tried Nov 12, 22:42 on 7fffb1143
Applying: Replay WAL on demand after a crash instead of before accepting connections Using index info to reconstruct a base tree... M src/backend/access/transam/xact.c M src/backend/access/transam/xlog.c M src/backend/access/transam/xlogrecovery.c M src/backend/postmaster/checkpointer.c M src/backend/postmaster/launch_backend.c M src/backend/storage/buffer/bufmgr.c M src/backend/storage/buffer/localbuf.c M src/backend/utils/activity/pgstat_io.c M src/backend/utils/misc/guc_parameters.dat M src/backend/utils/misc/guc_tables.c M src/tools/pgindent/typedefs.list Falling back to patching base and 3-way merge... Auto-merging src/tools/pgindent/typedefs.list Auto-merging src/backend/utils/misc/guc_tables.c Auto-merging src/backend/utils/misc/guc_parameters.dat Auto-merging src/backend/utils/activity/pgstat_io.c CONFLICT (content): Merge conflict in src/backend/utils/activity/pgstat_io.c Auto-merging src/backend/storage/buffer/localbuf.c Auto-merging src/backend/storage/buffer/bufmgr.c Auto-merging src/backend/postmaster/launch_backend.c Auto-merging src/backend/postmaster/checkpointer.c Auto-merging src/backend/access/transam/xlogrecovery.c Auto-merging src/backend/access/transam/xlog.c Auto-merging src/backend/access/transam/xact.c Patch failed at 0001 Replay WAL on demand after a crash instead of before accepting connections error: Failed to merge in the changes. hint: Use 'git am --show-current-patch=diff' to see the failed patch hint: When you have resolved this problem, run "git am --continue". hint: If you prefer to skip this patch, run "git am --skip" instead. hint: To restore the original branch and stop patching, run "git am --abort". hint: Disable this message with "git config advice.mergeConflict false"
conflicts on master: src/backend/utils/activity/pgstat_io.c
pushOct 14, 14:59 -> 9556b5233branchdiff vs base
| Result | Att | PG | Tests | Build / test | Image | When |
|---|---|---|---|---|---|---|
| success | 1 | 20 | 1046 / 1046 | 2m 55s / 5m 42s | docker run ... :t254136 | Oct 14, 15:10 |
run 38585393905executed 1046 - ccache 78 hit / 6546 miss - head 9556b5233 - digest sha256:ed0a97dacf0f42... - run 38585393905 | ||||||
| success | 1 | 20 | 1045 / 1045 | 2m 54s / 5m 32s | docker run ... @sha256:2976b4b... | Oct 13, 15:01 |
run 38416797794executed 1045 - ccache 78 hit / 6546 miss - head 52ac849fe - digest sha256:2976b4bc948015... - run 38416797794 | ||||||
| success | 1 | 20 | 1045 / 1045 | 2m 53s / 5m 29s | docker run ... @sha256:f268c33... | Oct 12, 14:54 |
run 38264958017executed 1045 - ccache 78 hit / 6546 miss - head 49cf07769 - digest sha256:f268c33f5808a3... - run 38264958017 | ||||||
| success | 1 | 20 | 1045 / 1045 | 1m 51s / 4m 25s | docker run ... @sha256:c0a69c0... | Oct 11, 11:19 |
run 38134660211executed 1045 - ccache 78 hit / 6546 miss - head 524a8c087 - digest sha256:c0a69c02eab933... - run 38134660211 | ||||||
| success | 1 | 20 | 1044 / 1044 | 2m 09s / 4m 49s | docker run ... @sha256:5c7fda6... | Oct 10, 11:19 |
run 38047477963executed 1044 - ccache 78 hit / 6546 miss - head 0f1fb7b2c - digest sha256:5c7fda6665071f... - run 38047477963 | ||||||
v1t254136_1posted Oct 10, 10:44successsupersededstale 49dpg 20
basef58ab18a9 Oct 10, 02:23 on master
applyapplied Oct 10, 10:47
rebaselast tried Oct 10, 10:47 on f58ab18a9
pushOct 10, 10:47 -> ac0a8ebd8branchdiff vs base
| Result | Att | PG | Tests | Build / test | Image | When |
|---|---|---|---|---|---|---|
| success | 1 | 20 | 1044 / 1044 | 1m 46s / 3m 54s | docker run ... @sha256:9e7ea01... | Oct 10, 10:55 |
run 38046136990executed 1044 - ccache 78 hit / 6546 miss - head ac0a8ebd8 - digest sha256:9e7ea0134878bd... - run 38046136990 | ||||||