Skip to content

Flush disk buffer file writes before notifying readers - #19

Merged
hiporox merged 1 commit into
masterfrom
codex/vector-v0.62-disk-buffer-file-flush
Nov 19, 2026
Merged

hiporox merged 1 commit into
masterfrom
codex/vector-v0.62-disk-buffer-file-flush

Conversation

@hiporox

@hiporox hiporox commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Await the underlying file write before publishing disk buffer progress and waking the reader. A single record could otherwise remain buffered until another write woke the reader again. Both normal flushes and oversized writes now wait for file visibility.

How did you test this PR?

Both new regression tests fail on v0.62.0 and pass with the fix. The vector-buffers suite passed 118 tests with two ignored. Scoped Clippy and rustfmt checks also passed. In 30 uncached end-to-end runs with a Unix socket source and an OTLP HTTP receiver, the patched binary consistently exported all three signals.

Does this PR include user facing changes?

  • Yes. Includes a changelog fragment.

@hiporox
hiporox marked this pull request as ready for review November 19, 2026 02:56
@hiporox
hiporox merged commit 597199b into master Nov 19, 2026
67 checks passed
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