Hi!

I'm working on updating the HBase 3 support patch for Phoenix.

So far, I have identified one protentially critical issue:
The *preWalRestore* hook has been removed from the Observer interface.
It is called from org.apache.phoenix.hbase.index.Indexer , and seems to be
required for reliable operation of the old global secondary indexing code.

Now that one has been superceded by the new strongly consistent indexing
code, since 5.1, so this is not necessarily blocker, but we need to decide
how to handle this. Some options are:

A.) Ask HBase to restore the hook in HBase 3, so that the old indexing is
still usable.
B.) Document the issue, but otherwise do nothing (i.e accept the risk of
the index going out of sync)
C.) Document the issue, and log a warning/error on HBase 3.0
D.) Document the issue, and make tables with old-style indexes read-only on
HBase 3.0
E.) Something else

I personally prefer either A.) or D.)

Please share your thoughts!

Istvan

Reply via email to