jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (Jira)" <j...@apache.org>
Subject [jira] [Created] (OAK-9391) read-only mode for NodeStore
Date Wed, 24 Mar 2021 13:27:00 GMT
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)

Mime
View raw message