-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
lib: Checkpoint pending writes whenever a node finishes #976
Conversation
nfcampos
commented
Jul 10, 2024
•
edited by bracesproul
Loading
edited by bracesproul
- Whenever a node finishes, checkpoint pending writes
- Use pending_writes at beginning of stream (where we deal with input writes?)
- Add test for two concurrent nodes, the longer one fails, the shorter one isn't re-run on resume
- in sqlite/aiosqlite savers read pending writes in get_tuple
- Whenever a node finishes, checkpoint pending writes
writes: List[Tuple[str, Any]], | ||
task_id: str, | ||
) -> None: | ||
raise NotImplementedError |
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.
Should we default this to running put_writes in executor or does that mess up the error?
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.
No, let's make consistent with the other methods
@nfcampos |
This is confusing because it appears this change was created well after 0.1.7... |