Can I do a revert back from the CLI in Stream to force it to a good version?
Had a situation where someone added a bunch of files for an upgrade that was committed on the leader node but not deployed. I want to revert back but the UI is broken for this. Can I do a revert back from the cli to force it to a good version?
Best Answer
-
First, stop Cribl Stream. Inside
$CRIBL_HOME
(Usually/opt/cribl
) you can rungit revert ...
(Git - git-revert Documentation) back to the commit id you want. Then start Cribl Stream and commit/deploy as normal.Note: If you need to get the commit IDs, you can run this command:
git log
.0
Answers
-
First, stop Cribl Stream. Inside
$CRIBL_HOME
(Usually/opt/cribl
) you can rungit revert ...
(Git - git-revert Documentation) back to the commit id you want. Then start Cribl Stream and commit/deploy as normal.Note: If you need to get the commit IDs, you can run this command:
git log
.0