You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2017/08/17 20:29:00 UTC

[jira] [Created] (PHOENIX-4096) Disallow DML operations on connections with CURRENT_SCN set

James Taylor created PHOENIX-4096:
-------------------------------------

             Summary: Disallow DML operations on connections with CURRENT_SCN set
                 Key: PHOENIX-4096
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4096
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)