Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-167

Make Cassandra keyspace consistency configurable within gora.properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.2.1
    • 0.5
    • gora-cassandra
    • None

    Description

      Current in CassandraClient#checkKeyspace() consistency is hard coded such that consistency level is .ONE which permits consistency to wait until one replica has responded. This could be improved to enable users to specify other consistency profiles e.g.

      ANY: Wait until some replica has responded.
      ONE: Wait until one replica has responded.
      TWO: Wait until two replicas have responded.
      THREE: Wait until three replicas have responded.
      LOCAL_QUORUM: Wait for quorum on the datacenter the connection was stablished.
      EACH_QUORUM: Wait for quorum on each datacenter.
      QUORUM: Wait for a quorum of replicas (no matter which datacenter).
      ALL: Blocks for all the replicas before returning to the client.

      Configuration should be made available through gora.properties

      Attachments

        1. GORA-167v5.patch
          25 kB
          Renato Javier Marroquín Mogrovejo
        2. GORA-167v4.patch
          25 kB
          Renato Javier Marroquín Mogrovejo
        3. GORA-167v3.patch
          23 kB
          Lewis John McGibbney
        4. GORA-167v2.patch
          20 kB
          Lewis John McGibbney
        5. GORA-167.patch
          11 kB
          Lewis John McGibbney

        Issue Links

          Activity

            People

              lewismc Lewis John McGibbney
              lewismc Lewis John McGibbney
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: