Integrate Process Piece Deletions - #1443
Conversation
| prove_at_epoch = NULL, | ||
| prev_challenge_request_epoch = NULL, | ||
| init_ready = $3 | ||
| init_ready = FALSE |
There was a problem hiding this comment.
Still trying to figure out what to do with this exactly. As it stands there is ambiguity between a dataset moving from 0 to some leaves and a dataset maintaining nonzero leaves but its challenge getting zeroed out because of processDeletes.
Maybe we can schedule this task to only ever run after a nextProvingPeriod has been called?
|
Ok this is somewhat cleaned up. The most egregious things are removed. |
|
This is relevant for #1422 right? |
|
A few TODOs to focus on for getting this to a good state:
|
|
I'm realizing that the AIs over complexity can be addressed by tracking a need for draining the deletion queue inside the data set data model. I think we want a field "needs_deletion_drain" on dataset
|
|
Closing in favor of #1453 |
This is pure AI and can't really even be called a draft. More like an experimental scaffold of spike. I pointed the AI at a document I socratically built up with a lot of effort (I checked it in here if its useful but don't want it to actually merge). I think it might be worth using as a jumping off point but heavy warning that this might be low quality.