Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17775

[Thrift] Correcting wording about transaction support for mutateRows/mutateRowsTs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Thrift
    • None

    Description

      It doesn't make sense that mutateRows/mutateRowsTs API (over thrift) says 'transaction' is aborted if an exception is thrown while HBase only supports a single row transcation, ACID-wise. This feels misleading statement for users.

      https://github.com/apache/hbase/blob/rel/1.3.0/hbase-thrift/src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift#L557-L592

        /** 
         * Apply a series of batches (each a series of mutations on a single row)
         * in a single transaction.  If an exception is thrown, then the
         * transaction is aborted.  Default current timestamp is used, and
         * all entries will have an identical timestamp.
         */
      

      This patch does make change from transaction to attempt.

      Attachments

        1. HBASE-17775-master.patch
          2 kB
          Daisuke Kobayashi

        Activity

          People

            Unassigned Unassigned
            daisuke.kobayashi Daisuke Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: