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

Add code comment for check_insert_data_shred in blockstore.rs #21845

Merged
merged 1 commit into from
Dec 15, 2021
Merged

Add code comment for check_insert_data_shred in blockstore.rs #21845

merged 1 commit into from
Dec 15, 2021

Conversation

yhchiang-sol
Copy link
Contributor

Summary of Changes

Add code comment for check_insert_data_shred in blockstore.rs

carllin
carllin previously approved these changes Dec 13, 2021
steviez
steviez previously approved these changes Dec 14, 2021
Copy link
Contributor

@steviez steviez left a comment

Choose a reason for hiding this comment

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

Content looks good to me, please just update the formatting to match Rust conventions, similar to #21837 (comment).

* the insert_shreds_lock as it performs read-modify-write operations
* on multiple column families.
*
* The column families which it may directly update are cf::DeadSlots
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar comment as other PR - maybe mention that changes to these CF's would be added to write_batch

@mergify mergify bot dismissed stale reviews from carllin and steviez December 14, 2021 08:39

Pull request has been modified.

@codecov
Copy link

codecov bot commented Dec 14, 2021

Codecov Report

Merging #21845 (f26273e) into master (033106e) will increase coverage by 0.0%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #21845   +/-   ##
=======================================
  Coverage    81.3%    81.3%           
=======================================
  Files         516      516           
  Lines      144217   144217           
=======================================
+ Hits       117268   117273    +5     
+ Misses      26949    26944    -5     

@yhchiang-sol yhchiang-sol merged commit e476e17 into solana-labs:master Dec 15, 2021
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