From 13be32be55ed818df4650ca496d3535e278f7d64 Mon Sep 17 00:00:00 2001 From: skyyyy955 Date: Mon, 23 Nov 2026 15:24:07 +0800 Subject: [PATCH] [doc] Stop writers before filesystem rollback --- docs/docs/pypaimon/cli-versions.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/docs/pypaimon/cli-versions.md b/docs/docs/pypaimon/cli-versions.md index 624de4ea7f63..6392c06b5fe0 100644 --- a/docs/docs/pypaimon/cli-versions.md +++ b/docs/docs/pypaimon/cli-versions.md @@ -30,8 +30,11 @@ Retain a dataset snapshot with a tag or work on a separate table history with a ## Table Rollback Use `paimon table rollback` to restore a previous table state. For filesystem -catalogs, rollback removes snapshots and tags newer than the target. Before -rolling back, inspect the available targets with +catalogs, stop writers to the table before inspecting the rollback target and +keep them stopped until the rollback finishes. The operation removes newer +snapshots and tags that point to them. + +Inspect the available targets with `paimon table list-snapshots mydb.users` or `paimon tag list mydb.users`. Choose exactly one target. For `--timestamp`, use Unix epoch milliseconds.