Skip to content

Fix buffer pool #3353

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

Merged
merged 2 commits into from
May 16, 2025
Merged

Fix buffer pool #3353

merged 2 commits into from
May 16, 2025

Conversation

roman-khimov
Copy link
Member

No description provided.

Copy link

codecov bot commented May 16, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 21.18%. Comparing base (21b74c9) to head (866590e).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
cmd/neofs-node/transport.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3353      +/-   ##
==========================================
+ Coverage   21.13%   21.18%   +0.04%     
==========================================
  Files         718      718              
  Lines       53128    53128              
==========================================
+ Hits        11230    11255      +25     
+ Misses      41102    41081      -21     
+ Partials      796      792       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

NewBuffer() implies some pooled buffers and DefaultBufferPool is exactly
that -- the default pool where buffers are put after use. This means that any
given slice of data will end up there and then could be reused for any other
gRPC-related purpose. This is not something users of replication API can
expect, so surprising memory corruptions are quite possible.

Regression of 3b853d5.

Signed-off-by: Roman Khimov <[email protected]>
The same buffer pool problem.

Signed-off-by: Roman Khimov <[email protected]>
@cthulhu-rider cthulhu-rider merged commit 5226f90 into master May 16, 2025
21 of 22 checks passed
@cthulhu-rider cthulhu-rider deleted the fix-buffer-pool branch May 16, 2025 08:11
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.

3 participants