kangpinghuang commented on issue #779: reader will failed because the version 
is compacted
URL: https://github.com/apache/incubator-doris/issues/779#issuecomment-492045007
 
 
   this problem will be solved by using the following mechanism(deferred delete 
mechanism):
   1. add a delete flag field and delete_time field to the rowset
   2. delete rowset will not be added unused rowsets queue. It will be reserved 
for a peroid(eg: 10 minutes, can be configured by config) so that the late 
reader with the old version will get the old version rowset.
   3. Tablet will manage a extra deleted rowsets queue and will check the queue 
periodically to move the timeout rowsets in the deleted rowsets queue to the 
unused rowsets in StorageEngine.
   4. One point to figure out is that make sure the rowset version can be 
obtained from version graph and can be aquired through tabblet's get_rowset api.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to