Skip to content

Conversation

@walldiss
Copy link
Contributor

@walldiss walldiss commented Jan 5, 2024

Implementation idea for: #266

Copy link
Owner

@klauspost klauspost left a comment

Choose a reason for hiding this comment

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

LGTM

@klauspost klauspost merged commit 162f2ba into klauspost:master Jan 5, 2024
t.Fatal("ReconstructSome did not reconstruct required shards correctly")
}

// Reconstruct 3 shards with 3 data and 5 parity shards
Copy link
Contributor

@rootulp rootulp Jan 5, 2024

Choose a reason for hiding this comment

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

[question] not directly related to this PR but why does this claim to reconstruct 3 shards when below only two shares are requested for reconstruction:

	shardsRequired = make([]bool, 8)
	shardsRequired[3] = true
	shardsRequired[4] = true

should it instead state:

// Reconstruct 2 shards...

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