You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/10/19 10:18:48 UTC

[GitHub] [iotdb] HeimingZ opened a new pull request, #7662: [IOTDB-4694] Make sure memTable snapshot is made before flush operation

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

   ## Cause
   
   Memtable flush may occur when snapshoting, but rowCount in the TVList will be set to 0 when memtable is flushed and released, so the snapshot will throw an ArrayIndexOutOfBoundsException. 
   
   ## Solution
   
   - Synchronize memTable when snapshoting, make sure mamtable will not be released.
   - Call flushed listener after memtable is released safely.


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [iotdb] HTHou merged pull request #7662: [IOTDB-4694] Make sure memTable snapshot is made before flush operation

Posted by GitBox <gi...@apache.org>.
HTHou merged PR #7662:
URL: https://github.com/apache/iotdb/pull/7662


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org