diff options
author | Amit Kapila <akapila@postgresql.org> | 2023-01-07 12:17:14 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2023-01-07 12:17:14 +0530 |
commit | 2b6df05461cb540d8f103dfe55f38efc09b4189b (patch) | |
tree | 880b3bbe6e888bc8a15b999adfc0e9764a05050e /contrib/postgres_fdw/postgres_fdw.c | |
parent | a14a5832923e10ef14a74864c94358d5bc8720e4 (diff) | |
download | postgresql-2b6df05461cb540d8f103dfe55f38efc09b4189b.tar.gz postgresql-2b6df05461cb540d8f103dfe55f38efc09b4189b.zip |
Remove the streaming files for incomplete xacts after restart.
After restart, we try to stream the changes for large transactions that
were not sent before server crash and restart. However, we forget to send
the abort message for such transactions. This leads to spurious streaming
files on the subscriber which won't be cleaned till the apply worker or
the subscriber server restarts.
Reported-by: Dilip Kumar
Author: Hou Zhijie
Reviewed-by: Dilip Kumar and Amit Kapila
Backpatch-through: 14
Discussion: https://postgr.es/m/OS0PR01MB5716A773F46768A1B75BE24394FB9@OS0PR01MB5716.jpnprd01.prod.outlook.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions