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

Successful LWT INSERT should return any server generated values

    XMLWordPrintableJSON

Details

    Description

      A failed LWT INSERT returns the row that prevented insertion, along with [applied] boolean value. A successful LWT INSERT only returns [applied].
      It would be helpful to also return any other server generated values, e.g. NOW() as [now] (or whatever).
      There is currently no way to know what exactly was inserted without re-querying the row, which is horrible for write-throughput.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nilskp Nils Kilden-Pedersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: