Skip to content
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

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

gaodayue
Copy link
Contributor

No description provided.

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()
Copy link
Contributor

Choose a reason for hiding this comment

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

missed error tablet ids

Copy link
Contributor Author

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry...

Copy link
Contributor

@yiguolei yiguolei left a comment

Choose a reason for hiding this comment

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

LGTM

@imay imay merged commit e0d991f into apache:master Jul 30, 2019
SWJTU-ZhangLei pushed a commit to SWJTU-ZhangLei/incubator-doris that referenced this pull request Jul 25, 2023
SWJTU-ZhangLei pushed a commit to SWJTU-ZhangLei/incubator-doris that referenced this pull request Jul 25, 2023
…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.
SWJTU-ZhangLei pushed a commit to SWJTU-ZhangLei/incubator-doris that referenced this pull request Jul 25, 2023
…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.
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