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

BATCH with multiple CAS operations should return add information which DML failed

    XMLWordPrintableJSON

Details

    Description

      A BATCH like this

      BEGIN BATCH
        INSERT INTO foo (id, num) VALUES (42, 11);
        INSERT INTO bar (id, num) VALUES (42, 11);
      APPLY BATCH;
      

      Should not only return [applied]=false, id=42, num=11 but also for example the index of the failed statement in the batch. This allows better error handling on the client.

      Attachments

        Activity

          People

            Unassigned Unassigned
            snazy Robert Stupp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: