Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3877

Make secondary indexes inherit compression (and maybe other properties) from their base CFS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.0
    • Feature/2i Index
    • None

    Description

      Secondary indexes currently use the defaults for most properties and only inherit a few properties from their base CFS (namely gc_grace and the min/max compaction thresholds currently). It would make sense to have them inherit more properties. At least compression makes sense, but the compaction parameters probably do too (and maybe bf_filter_chance?).

      In any case, making secondary indexes inherit those probably is trivial, but I think we should also make it so that if the base CF is modified, we mirror the changes to it's secondary indexes.

      Attachments

        1. 3877.patch
          3 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Pavel Yaskevich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: