storcon: add force_upsert flag to timeline_import endpoint (#12622)

It is useful to have ability to update an existing timeline entry, as a
way to mirror legacy migrations to the storcon managed table.
This commit is contained in:
Arpad Müller
2025-07-21 23:14:15 +02:00
committed by GitHub
parent b7bc3ce61e
commit 80baeaa084
3 changed files with 63 additions and 4 deletions

View File

@@ -596,6 +596,7 @@ pub struct TimelineImportRequest {
pub timeline_id: TimelineId,
pub start_lsn: Lsn,
pub sk_set: Vec<NodeId>,
pub force_upsert: bool,
}
#[derive(serde::Serialize, serde::Deserialize, Clone)]