Description
We are trying to fix the stats implementation, by moving it out of the Result object and into an Rpc payload (but not the 'cell payload', just as part of the values returned from the request). This change will also us use easily switch to AsyncProcess as the executor, and support stats, for nearly all the rpc calls. However, that means when you upgrade the client or server, you will lose stats visibility until the other side is upgraded. We could keep around the Result based stats storage to accommodate the old api and send both stats back from the server (in each result and in the rpc payload).
Note that we will still be wire compatible - protobufs mean we can just ride over the lack of information.
The other tricky part of this is that Result has a non-InterfaceAudience.Private getStatistics() method (along with two InterfaceAudience.Private addResults and setStatistics methods), so we might need a release to deprecate the getStats() method before throwing it out?
Attachments
Attachments
Issue Links
- is related to
-
HBASE-15629 Backport HBASE-14703 to 0.98+
- Resolved
- relates to
-
HBASE-16593 Unify HTable with AP
- Open
- links to