-
Notifications
You must be signed in to change notification settings - Fork 557
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
Close incomplete blocks #181
Conversation
for (std::set<int64_t>::iterator it = blocks.begin(); it != blocks.end(); ++it) { | ||
close_blocks->Add(*it); | ||
} | ||
close_blocks->Add(0); |
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.
为啥加个0?
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.
手误手误。。。
build |
2 similar comments
build |
build |
@@ -72,10 +73,11 @@ class BlockMapping { | |||
|
|||
typedef std::map<int32_t, std::set<int64_t> > CheckList; | |||
CheckList recover_check_; | |||
typedef std::map<int32_t, std::set<int64_t> > IncompleteList; |
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.
这个IncompleteList和上面的checklist不是一个类型么
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.
现在是的,怕后面会改
volatile int deleted_; | ||
|
||
FileCache* file_cache_; | ||
std::map<int32_t, Callback> slide_window_callbacks_; |
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.
求改个名字
No description provided.