aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-08 15:33:36 +0800
committerGravatar Runxi Yu2026-03-08 15:44:32 +0800
commitdd027e1e5379019bfeffc48ff1274b5e05581ff3 (patch)
tree1f6b8f55957e706eeed801079ab42f3069085746 /format/pack/ingest
parentformat/pack/ingest: Thin fix error handling (diff)
signatureNo signature
objectstore: Refresh v0.1.80
* Add manual Refresh for various objectstore's * RefreshPolicy option * Refreshable MRU and atomic snapshotting
Diffstat (limited to 'format/pack/ingest')
-rw-r--r--format/pack/ingest/thin_fix.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/format/pack/ingest/thin_fix.go b/format/pack/ingest/thin_fix.go
index 9dc65475..9013dbc8 100644
--- a/format/pack/ingest/thin_fix.go
+++ b/format/pack/ingest/thin_fix.go
@@ -64,6 +64,7 @@ func maybeFixThin(state *ingestState) error {
Title: "fixing thin pack",
Total: uint64(total),
})
+ meter.Set(0, 0)
var appended uint64
@@ -93,9 +94,7 @@ func maybeFixThin(state *ingestState) error {
return err
}
- if state.thinFixed {
- meter.Stop("done")
- }
+ meter.Stop(fmt.Sprintf("appended %d/%d, done", appended, total))
return nil
}