-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge logmonitor and startup logmonitor #1679
merge logmonitor and startup logmonitor #1679
Conversation
578e9e4
to
a4fcfad
Compare
Cannot auto-update because of conflicts. |
I'll look at the conflict today. |
I'm guessing github mobile was mistakenly still showing me a merge conflict resolved when 8bad716 was merged, prior to this earlier response... My browser never seemed to show there being a conflict, and merging into alpha in a fork works after reset and sync for commits to alpha since this message. 🤷 |
@gufmar - any updates? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Combined functionality of logMonitor and startupLogMonitor into a single script.
Testing
Requirements
Checkout the code
Use
guild-deploy.sh
to target the branch.Use
deploy-as-systemd.sh
to setup at minimum cnode and logmonitor.Testing original functionality
The RestartSec has been lowered to 1 second. Sourcing was set to offline mode with
env offline
. The change in timing allows tracking chunk validation and ledger replay events.Testing specific to startup log
/opt/cardano/cnode/scripts/cncli.sh init
kill -9
on the pid of your cardano-node to cause an unclean shutdown and the next time the node starts it will perform chunk validation and replay the ledger and the associated tables will have entries.