-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gp_stat_progress_dtx_recovery for observability
dtx recovery may take time sometimes and will leave you in the dark with how far the recovery has progressed. `gp_stat_progress_dtx_recovery` is a view that shows progress of the current dtx recovery. There are 5 main phases (excluding initializing): 1. recovering commited distributed transactions 2. gathering in-doubt transactions 3. aborting in-doubt transactions 4. gathering in-doubt orphaned transactions 5. managing in-doubt orphaned transactions `gp_stat_progress_dtx_recovery` will be shown with column: phase recover_commited_dtx_total recover_commited_dtx_completed in_doubt_tx_total in_doubt_tx_in_progress in_doubt_tx_aborted The wording of "managing" is used instead of "aborting" for in-doubt orphaned transactions to make it slightly ambigious. There is a chance an in-doubt transaction is already an on going transaction and there will be no need to dispatch a dtx abort command. fix profile
- Loading branch information
Showing
12 changed files
with
251 additions
and
16 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
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
Oops, something went wrong.