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

ICVs across /during a flush can cause multiple keys with the same TS (bad)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.20.0
    • 0.20.0
    • None
    • None

    Description

      We noticed a bug whereby the value in a hbase ICV'ed counter was lower, and the bug turned out to be that during a flush, the ICV will grab the KeyValue from 'memcache' and reuse the timestamp... if we grab the KeyValue from the snapshot we end up with 2 key values, one in memcache, one in a hfile, both with the same timestamp, but one with a lower value than the other.

      The fix is to not reuse timestamps if they come out of the snapshot.

      Attachments

        1. HBASE-1703.patch
          7 kB
          ryan rawson

        Activity

          People

            ryanobjc ryan rawson
            ryanobjc ryan rawson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: