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

Database creation should fail if specified log device path already exists

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1.2.1, 10.2.1.6, 10.3.1.4
    • Fix Version/s: 10.1.3.1, 10.2.1.6
    • Component/s: Store
    • Labels:
      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. logd.sql
          1 kB
          Knut Anders Hatlen
        2. derby-1039.diff
          18 kB
          Suresh Thalamati

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: