Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-555 Unable to restart after disk is full
  3. DERBY-600

Document that DB is booted in read-only mode if not able to create db.lck file

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 10.12.1.1
    • Documentation
    • None
    • Low

    Description

      I suggest adding the following to the Developer's Guide after "Double-booting system behavior":

      Booting a database in read-only mode

      If Derby is not able to create the db.lck file when booting a database, the database will be booted in read-only mode. This may happen due to lack of disk space or access rights for the database directory. In this case, the boot message in the error log will look like the following:

      <pre>
      2005-10-04 12:12:30.835 GMT:
      Booting Derby version The Apache Software Foundation - Apache Derby - 10.2.0.0 alpha - (293288M): instance c013800d-0106-bb8c-12e6-00001672f894
      on database directory sample in READ ONLY mode
      </pre>

      See also "Creating Derby databases for read-only use"

      Attachments

        1. DERBY-600.diff
          1 kB
          Myrna van Lunteren
        2. cdevdvlp20458.html
          6 kB
          Myrna van Lunteren
        3. DERBY-600_2.diff
          1 kB
          Myrna van Lunteren
        4. cdevdvlp20458.html
          6 kB
          Myrna van Lunteren

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            myrna Myrna van Lunteren
            oysteing Oystein Grovlen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment