Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The current approach to propagating schema changes (ie, add column) involves maintaining a GlobalCache of table schema on both clients and in RS coprocessors. This schema information is versioned, and query timestamp is used to determine when the cache is considered stale and needs updated. This causes problems for users who specify a timestamp either via connection settings (ie, PHOENIX-2607) or using the ROW_TIMESTAMP feature. Presumably this will also negatively impact users of the Tephra transaction system as it uses the cell timestamp to store transaction id.
We need some other means of propagating schema changes throughout the cluster. One approach might be a ZK node for each table that can notify coprocessors (and clients?) that their cache is stale.
Attachments
Issue Links
- is related to
-
PHOENIX-2940 Remove STATS RPCs from rowlock
- Closed