-
Notifications
You must be signed in to change notification settings - Fork 586
Bring back snark persistence: iteration 1 #17559
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
base: compatible
Are you sure you want to change the base?
Conversation
d341b28 to
d35a6cf
Compare
d35a6cf to
9799d78
Compare
…ntinue cache from previous run
…ifferent mina runs
|
!ci-build-me |
|
Actually, this is known false positive. |
|
I didn't run into this in a previous run on devnet on our server, weird. I'll test with |
|
!ci-docker-me |
|
!ci-docker-me |
| ~metadata:[ ("description", `String description) ] ; | ||
| let logging_thunk () = | ||
| [%log info] "Running async shutdown handler: $description" | ||
| let register_async_shutdown_handler = |
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.
Did a refactor on this module because we want to enforce ordering for exit handlers between frontier and snark pool.
| -> disk_location:string | ||
| -> proof_cache_db:Proof_cache_tag.cache_db | ||
| -> ?persistence: | ||
| [< `Disk_location of string ] * [< `Store_every of Time.Span.t ] |
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.
This is a bit ugly because I want these param to present or missing at the same time. And the functor restricted the signature of Config to be T, where I would've put a module Persistence tracking persistent config inside it.
|
!ci-docker-me |
|
!ci-docker-me |
|
Verifier failed when restarting a node, I'm not sure if it's common or not. I assume I introduced bugs here. |
|
Well, it seems our devnet alpha release also have this non-fatal issue: Repro:
|
|
!ci-build-me |
|
this deserves a changelog entry, will add it |
|
!ci-docker-me |
| module Make (B : sig | ||
| include Binable.S | ||
| end) = | ||
| struct |
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.
I may consider removing FS disk cache as a whole before merging:
- We're not using it
- It performs worse than LMDB
- It's a burden to implement similar logic twice here
Status
Context
This PR