Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions pkg/apis/v1/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions pkg/apis/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -838,9 +838,17 @@ message BackupLocationInfo {
// sync_manual controls whether this BackupLocation uses manual or automatic sync.
// - true : Manual mode. Periodic BackupSync is skipped for this BL.
// Syncs only occur when explicitly triggered via sync=true.
// Valid in both Federated and Non-Federated deployment modes.
// - false : Automatic mode. Periodic BackupSync runs every 10 minutes.
// - null (not set): rejected on Create; treated as no-op on Update.
// Valid in both Federated and Non-Federated deployment modes.
// Only valid in Non-Federated mode. In Federated mode,
// Create or Update with sync_manual=false is rejected with InvalidArgument.
// - null (not set):
// - Create: server defaults to sync_manual=true (Manual mode) for new BLs,
// in both Federated and Non-Federated mode.
// - Update: treated as no-op; the stored value is kept.
// Existing BLs created before this field existed are migrated at startup to
// false (Automatic) in Non-Federated mode and true (Manual) in Federated mode,
// so their sync behaviour does not change on upgrade.
// Uses BoolValue wrapper to distinguish between "not provided" (nil) and "explicitly set to false".
google.protobuf.BoolValue sync_manual = 16;

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/v1/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6579,7 +6579,7 @@
},
"sync_manual": {
"type": "boolean",
"description": "sync_manual controls whether this BackupLocation uses manual or automatic sync.\n- true : Manual mode. Periodic BackupSync is skipped for this BL.\n Syncs only occur when explicitly triggered via sync=true.\n- false : Automatic mode. Periodic BackupSync runs every 10 minutes.\n- null (not set): rejected on Create; treated as no-op on Update.\nValid in both Federated and Non-Federated deployment modes.\nUses BoolValue wrapper to distinguish between \"not provided\" (nil) and \"explicitly set to false\"."
"description": "sync_manual controls whether this BackupLocation uses manual or automatic sync.\n- true : Manual mode. Periodic BackupSync is skipped for this BL.\n Syncs only occur when explicitly triggered via sync=true.\n Valid in both Federated and Non-Federated deployment modes.\n- false : Automatic mode. Periodic BackupSync runs every 10 minutes.\n Only valid in Non-Federated mode. In Federated mode,\n Create or Update with sync_manual=false is rejected with InvalidArgument.\n- null (not set):\n - Create: server defaults to sync_manual=true (Manual mode) for new BLs,\n in both Federated and Non-Federated mode.\n - Update: treated as no-op; the stored value is kept.\nExisting BLs created before this field existed are migrated at startup to\nfalse (Automatic) in Non-Federated mode and true (Manual) in Federated mode,\nso their sync behaviour does not change on upgrade.\nUses BoolValue wrapper to distinguish between \"not provided\" (nil) and \"explicitly set to false\"."
},
"s3_config": {
"$ref": "#/definitions/S3Config"
Expand Down
Loading