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

RowMutations fail when Delete and Put on same columnFamily/column/row

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.94.7, 0.95.0
    • None
    • regionserver
    • None
    • Ubuntu 12.04, HBase 0.94.7

    Description

      When RowMutations have a Delete followed by Put to same column family or columns or rows, only the Delete is happening while the Put is ignored so atomicity of RowMutations is broken for such cases.

      Attached is a unit test where the following tests are failing:

      • testDeleteCFThenPutInSameCF: Delete a column family and then Put to same column family.
      • testDeleteColumnThenPutSameColumn: Delete a column and then Put to same column.
      • testDeleteRowThenPutSameRow: Delete a row and then Put to same row

      Attachments

        1. tests_for_row_mutations1.patch
          11 kB
          Vinod
        2. TestRowMutations.java
          10 kB
          Vinod
        3. 8626-v1.txt
          12 kB
          Ted Yu

        Activity

          People

            Unassigned Unassigned
            vinodv26 Vinod
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: