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

CQL Protocol should allow multiple PreparedStatements to be atomically executed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0 beta 1
    • None

    Description

      Currently the only way to insert multiple records on the same partition key, atomically and using PreparedStatements is to use a CQL BATCH command. Unfortunately when doing so the amount of records to be inserted must be known prior to prepare the statement which is rarely the case. Thus the only workaround if one want to keep atomicity is currently to use unprepared statements which send a bulk of CQL strings and is fairly inefficient.

      Therefore CQL Protocol should allow clients to send multiple PreparedStatements to be executed with similar guarantees and semantic as CQL BATCH command.

      Attachments

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              mfiguiere Michaël Figuière
              Sylvain Lebresne
              Aleksey Yeschenko
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: