Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4096

Disallow DML operations on connections with CURRENT_SCN set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.12.0
    • None

    Description

      We should make a connection read-only if CURRENT_SCN is set. It's really a bad idea to go back in time and update data and it won't work with secondary indexing, potentially leading to your index and table getting out of sync.

      For testing purposes, where we need to control the timestamp, we should rely on the EnvironmentEdgeManager instead to control the current time.

      Attachments

        1. PHOENIX-4096_wip.patch
          65 kB
          James R. Taylor
        2. PHOENIX-4096_wip1.patch
          88 kB
          James R. Taylor
        3. PHOENIX-4096_v2.patch
          94 kB
          James R. Taylor
        4. PHOENIX-4096_v3.patch
          115 kB
          James R. Taylor

        Issue Links

          Activity

            People

              jamestaylor James R. Taylor
              jamestaylor James R. Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: