Skip to content

Conversation

@shosseinimotlagh
Copy link
Contributor

@shosseinimotlagh shosseinimotlagh commented May 16, 2025

Reload CompactBitSet after updating node phys buffer.

When a multiple happens and previous cp X is in flushing state and a node buffer is getting freed, the node buffer is copied for the working cp X+1. This leads to updating the physical node buffer. If there is any class object in a node type, the object still has the previous address which can result in either corruption of flushing buffer or head-use-after-free right after cp X flushing is complete and freeing the dirty index buffer.

@shosseinimotlagh shosseinimotlagh changed the title Fix prefix - reload compactbitset after updating node phys buffer Fix prefix - reload compactbitset May 16, 2025
@shosseinimotlagh shosseinimotlagh changed the title Fix prefix - reload compactbitset Fix prefix - reload CompactBitSet May 16, 2025
@xiaoxichen
Copy link
Collaborator

great work! if you can add more details in the commit message that will be helpful for others.

@codecov-commenter
Copy link

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

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.18%. Comparing base (1a0cef8) to head (0613b11).
Report is 196 commits behind head on master.

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

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #724       +/-   ##
===========================================
+ Coverage   56.51%   67.18%   +10.67%     
===========================================
  Files         108      109        +1     
  Lines       10300    11975     +1675     
  Branches     1402     1665      +263     
===========================================
+ Hits         5821     8046     +2225     
+ Misses       3894     3091      -803     
- Partials      585      838      +253     

☔ 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.

@shosseinimotlagh shosseinimotlagh merged commit 3c1b26b into eBay:master May 16, 2025
26 checks passed
@shosseinimotlagh shosseinimotlagh deleted the fix-compact-bitset branch May 16, 2025 18:16
hkadayam pushed a commit to hkadayam/HomeStore that referenced this pull request Aug 7, 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.

4 participants