HBase
  1. HBase
  2. HBASE-8626

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.94.7, 0.95.0
    • Fix Version/s: None
    • Component/s: regionserver
    • Labels:
      None
    • Environment:

      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
      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

          • Assignee:
            Ted Yu
            Reporter:
            Vinod
          • Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development