Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-89

Allow converting existing tables to use transactions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.3
    • None

    Description

      We should provide a way to convert existing tables to be transactional. The main problem is the existing data in the tables, which will have been written with normal millisecond timestamps, instead of transaction IDs. If TTL is enabled on the table, for example, all of the existing data could be erroneously TTL'd due to the multiplier used for the timestamp portion of transaction IDs.

      To handle the TTL case, we could apply a simple heuristic when inspecting cell timestamps. If the timestamp is less that the current time in milliseconds, times a small multiplier to guard against clock skew, then TTL is applied based on milliseconds. Otherwise TTL is applied as currently handled, using effectively nanosecond precision.

      Attachments

        Issue Links

          Activity

            People

              poorna Poorna Chandra
              ghelmling Gary Helmling
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: