directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1155) Use the rollback mechanism to restore the base when schema is modified
Date Sat, 22 Mar 2008 08:39:24 GMT


Emmanuel Lecharny commented on DIRSERVER-1155:

Yes, it should be quite straightforward to implement it. We may even simply choose to revert
to the previous configuration, if some problem arise. We just have to tag the correct version.

At lelast, I would say we have all the needed mechanisms to implement this feature, we just
have to double think about what would be the best implementation from the user point of view
to. I will try to describe some scenario for this.

> Use the rollback mechanism to restore the base when schema is modified
> ----------------------------------------------------------------------
>                 Key: DIRSERVER-1155
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: New Feature
>    Affects Versions: 1.5.1
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0
> It would be a great improvement to be able to rollback a schema modification if the schema
is invalid. 
> For instance, injecting a wrong schema will result in an error when restarting the server,
forbiding you to use the server anymore, unless the schema directory is destroyed.
> This is axceptable if you inject the modifications in one shot, but certainly not if
it's done little by little.
> I wouls suggest that we track schema modifications somwhere in the DIT (like what we
do with LDIF inject files), and allow the user to launch the server with an option telling
the server to restart in the latest correct schema version.
> Another option would be to revert to the previous version if we get an error while loading
the schema.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message