From 344bc7670d15200c939e8a28995abd4420596347 Mon Sep 17 00:00:00 2001 From: vkumar Date: Fri, 20 Sep 2024 15:46:15 +0000 Subject: [PATCH] Revert "[PLAT-15379][Fix PLAT-12510] Option to use UTC when dealing with cron exp. in backup schedule" Summary: This reverts commit b53ed3a5bce1da46233037c6cec1d48fc6310cbd. Test Plan: No tests Reviewers: #yba-api-review!, skurapati Reviewed By: skurapati Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D38275 --- managed/RUNTIME-FLAGS.md | 1 - .../src/main/java/api/v2/handlers/ContinuousBackupHandler.java | 1 - 2 files changed, 2 deletions(-) diff --git a/managed/RUNTIME-FLAGS.md b/managed/RUNTIME-FLAGS.md index f3e817010952..baf8f556a1e9 100644 --- a/managed/RUNTIME-FLAGS.md +++ b/managed/RUNTIME-FLAGS.md @@ -137,7 +137,6 @@ | "Enable DB Audit Logging" | "yb.universe.audit_logging_enabled" | "GLOBAL" | "If this flag is enabled, user will be able to create telemetry providers and enable/disable DB audit logging on universes." | "Boolean" | | "Enable Per Process Metrics" | "yb.ui.feature_flags.enable_per_process_metrics" | "GLOBAL" | "Enable Per Process Metrics" | "Boolean" | | "Support bundle prometheus dump range" | "yb.support_bundle.default_prom_dump_range" | "GLOBAL" | "The start-end duration to collect the prometheus dump inside the support bundle (in minutes)" | "Integer" | -| "Number of cloud YBA backups to retain" | "yb.auto_yba_backups.num_cloud_retention" | "GLOBAL" | "When continuous backups feature is enabled only the most recent n backups will be retained in the storage bucket" | "Integer" | | "Clock Skew" | "yb.alert.max_clock_skew_ms" | "UNIVERSE" | "Default threshold for Clock Skew alert" | "Duration" | | "Health Log Output" | "yb.health.logOutput" | "UNIVERSE" | "It determines whether to log the output of the node health check script to the console" | "Boolean" | | "Node Checkout Time" | "yb.health.nodeCheckTimeoutSec" | "UNIVERSE" | "The timeout (in seconds) for node check operation as part of universe health check" | "Integer" | diff --git a/managed/src/main/java/api/v2/handlers/ContinuousBackupHandler.java b/managed/src/main/java/api/v2/handlers/ContinuousBackupHandler.java index b6a09a91e0c1..ef3af303ac26 100644 --- a/managed/src/main/java/api/v2/handlers/ContinuousBackupHandler.java +++ b/managed/src/main/java/api/v2/handlers/ContinuousBackupHandler.java @@ -53,7 +53,6 @@ public ContinuousBackup createContinuousBackup( TaskType.CreateYbaBackup, cbConfig.getFrequency(), null, - false /* useLocalTimezone */, cbConfig.getFrequencyTimeUnit(), null); return ContinuousBackupMapper.INSTANCE.toContinuousBackup(cbConfig);