[ 
https://issues.apache.org/jira/browse/HBASE-11729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098562#comment-14098562
 ] 

Anoop Sam John commented on HBASE-11729:
----------------------------------------

bq.How does the writer know if it's in a compaction vs a flush?
The writer decided whether to write the tags part (0 length atleast) based on 
HFileContext#isIncludesTags()
Up the layer, during flush this will be true.
In compaction we check the MAX_TAGS_LENGTH and decide.

> Document HFile v3
> -----------------
>
>                 Key: HBASE-11729
>                 URL: https://issues.apache.org/jira/browse/HBASE-11729
>             Project: HBase
>          Issue Type: Task
>          Components: documentation, HFile
>    Affects Versions: 0.98.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Trivial
>              Labels: beginner
>         Attachments: HBASE-11729.patch, HBASE-11729.pdf
>
>
> 0.98 added HFile v3. There are a couple of mentions of it in the book on the 
> sections on cell tags, but there isn't an actual overview or design 
> explanation like there is for [HFile 
> v2|http://hbase.apache.org/book/hfilev2.html].



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to