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

TestAcidGuarantee broken on trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.89.20100621
    • 0.94.0
    • None
    • None

    Description

      TestAcidGuarantee has a test whereby it attempts to read a number of columns from a row, and every so often the first column of N is different, when it should be the same. This is a bug deep inside the scanner whereby the first peek() of a row is done at time T then the rest of the read is done at T+1 after a flush, thus the memstoreTS data is lost, and previously 'uncommitted' data becomes committed and flushed to disk.

      One possible solution is to introduce the memstoreTS (or similarly equivalent value) to the HFile thus allowing us to preserve read consistency past flushes. Another solution involves fixing the scanners so that peek() is not destructive (and thus might return different things at different times alas).

      Attachments

        1. acid.txt
          10 kB
          Michael Stack
        2. 2856-v9-all-inclusive.txt
          100 kB
          Amitanand Aiyer
        3. 2856-v8.txt
          40 kB
          Amitanand Aiyer
        4. 2856-v7.txt
          67 kB
          Amitanand Aiyer
        5. 2856-v6.txt
          40 kB
          Amitanand Aiyer
        6. 2856-v5.txt
          111 kB
          Michael Stack
        7. 2856-v4.txt
          90 kB
          Michael Stack
        8. 2856-v3.txt
          77 kB
          Michael Stack
        9. 2856-v2.txt
          41 kB
          Michael Stack
        10. 2856-0.92.txt
          92 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              amitanand Amitanand Aiyer
              ryanobjc ryan rawson
              Votes:
              0 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: