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

removes next_shred_index from return value of entries to shreds api#21961

Merged
behzadnouri merged 1 commit intosolana-labs:masterfrom
behzadnouri:rm-last-shred-index
Dec 17, 2021
Merged

removes next_shred_index from return value of entries to shreds api#21961
behzadnouri merged 1 commit intosolana-labs:masterfrom
behzadnouri:rm-last-shred-index

Conversation

@behzadnouri
Copy link
Copy Markdown
Contributor

Problem

next-shred-index is already readily available from returned data shreds.

Summary of Changes

The commit simplifies the api for upcoming changes to erasure coding
schema which will require explicit tracking of indices for coding shreds
as well as data shreds.

next-shred-index is already readily available from returned data shreds.
The commit simplifies the api for upcoming changes to erasure coding
schema which will require explicit tracking of indices for coding shreds
as well as data shreds.
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 17, 2021

Codecov Report

Merging #21961 (32958bc) into master (3398f5a) will decrease coverage by 0.0%.
The diff coverage is 65.5%.

@@            Coverage Diff            @@
##           master   #21961     +/-   ##
=========================================
- Coverage    81.2%    81.2%   -0.1%     
=========================================
  Files         516      516             
  Lines      144369   144368      -1     
=========================================
- Hits       117351   117339     -12     
- Misses      27018    27029     +11     

@behzadnouri behzadnouri merged commit 89d66c3 into solana-labs:master Dec 17, 2021
@behzadnouri behzadnouri deleted the rm-last-shred-index branch December 17, 2021 15:01
mergify Bot pushed a commit that referenced this pull request Dec 17, 2021
…21961)

next-shred-index is already readily available from returned data shreds.
The commit simplifies the api for upcoming changes to erasure coding
schema which will require explicit tracking of indices for coding shreds
as well as data shreds.

(cherry picked from commit 89d66c3)
behzadnouri added a commit that referenced this pull request Dec 17, 2021
…21961)

next-shred-index is already readily available from returned data shreds.
The commit simplifies the api for upcoming changes to erasure coding
schema which will require explicit tracking of indices for coding shreds
as well as data shreds.

(cherry picked from commit 89d66c3)
mergify Bot added a commit that referenced this pull request Dec 17, 2021
…21961) (#21980)

next-shred-index is already readily available from returned data shreds.
The commit simplifies the api for upcoming changes to erasure coding
schema which will require explicit tracking of indices for coding shreds
as well as data shreds.

(cherry picked from commit 89d66c3)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
@brooksprumo brooksprumo mentioned this pull request Jan 5, 2022
mergify Bot pushed a commit that referenced this pull request Feb 5, 2022
…21961)

next-shred-index is already readily available from returned data shreds.
The commit simplifies the api for upcoming changes to erasure coding
schema which will require explicit tracking of indices for coding shreds
as well as data shreds.

(cherry picked from commit 89d66c3)

# Conflicts:
#	core/benches/shredder.rs
#	core/src/broadcast_stage/broadcast_duplicates_run.rs
#	core/src/broadcast_stage/broadcast_fake_shreds_run.rs
#	core/src/broadcast_stage/fail_entry_verification_broadcast_run.rs
#	core/src/broadcast_stage/standard_broadcast_run.rs
#	gossip/src/duplicate_shred.rs
#	ledger/src/blockstore.rs
#	ledger/src/shred.rs
#	ledger/tests/shred.rs
mergify Bot added a commit that referenced this pull request Feb 5, 2022
…backport #21961) (#22965)

* removes next_shred_index from return value of entries to shreds api (#21961)

next-shred-index is already readily available from returned data shreds.
The commit simplifies the api for upcoming changes to erasure coding
schema which will require explicit tracking of indices for coding shreds
as well as data shreds.

(cherry picked from commit 89d66c3)

# Conflicts:
#	core/benches/shredder.rs
#	core/src/broadcast_stage/broadcast_duplicates_run.rs
#	core/src/broadcast_stage/broadcast_fake_shreds_run.rs
#	core/src/broadcast_stage/fail_entry_verification_broadcast_run.rs
#	core/src/broadcast_stage/standard_broadcast_run.rs
#	gossip/src/duplicate_shred.rs
#	ledger/src/blockstore.rs
#	ledger/src/shred.rs
#	ledger/tests/shred.rs

* removes mergify merge conflicts

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
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.

1 participant