Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

adds ErasureSetId identifying erasure coding sets of shreds #21928

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

behzadnouri
Copy link
Contributor

Problem

  • Opaque (Slot, u64) is used to identify erasure sets.
  • Shred to erasure coding set mapping lacks encapsulation.

Summary of Changes

added ErasureSetId identifying erasure coding set the shreds belong to.

@codecov
Copy link

codecov bot commented Dec 15, 2021

Codecov Report

Merging #21928 (b9e8b85) into master (02fa135) will decrease coverage by 0.0%.
The diff coverage is 100.0%.

@@            Coverage Diff            @@
##           master   #21928     +/-   ##
=========================================
- Coverage    81.3%    81.2%   -0.1%     
=========================================
  Files         516      516             
  Lines      144307   144319     +12     
=========================================
- Hits       117323   117316      -7     
- Misses      26984    27003     +19     

@behzadnouri behzadnouri merged commit 8183f28 into solana-labs:master Dec 16, 2021
@behzadnouri behzadnouri deleted the erasure-set-id branch December 16, 2021 14:18
mergify bot pushed a commit that referenced this pull request Dec 16, 2021
(cherry picked from commit 8183f28)

# Conflicts:
#	ledger/src/blockstore.rs
mergify bot added a commit that referenced this pull request Dec 16, 2021
…21928) (#21946)

* adds ErasureSetId identifying erasure coding sets of shreds (#21928)

(cherry picked from commit 8183f28)

# Conflicts:
#	ledger/src/blockstore.rs

* removes backport merge conflicts

Co-authored-by: behzad nouri <[email protected]>
@brooksprumo brooksprumo mentioned this pull request Jan 5, 2022
mergify bot pushed a commit that referenced this pull request Feb 4, 2022
(cherry picked from commit 8183f28)

# Conflicts:
#	ledger/src/blockstore.rs
mergify bot added a commit that referenced this pull request Feb 5, 2022
…21928) (#22953)

* adds ErasureSetId identifying erasure coding sets of shreds (#21928)

(cherry picked from commit 8183f28)

# Conflicts:
#	ledger/src/blockstore.rs

* removes mergify merge conflicts

Co-authored-by: behzad nouri <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants