-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-15353] Consistency checks testing hooks
Summary: This diff adds some testing hooks for consistency check testing. test_pending will shutdown YBA immediately after the update is applied to the DB, to test handling of pending tasks on YBA restart ysql_timeout_secs is a flag that allows configuration of ysql timeout for consistency check commands (default is 30s) update_delay_secs allows you to introduce a sleep after the DB commit occurs, simulating a slow/unreliable network connection. During this time YBA can be interrupted or ysql timeout may occur. Also adds some minor improvements around the consistency_check table (renamed to yba_consistency_check) and added yw_uuid and yw_ip columns that may be useful going forward. Only the yw_uuid is populated for now. Test Plan: consistency check with flags enabled, ensure failures are triggered regular task execution not impacted Reviewers: sanketh, dshubin, nsingh, anijhawan Reviewed By: sanketh, nsingh Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D37950
- Loading branch information
Showing
40 changed files
with
398 additions
and
198 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
Oops, something went wrong.