Skip to content
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

Releasing data buf from memory after written to disk. #583

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

xiaoxichen
Copy link
Collaborator

Data buffer persists in memory until rreq is committed or rolled back.

This approach poses issues during recovery. As new data arrives via push_data and is written to disk, it remains in memory for an extended period until the replica catches up and commits the rreq.

@xiaoxichen
Copy link
Collaborator Author

fixes : #580

Data buffer persists in memory until rreq is committed or rolled back.

This approach poses issues during recovery. As new data arrives via
push_data and is written to disk, it remains in memory for an extended
period until the replica catches up and commits the rreq.

Signed-off-by: Xiaoxi Chen <[email protected]>
@xiaoxichen xiaoxichen force-pushed the release_buf_after_write branch from 3b9789f to 1ce9bbd Compare November 7, 2024 07:15
Copy link
Contributor

@JacksonYao287 JacksonYao287 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

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

Project coverage is 67.25%. Comparing base (1a0cef8) to head (1ce9bbd).
Report is 86 commits behind head on master.

Files with missing lines Patch % Lines
src/include/homestore/replication/repl_dev.h 66.66% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #583       +/-   ##
===========================================
+ Coverage   56.51%   67.25%   +10.74%     
===========================================
  Files         108      109        +1     
  Lines       10300    10681      +381     
  Branches     1402     1456       +54     
===========================================
+ Hits         5821     7184     +1363     
+ Misses       3894     2802     -1092     
- Partials      585      695      +110     

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

@xiaoxichen xiaoxichen requested a review from Besroy November 7, 2024 07:58
@xiaoxichen xiaoxichen merged commit 3882211 into eBay:master Nov 7, 2024
21 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.

3 participants