jt2594838 opened a new pull request, #17625:
URL: https://github.com/apache/iotdb/pull/17625

   For time-only aligned chunk:
   1. the current pageIndex2ChunkData is cleared after calling 
storeTimeChunkContext;
   2. pageIndex2ChunkData will not be set restored becauses there is no value 
chunk to call switchToTimeChunkContextOfCurrentMeasurement
   
   The result is that the time-only chunk is ignored because 
pageIndex2ChunkData is empty.
   
   In this PR, the pageIndex2ChunkData is not cleared in storeTimeChunkContext, 
but a new one is created in processTimeChunkOrNonAlignedChunk.
   Therefore, when calling consumeAllAlignedChunkData, the time-only chunk is 
still preserved.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to