Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3761 CQL 3.0
  3. CASSANDRA-3707

Add KeyspaceChange CqlResultType

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • 1.1.2
    • Legacy/CQL

    Description

      High level clients want to handle failover and load balancing transparently to the application, which means not just connection pooling but moving an existing connection to another server if necessary. When this happens, the client needs to know what the active keyspace was before failover, so it can set it to the same one in the new connection.

      Currently some clients handle this by checking for "SET KEYSPACE" queries, which violates the design principle that clients shouldn't have to parse CQL. Adding a new CqlResultType (that is set in response to a SET KEYSPACE command) would make this unnecessary.

      Attachments

        1. trunk-3707.txt
          2 kB
          satish babu krishnamoorthy

        Activity

          People

            satishbabu satish babu krishnamoorthy
            jbellis Jonathan Ellis
            satish babu krishnamoorthy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: