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

Database creation should fail if specified log device path already exists

    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. logd.sql
          1 kB
          Knut Anders Hatlen
        2. derby-1039.diff
          18 kB
          Suresh Thalamati

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: