-
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.
[BACKPORT pg15-cherrypicks] all: Bulk port from master - 71
Summary: 50931bf [#23273] yugabyted: Fix `yugabyted configure_read_replica` commands. 64e1bf8 [#23278] CDCSDK: Handle non-eligible tables cleanup with drop table while loading CDC stream ce80f7a [#13358] YSQL: Refactor DDL Atomicity Stress Test Excluded: 6d40d27 [#23407] YSQL: clean up compound BNL logic 5cb74a7 [PLAT-14164] New Alert for clock drift f39c76c [PLAT-14800] Fix yb.allow_db_version_more_than_yba_version being insufficient for YBA/DB version checks a42549e [#23377] DocDB: Implement the way to apply vector index updates to DocDB 3923ec5 [PLAT-14749][Platform]Add a warning message to image upgrade dialog 709cd92 [PLAT-14848] postgres.service file did not have RestartSec filled out da10672 [#23069] docdb: implemented per-iterator readahead for sequential reads f439c8a [PLAT-14852]: Do not raise error when JWT_JWKS_URL has valid value and JWT has empty keyset Test Plan: Jenkins: rebase: pg15-cherrypicks Reviewers: jason, tfoucher Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D37095
- Loading branch information
1 parent
5b4f655
commit 72e6660
Showing
46 changed files
with
1,766 additions
and
466 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
21 changes: 21 additions & 0 deletions
21
managed/src/main/resources/db/migration/default_/postgres/V366__Alert_Clock_Drift.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-- Copyright (c) YugaByte, Inc. | ||
|
||
-- Clock skew alert | ||
insert into alert_configuration | ||
(uuid, customer_uuid, name, description, create_time, target_type, target, thresholds, threshold_unit, template, active, default_destination) | ||
select | ||
gen_random_uuid(), | ||
uuid, | ||
'High clock drift', | ||
'Local clock on the node has drift too far from the actual time.', | ||
current_timestamp, | ||
'UNIVERSE', | ||
'{"all":true}', | ||
'{"WARNING":{"condition":"GREATER_THAN","threshold":200.0},"SEVERE":{"condition":"GREATER_THAN", "threshold":400.0}}', | ||
'MILLISECOND', | ||
'NODE_CLOCK_DRIFT', | ||
true, | ||
true | ||
from customer; | ||
|
||
select create_universe_alert_definitions('High clock drift'); |
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.