Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-214

Allow to set Fuseki (or a single dataset) in read-only mode (and eventually, back into read-write mode)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Fuseki
    • None

    Description

      A very useful MgtCmdServlet with commands such as: "backup", "shutdown", etc. is now available in Fuseki.
      This is proposing a new command to set the server (or a single dataset) in read-only mode and back into read-write mode.
      A use case for this would be to perform a replication via rsync, in order to replicate TDB indexes from server A to server B both servers needs to be set to read-only mode first, the replication can start, when it finishes both servers can be configured back to read-write mode.
      Another use case would be, enabling a backup with an external tool or any other operation which needs to have exclusive access to TDB indexes and/or ensure all data has been flushed to disk and there are no in-flight write transactions.

      See also a relevant message from jena-dev mailing list:

      Attachments

        1. ActionReadOnly.java
          4 kB
          Paolo Castagna

        Issue Links

          Activity

            People

              Unassigned Unassigned
              castagna Paolo Castagna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: