-
Notifications
You must be signed in to change notification settings - Fork 3.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
EnginePublishVersionTask: remove unreachable code #1562
Conversation
RowsetMetaManager::remove(tablet->data_dir()->get_meta(), tablet->tablet_uid(), rowset->rowset_id()); | ||
// delete txn info | ||
} else { | ||
LOG(WARNING) << "fail to publish version on tablet. tablet=" << tablet->full_name().c_str() |
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.
missed error tablet ids
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 else clause is unreachable, please see the if statement at line 97
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.
Sorry...
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.
LGTM
…rowset_data` (apache#1579) After detaching TabletSchemaPB from rowset meta (apache#1562), the recycler may dereference the null tablet schema in RowsetMetaPB. This commit accomplishes apache#1562 apache#1526.
…rowset_data` (apache#1580) After detaching TabletSchemaPB from rowset meta (apache#1562), the recycler may dereference the null tablet schema in RowsetMetaPB. This commit accomplishes apache#1562 apache#1526.
No description provided.