-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add and update consensus configuration options #17
base: main
Are you sure you want to change the base?
Conversation
Being based on top of feature/where-syntax-update which still has the failing policy test. Once that passes this should pass. |
(log/warn "LOG PATH: " log-path) | ||
(log/warn "CONN STORAGE PATH: " conn-storage-path) |
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.
Do we want these logged at the warn
level? Or at all here?
(log/warn "LOG PATH*: " log-path*) | ||
(log/warn "CONN STORAGE PATH*: " conn-storage-path*) |
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.
Do we want to leave these log messages in?
"If conn method is :file or :memory, returns false, else true." | ||
[conn] | ||
(let [method (conn-proto/-method conn)] | ||
(if (#{:file :memory} method) |
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.
Can we reference this set from a shared ns? I see it's defined as fluree.server.components.consensus/replicate-file-conn-types
, but not sure if we can access that here w/o a circular ref.
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.
A couple of log messages to maybe change / remove and some DRYing up to consider. Looks good once addressed in whatever way seems best.
This primarily adds additional consensus configuration options and provides documentation for them.
The default logging directory now has some additional logic to str/replace the '/' in the multi-address format to '-' such that a deeply nested directory is not created.