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

CQL3: allow to define a per-cf default consistency level

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.0 beta 1
    • None

    Description

      One of the goal of CQL3 is that client library should not have to parse queries to provide a good experience. In particular, that means such client (that don't want to parse queries) won't be able to allow the user to define a specific default read/write consistency level per-CF, forcing user to specific the consistency level with every query, which is not very user friendly.

      This ticket suggests the addition of per-cf default read/write consitency level. Typically the syntax would be:

      CREATE TABLE foo (...)
      WITH DEFAULT_READ_CONSISTENCY = QUORUM
       AND DEFAULT_WRITE_CONSISTENCY = QUORUM
      

      Attachments

        1. 4448.txt
          18 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Yuki Morishita
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: