Skip to content

Fix AlphaRowsetWriter double flush problem#863

Merged
chaoyli merged 1 commit into
apache:be_refactorfrom
kangpinghuang:be_refactor_new_fix_memtable
Apr 2, 2019
Merged

Fix AlphaRowsetWriter double flush problem#863
chaoyli merged 1 commit into
apache:be_refactorfrom
kangpinghuang:be_refactor_new_fix_memtable

Conversation

@kangpinghuang
Copy link
Copy Markdown
Contributor

When the memtable is flushed(this will call AlphaRowsetWriter.flush), and there is no data written any more. memtable will call close, leading to double call AlphaRowsetWriter.flush without call AlphaRowsetWriter.init. It will lead to DCHECK failure.

@chaoyli chaoyli merged commit 9f55f01 into apache:be_refactor Apr 2, 2019
@kangpinghuang kangpinghuang deleted the be_refactor_new_fix_memtable branch August 20, 2019 06:54
platoneko pushed a commit to platoneko/doris that referenced this pull request Oct 27, 2022
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.

2 participants