Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1039

Database creation should fail if specified log device path already exists

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.1.2.1, 10.2.1.6, 10.3.1.4
    • 10.1.3.1, 10.2.1.6
    • Store
    • None

    Description

      If a database is created with logDevice pointing to a directory
      containing old log files, one might experience errors during recovery.

      ERROR XSDB4: Page Page(0,Container(0, 768)) is at version 2,657, the
      log file contains change version 2,715, either there are log records
      of this page missing, or this page did not get written out to disk
      properly.

      To avoid this problem, database creation should fail if logDevice is
      pointing to an existing directory.

      Attachments

        1. derby-1039.diff
          18 kB
          Suresh Thalamati
        2. logd.sql
          1 kB
          Knut Anders Hatlen

        Activity

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

          People

            tsuresh Suresh Thalamati
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment