-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: persists file handling should be at PROCESS_POSTUPDATE phase (#274)
This PR fixes the following unexpected behavior due to persist file handling is processed in wrong phase(should be in PROCESS_POSTUPDATE, but in APPLY_UPDATE): 1. all files are processed, but no progress is made and phase is still stuck at APPLY_UPDATE phase, 2. if persist file handling also copying the swapfile, APPLY_UPDATE will be stuck with even longer time. This PR fixes the above issue by move persist file handling out of create_standby package, and implements it in PROCESS_POSTUPDATE phase.
- Loading branch information
1 parent
33847e7
commit 1aa06ed
Showing
4 changed files
with
40 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters