Skip to content

Make Buffer::push_into private#649

Merged
frankmcsherry merged 1 commit intoTimelyDataflow:masterfrom
frankmcsherry:harden_buffers
Feb 26, 2025
Merged

Make Buffer::push_into private#649
frankmcsherry merged 1 commit intoTimelyDataflow:masterfrom
frankmcsherry:harden_buffers

Conversation

@frankmcsherry
Copy link
Member

We saw a crash where a flushing buffer had data in its container, but had not been initialized with a time yet. This suggests that either the container's is_empty method is wrong, or that we sneaked data into the container not through a session (or something else, but local inspection suggests that these are private fields that can only be accessed through sessions, except for the PushInto implementation).

This shouldn't fix any bugs, as much as smoke out potentially incorrect usage of these buffers.

@frankmcsherry frankmcsherry merged commit 6bba5fe into TimelyDataflow:master Feb 26, 2025
7 checks passed
@github-actions github-actions bot mentioned this pull request Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant