Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2941

Alternative means of propagating schema changes

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: