-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
storage: split window PoST submission into multiple messages #3689
Conversation
storage/wdpost_run.go
Outdated
} | ||
|
||
var sinfos []proof.SectorInfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic here should be the same, the indentation just makes it hard to compare (use diff settings to hide whitespace)
Note: TestAPIRPC/testMiningReal failed in CI but works for me locally |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything LGTM except for the moved randomness.
5df2939
to
85ee7ff
Compare
@Stebalien sorry I had to rebase again after #3710 was merged, please take one more look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
for batchIdx, batch := range partitionBatches { | ||
batchPartitionStartIdx := 0 | ||
for _, batch := range partitionBatches[:batchIdx] { | ||
batchPartitionStartIdx += len(batch) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just keep a running count?
85ee7ff
to
86ec8eb
Compare
86ec8eb
to
db998e9
Compare
Fixes #3332