virajjasani commented on PR #5545:
URL: https://github.com/apache/hbase/pull/5545#issuecomment-2000651680

   > i just verified with HBase 2.6 (branch-2) that the flush writes only 
maxVersions versions to the new HFile.
   
   Btw this also means that raw scan (that reads all versions) can have 
different results while scanning the cell with multiple versions because if we 
do raw scan before flush, we will get all versions written by user (regardless 
of max versions set at the table descriptor), however if we do raw scan after 
flush, we will get only max versions num of versions for the given cell.
   
   It is expected or perhaps we should document that anyone doing raw scan 
should read only max versions num of versions during the scan, otherwise (if 
they read all versions during raw scan) they can observe different results 
before and after flush operation.
   
   This behavior has nothing to do with this PR though.


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