Skip to content

Conversation

@liutang123
Copy link
Contributor

@liutang123 liutang123 commented Dec 11, 2019

Fix #2419
Add a flag in RowsetMeta to record whether it has been deleted from rowset meta.
Before this PR, 37156 rowsets only cost 1642 s.
With this PR, 37319 rowsets just cost 1 s.

* Add a flag in RowsetMeta to record whether it has been deleted from rowset meta.
LOG(INFO) << "remove rowset id from meta store because it is already persistent with tablet meta"
<< ", rowset_id=" << rs_meta->rowset_id();
}
rs_meta->set_remove_from_rowset_meta();
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems that this line of code should be executed in above if clause.

Co-Authored-By: ZHAO Chun <buaa.zhaoc@gmail.com>
Copy link
Contributor

@imay imay 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 4d958ec into apache:master Dec 12, 2019
morningman pushed a commit to morningman/doris that referenced this pull request Dec 17, 2019
…pache#2430)

Add a flag in RowsetMeta to record whether it has been deleted from rowset meta.
Before this PR, 37156 rowsets only cost 1642 s.
With this PR, 37319 rowsets just cost 1 s.
morningman pushed a commit to morningman/doris that referenced this pull request Dec 17, 2019
…pache#2430)

Add a flag in RowsetMeta to record whether it has been deleted from rowset meta.
Before this PR, 37156 rowsets only cost 1642 s.
With this PR, 37319 rowsets just cost 1 s.
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.

BE do_tablet_meta_checkpoint retain _meta_lock for a long time

2 participants