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

   ## Description
   When writes occur between the prepare phase and actual query execution,
   TVList sorting may include newly written rows and increase the row count.
   If the query continues to use the stale queryRowCount captured during
   prepare, bitmap construction may access out-of-bounds indices.
   
   This change refreshes the rowCount after sorting and ensures bitmap
   operations use the updated value.


-- 
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