Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1674 Snapshot isolation transaction support through Tephra
  3. PHOENIX-1881

Set value in our empty key value to Tephra won't treat it like a column delete

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Tephra interprets an empty column value as a Column delete. We don't want this to be the case for our empty KeyValue. Since we're only allowing a new table to be set as transactional, let's set the value in our empty KeyValue for transactional tables to a single byte. Then we can undo the change I made to force STORE_NULLS to be true for transactional tables (in MetaDataClient). In addition, we can set the TransactionAwareHTable flag to not treat an empty value as a delete if STORE_NULLS is true.

      Attachments

        Activity

          People

            tdsilva Thomas D'Silva
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: