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

Give applications a way to request that Derby consistency-check crashed databases.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.11.1.1
    • Fix Version/s: None
    • Component/s: SQL, Store
    • Labels:
      None
    • Urgency:
      Normal

      Description

      It is common for operating systems to scan/repair the entire file system after a machine crash. Similarly, it may be possible/desirable for Derby to consistency-check conglomerates when a database is booted after coming down ungracefully. A couple issues are worth considering:

      1) This could be an expensive operation on a large database.

      2) Derby can't tell the difference between a machine crash and an application crash.

      The behavior change would be noticeable for complex, crash-prone applications with large databases. That argues against making this the default behavior. Applications would need to opt into this extra consistency checking.

      This enhancement request comes out of a discussion on DERBY-5221.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rhillegas Richard N. Hillegas
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: