Repository navigation
Commit ef7f363
fix(bootstrap): start all log pipes during WithActiveInstance (#10043)
WithActiveInstance is used during bootstrap (Job-based initdb, join,
restore) to temporarily start postgres. Previously it only started the
CSV log pipe, but there are three named pipes that need consumers:
postgres (raw) and postgres.csv are written by postgres, while
postgres.json is written by other components such as the archive/restore
command implementation.
Without the corresponding pipe readers running, the FIFO files are never
created. Postgres or other components then create regular files at those
paths, and log output from non-CSV pipes during bootstrap is lost.
Start all three log pipe readers (CSV, raw, JSON) matching the behavior
of runSubCommand.
Closes #10042
Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>1 parent 519f8f3 commit ef7f363
1 file changed
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
924 | | - | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
925 | 928 | | |
926 | | - | |
927 | 929 | | |
| 930 | + | |
928 | 931 | | |
929 | 932 | | |
930 | | - | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
931 | 953 | | |
932 | 954 | | |
933 | 955 | | |
934 | 956 | | |
935 | 957 | | |
936 | 958 | | |
| 959 | + | |
| 960 | + | |
937 | 961 | | |
938 | 962 | | |
939 | 963 | | |
| |||
0 commit comments