-
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
integrate extern/{storage-fsm,sector-storage} into lotus source tree #3089
Conversation
0e1b59f
to
2b511d2
Compare
test failure seems real and not a fluke; some file is missing:
|
@vyzo I suspect that if the test is downloading proof parameters, it has the potential to be a time sink. We may need to create a different CircleCI job for this. |
yeah, by no means ideal. |
@vyzo all passing here; looks like the last failures were flaky tests. |
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.
sector
isn't a good name for a subsystem which is handling storage and is scheduling sealing operations- There are probably better names, but I'd keep
sectorstorage
for now, also minimizes the diff size
- There are probably better names, but I'd keep
- I'd keep those packages in
extern/
, the intention is to extract them back out of lotus when GFC development resumes
5aacc83
to
862bafc
Compare
@magik6k here's a version that keeps With this, your review comment should be addressed. |
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.
Just 1 nit
int64(stat.Blocks) * 512, // NOTE: int64 cast is needed on osx | ||
stat.Blocks * 512, // NOTE: int64 cast is needed on osx |
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.
This cast needs to be here
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.
Thanks for catching this! Will revert and add a // nolint
here.
68a548b
to
1f01626
Compare
@magik6k fixed. |
it's better to be called manager cause it's a scheduler and sector manangement executor |
what I do suspect is that will this change to happen in master & mainnet release ? Moving a mod to subtree if it's needed to be done why not drop storage-fsm project in repo |
extern/storage-fsm
intostorage/sealing
package; drop replace directive.extern/sector-storage
intostorage/sector
package; drop replace directive.go generate
directive for CBOR generation instorage/sealing
. MakeMakefile
call it.