Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1406

Rejecting an incorrect LDIF entry of config or schema partitions and reverting it to the last known stable state

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 2.1.0
    • schema
    • None

    Description

      (excerpt from the IRC chat on #apache-directory-dev)

      Basically if we encounter an LDIF that is incorrect or correct yet invalid based on schema information during the LDIF entry validation stage, then the server will ...
      1). not accept the alteration made (we have timestamps and a changelog to detect this)
      2). move the change to original-file-name.rejected
      3). revert the old state of that schema object using the changelog

      The combination of options 2&3 will be cool to have so that we can always keep the server in a stable running condition (assuming that it was started initially from a correct base) or can be restarted without having problems if it was started after making a wrong configuration/schema change.

      Attachments

        Activity

          People

            Unassigned Unassigned
            akiran Kiran Ayyagari
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: