[
https://issues.apache.org/jira/browse/HBASE-18770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16226498#comment-16226498
]
Chia-Ping Tsai commented on HBASE-18770:
----------------------------------------
bq. A CP could try setting compression context, original sequence id (needed at
WAL Replay time), and replication scope can be edited as the WAL Key is
replicated to different peers. I added a warning on each CP method that WALKey
should not be modified
What we want to fix for {{WALKey}} are shown below.
# expose some methods to CP user safety
# refactor/redo
As I see it, adding an interface exposed to CP user for {{WALKey}} is a right
choice because it can bring some benefit.
# We can expose part of {{WALKey}}'s methods to CP users - a read-only
interface or an interface with some modifiable setting.
# The related CP hooks won't be deprecated
# Doing the refactor for {{WALKey}} doesn't essentially impact the CP hook
after 2.0 release. Although, it will be better to redo {{WALKey}} before 2.0
release.
In short, I think it warrants such an interface.
bq. I could file a follow-on and schedule it for beta-1.
yep, it seems a bunch of work to do. :)
> Remove bypass method in ObserverContext and implement the 'bypass' logic case
> by case
> -------------------------------------------------------------------------------------
>
> Key: HBASE-18770
> URL: https://issues.apache.org/jira/browse/HBASE-18770
> Project: HBase
> Issue Type: Sub-task
> Components: Coprocessors
> Reporter: Duo Zhang
> Assignee: stack
> Priority: Critical
> Fix For: 2.0.0-alpha-4
>
> Attachments: HBASE-18770.master.001.patch,
> HBASE-18770.master.002.patch, HBASE-18770.master.003.patch,
> HBASE-18770.master.004.patch, HBASE-18770.master.005.patch,
> HBASE-18770.master.006.patch, HBASE-18770.master.007.patch,
> HBASE-18770.master.008.patch, HBASE-18770.master.009.patch,
> HBASE-18770.master.010.patch, HBASE-18770.master.011.patch
>
>
> http://search-hadoop.com/m/HBase/YGbbXd0RDCIHSC1
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)