-
Notifications
You must be signed in to change notification settings - Fork 180
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
[Storehouse] Improving logging #5124
Conversation
@@ -73,7 +73,7 @@ func (exeConf *ExecutionConfig) SetupFlags(flags *pflag.FlagSet) { | |||
flags.StringVarP(&exeConf.rpcConf.ListenAddr, "rpc-addr", "i", "localhost:9000", "the address the gRPC server listens on") | |||
flags.UintVar(&exeConf.rpcConf.MaxMsgSize, "rpc-max-message-size", grpcutils.DefaultMaxMsgSize, "the maximum message size in bytes for messages sent or received over grpc") | |||
flags.BoolVar(&exeConf.rpcConf.RpcMetricsEnabled, "rpc-metrics-enabled", false, "whether to enable the rpc metrics") | |||
flags.StringVar(&exeConf.triedir, "triedir", datadir, "directory to store the execution State") | |||
flags.StringVar(&exeConf.triedir, "triedir", filepath.Join(datadir, "trie"), "directory to store the execution State") |
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.
the previous default value would not persist the trie data.
Use /data/trie
instead of /trie
by default, so that the operator doesn't have to config this flag in order to persist the trie data
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5124 +/- ##
==========================================
- Coverage 57.78% 57.69% -0.09%
==========================================
Files 799 816 +17
Lines 76991 78284 +1293
==========================================
+ Hits 44488 45169 +681
- Misses 29168 29734 +566
- Partials 3335 3381 +46
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
it's helpful to break the variables out into labels so they're searchable. I called out a couple, but there are a few others as well
Co-authored-by: Gregor G. <75445744+sideninja@users.noreply.github.com>
Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com>
529c863
to
6314335
Compare
This PR Improves logging for storehouse, and also change the default trie folder path