| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
- Added `alloc_size` field to `struct replication_query` to store allocation size. - Modified `replication_buffers_allocated` updates to use `alloc_size` for both increments and decrements. - Introduced an additional buffer deallocation safeguard during request cancellation.
|
Sorry, something went wrong.
There was a problem hiding this comment.
Streaming is working as expected. LGTM!
Sorry, something went wrong.
- Added `alloc_size` field to `struct replication_query` to store allocation size. - Modified `replication_buffers_allocated` updates to use `alloc_size` for both increments and decrements. - Introduced an additional buffer deallocation safeguard during request cancellation. (cherry picked from commit 996c66c)
| Back | FazBrowse Home | New Git URL |
Summary
Summary by cubic
Make memory accounting for replication queries exact by tracking per-query allocation size and correcting counter updates on free and cancellation. Prevents drift in replication_buffers_allocated.
Written for commit 75fffd1. Summary will update on new commits.