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

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

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 1
    • Component/s: None
    • Labels:

      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

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              slebresne Sylvain Lebresne
              Authors:
              Sylvain Lebresne
              Reviewers:
              Yuki Morishita
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: