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

Runtime-configurable YAML option to prohibit USE statements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.1-alpha1, 4.1
    • CQL/Syntax
    • None

    Description

      The ambiguity around prepared statements without fully qualified table names has led to a number of sub-optimal outcomes for our users. With CASSANDRA-15252 and CASSANDRA-17248 resolved, there aren't any lingering known issues, but operators may still want to cordon USE statements off completely. This is especially important if we plan to deprecate and remove USE at some point in the future.

      A couple details...

      1.) The new option will be opt-in.
      2.) It will be possible to change at runtime.
      3.) There will be a new metric for USE that tells us whether it's been used at all. (This should make it easier to disable USE for an existing cluster where we don't know a-priori that it isn't in play.)

      Attachments

        Activity

          People

            maedhroz Caleb Rackliffe
            maedhroz Caleb Rackliffe
            Caleb Rackliffe
            David Capwell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h