wshao08 opened a new pull request #2063:
URL: https://github.com/apache/iotdb/pull/2063


   A merge lock has already been added locking the whole Last query procedure, 
however, this procedure may take a long time. 
   This PR refactor the Last query execution process, separating it into 
multiple stages:
   
   1. Get Last result by accessing cache.
   2. Hold merge lock and obtain query resource.
   3. Scan TsFiles to get Last value.
   
   Now only the stage 2 will be locked.


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

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


Reply via email to