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 2021/03/24 13:27:00 UTC

[jira] [Created] (OAK-9391) read-only mode for NodeStore

Julian Reschke created OAK-9391:
-----------------------------------

             Summary: read-only mode for NodeStore
                 Key: OAK-9391
                 URL: https://issues.apache.org/jira/browse/OAK-9391
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: documentmk
            Reporter: Julian Reschke


Scenario:
 * "hot-standby" system is running and gets replicated DB contents from "primary" system, but has only read-only access to DB
 * standby system should be up and running and be able to do retrieval operations
 * at some point standby system is granted write access, and start behaving like a regular read-write system

I believe part of this is already here (DocumentStore in read-only mode). What would be needed:
 * DocumentNodeStore detecting that DocumentStore is read-only
 * Reject write operations while this is the case
 * Detect that the DS changed to read-write (could be because cluster node registration stops to fail(
 * Switch to read/write



--
This message was sent by Atlassian Jira
(v8.3.4#803005)