Skip to content

Commit 37e61a0

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent cdc6dd2 commit 37e61a0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/api/v1/backup_types.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,12 @@ type InstanceID struct {
319319
// The container ID
320320
// +optional
321321
ContainerID string `json:"ContainerID,omitempty"`
322+
// The instance manager session ID. This is a unique identifier generated at instance manager
323+
// startup and changes on every restart (including container reboots). Used to detect if
324+
// the instance manager was restarted during long-running operations like backups, which
325+
// would terminate any running backup process.
326+
// +optional
327+
SessionID string `json:"sessionID,omitempty"`
322328
}
323329

324330
// +genclient

0 commit comments

Comments
 (0)