Skip to content

remove redundant call of sealCurrentPage().#2744

Closed
rhmangmang wants to merge 1 commit intoapache:masterfrom
rhmangmang:improve_MemTableFlushTask
Closed

remove redundant call of sealCurrentPage().#2744
rhmangmang wants to merge 1 commit intoapache:masterfrom
rhmangmang:improve_MemTableFlushTask

Conversation

@rhmangmang
Copy link
Contributor

Call sealCurrentPage() method twice:

image
image

(Pair<TVList, MeasurementSchema>) task;
IChunkWriter seriesWriter = new ChunkWriterImpl(encodingMessage.right);
writeOneSeries(encodingMessage.left, seriesWriter, encodingMessage.right.getType());
seriesWriter.sealCurrentPage();
Copy link
Member

Choose a reason for hiding this comment

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

this code can not delete. because this method make encode data...
this will lead to encode problem...

storageGroup,
writer.getFile().getName());
while (true) {
Object ioMessage = null;
Copy link
Member

Choose a reason for hiding this comment

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

local var init...this do not have problem...

@rhmangmang rhmangmang closed this Feb 27, 2021
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