You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2015/12/07 15:59:11 UTC

[jira] [Created] (OAK-3739) RDB*Store: allow schema evolution

Julian Reschke created OAK-3739:
-----------------------------------

             Summary: RDB*Store: allow schema evolution
                 Key: OAK-3739
                 URL: https://issues.apache.org/jira/browse/OAK-3739
             Project: Jackrabbit Oak
          Issue Type: Technical task
          Components: rdbmk
            Reporter: Julian Reschke
            Assignee: Julian Reschke


In the future, we may have to add new table columns (for instance, see OAK-3730).

We can somewhat decouple database changes from code changes by only using new columns when they are present.

However, we need to make sure that once the columns have been added and the system has started to use them, no older code writes to the DB (potentially causing inconsistencies because of not updating these columns).

To prevent this, code could check that it understands all columns it finds on startup. If there are unknown columns, it would need to abort and log an error that explains the compatibility issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)