Skip to content

Commit c653eee

Browse files
erwanorZachary Becker
andauthored
chore: reindex to event sink from cli (cometbft#5209)
This adds a reindex command to the CLI interface. The command was already implemented, and included in a previous tendermint release (`0.34.x`) but the backport was missed during the tendermint -> cometbft transition. This is a useful command to repipe events to a destination sink, for example because of a migration, or if an event was lost because the sink was offline. This has been a recurring source of pain for us (Penumbra), and we didn't realize it existed until now. First, adding to `main`, and I will open backports to `0.38.x` and `0.37.x`. --- #### PR checklist - [ ] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments Co-authored-by: Zachary Becker <[email protected]>
1 parent 391b91b commit c653eee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/cometbft/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ func main() {
2424
cmd.ShowValidatorCmd,
2525
cmd.TestnetFilesCmd,
2626
cmd.ShowNodeIDCmd,
27+
cmd.ReIndexEventCmd,
2728
cmd.GenNodeKeyCmd,
2829
cmd.VersionCmd,
2930
cmd.RollbackStateCmd,

0 commit comments

Comments
 (0)