[
https://issues.apache.org/jira/browse/HBASE-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710153#action_12710153
]
stack commented on HBASE-1304:
------------------------------
FYI, Ryan put up trunk+1304v7 here:
http://github.com/ryanobjc/hbase/tree/hbase-1304 Lets work off here going
forward?
Also, from #hbase:
20:47 < dj_ryan> jgray
20:47 < dj_ryan> so my thought is
20:47 < dj_ryan> if you say that deletes always apply to later files
20:47 < dj_ryan> for optimization in gets
20:47 < dj_ryan> when you minor compact you may run into the situation where
deletes apply to puts from the same file
21:16 < dj_ryan> here's what i am thinking
21:17 < dj_ryan> lets say you have (for the same, row, cf, cq)
21:17 < dj_ryan> delete, 6
21:17 < dj_ryan> then
21:17 < dj_ryan> no
21:17 < dj_ryan> start over
21:17 < dj_ryan> row1,fam,col1, 10, put, X
21:17 < dj_ryan> row1,fam,col1, 9, delete
21:17 < dj_ryan> next file:
21:18 < dj_ryan> row1,fam,col1,8,put
21:18 < dj_ryan> <end>
21:18 < dj_ryan> ok so this is great
21:18 < dj_ryan> the delete applies to the 2nd file
21:18 < dj_ryan> but during a minor compaction we end up with:
21:18 < dj_ryan> row1,fam,fol1, 10, put x
21:18 < dj_ryan> row1,fam,col1, 9, delete
21:18 < dj_ryan> row1, fam, col1, 8, put
21:18 < dj_ryan> and now we have a situation where the delete applies to a put
of the same file
> New client server implementation of how gets and puts are handled.
> -------------------------------------------------------------------
>
> Key: HBASE-1304
> URL: https://issues.apache.org/jira/browse/HBASE-1304
> Project: Hadoop HBase
> Issue Type: Improvement
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Jonathan Gray
> Priority: Blocker
> Fix For: 0.20.0
>
> Attachments: hbase-1304-v1.patch, HBASE-1304-v2.patch,
> HBASE-1304-v3.patch, HBASE-1304-v4.patch, HBASE-1304-v5.patch,
> HBASE-1304-v6.patch, HBASE-1304-v7.patch
>
>
> Creating an issue where the implementation of the new client and server will
> go. Leaving HBASE-1249 as a discussion forum and will put code and patches
> here.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.