Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-9424 Schema Improvements
  3. CASSANDRA-13860

Make pulling schema from remote nodes more lightweight

    XMLWordPrintableJSON

Details

    Description

      Our current mechanism for resolving schema differences detected via gossip is quite heavyweight: we request the complete schema from a node, which often results in some very heavy mutations. But in most cases this shouldn't be necessary, as the delta is usually quite small.

      We may want to instead negotiate the difference based on schema graph merkle tree (all -> keyspace -> tables/views/types/etc.). This assumes that by then we'd switch to calculating schema digests bases on in-memory representation of Schema, without going to disk.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aleksey Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: