Bug 591336 - Implementing upgrade DN format tool
Summary: Implementing upgrade DN format tool
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Database - Import/Export
Version: 1.2.6
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 434914 389_1.2.6
TreeView+ depends on / blocked
 
Reported: 2010-05-11 22:35 UTC by Noriko Hosoi
Modified: 2015-12-07 16:44 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-07 16:44:46 UTC
Embargoed:


Attachments (Terms of Use)
git patch file (8.2) (112.16 KB, patch)
2010-05-11 23:02 UTC, Noriko Hosoi
nhosoi: review?
rmeggins: review+
Details | Diff
git patch file (9.0) (3.34 MB, patch)
2010-05-17 19:02 UTC, Noriko Hosoi
nhosoi: review?
rmeggins: review+
Details | Diff
git diff (ldbm_entryrdn.c) (2.29 KB, patch)
2010-05-18 00:06 UTC, Noriko Hosoi
nhosoi: review?
rmeggins: review+
Details | Diff
git commit message (3.04 KB, text/plain)
2010-05-18 05:51 UTC, Noriko Hosoi
no flags Details

Description Noriko Hosoi 2010-05-11 22:35:59 UTC
Description of problem:
http://directory.fedoraproject.org/wiki/Upgrade_to_New_DN_Format#Migration.2FUpgrade

Comment 1 Noriko Hosoi 2010-05-11 23:02:34 UTC
Created attachment 413284 [details]
git patch file (8.2)

Comment 2 Noriko Hosoi 2010-05-12 18:17:55 UTC
Reviewed by Rich and Nathan (Thank you!!!)

Pushed to Directory_Server_8_2_Branch
Counting objects: 78, done.
Compressing objects: 100% (40/40), done.
Writing objects: 100% (41/41), 24.85 KiB, done.
Total 41 (delta 35), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
   e7a81dd..142d7ad  ds82-local -> Directory_Server_8_2_Branch

Comment 3 Noriko Hosoi 2010-05-17 19:02:11 UTC
Created attachment 414639 [details]
git patch file (9.0)

Change description:
    . adding upgradednformat utility to each server instance.
    . adding 91upgradednformat.pl for in-place-upgrade.
    . implementing ldbm_back_upgradednformat sharing the import/
      reincexing codes.
    . adding a new DBVERSION ID "dn-4514" for the upgraded db.
    . fixing access logs (delete.c and modify.c)
    . fixing compiler warnings.
    . fixing memory leaks.
    . fixing a bug in syntax plugin to free strings.
    . adding templates for plugin id, version, vendor, and description,
      which are needed for the online upgrade.
    . dbversion_write takes an additional bit flags, which indicates
      which extra DBVERSION strings are written to the DBVERSION file.
      It was introduced for the upgrade tools not to intervene each
      other's tasks (e.g., dn2rdn for converting entrydn to entryrdn
      and upgradednformat for upgrading the DN format).
    
See also:
    http://directory.fedoraproject.org/wiki/Upgrade_to_New_DN_Format#Migration.2

Comment 4 Noriko Hosoi 2010-05-18 00:06:17 UTC
Created attachment 414698 [details]
git diff (ldbm_entryrdn.c)

In addition to 414639: git patch file (9.0), this patch is needed to handle entries which RDN(s) consist of multiple attribute type/value pairs separated with '+'.

Comment 5 Noriko Hosoi 2010-05-18 05:51:59 UTC
Created attachment 414738 [details]
git commit message

Reviewed by Rich (Thank you!!)

Pushed to master.

commit c12c48f47a0cdd7282950fa25e5e7548dd1c5ab0
Author: Noriko Hosoi <nhosoi>
Date:   Mon May 17 16:47:55 2010 -0700

    591336 - Implementing upgrade DN format tool
    
    Change description:
    . adding upgradednformat utility to each server instance.
    . adding 91upgradednformat.pl for in-place-upgrade.
    . implementing ldbm_back_upgradednformat sharing the import/
      reincexing codes.
    . adding a new DBVERSION ID "dn-4514" for the upgraded db.
    . fixing access logs (delete.c and modify.c)
    . fixing compiler warnings.
    . fixing memory leaks.
    . fixing a bug in syntax plugin to free strings.
    . adding templates for plugin id, version, vendor, and description,
      which are needed for the online upgrade.
    . dbversion_write takes an additional bit flags, which indicates
      which extra DBVERSION strings are written to the DBVERSION file.
      It was introduced for the upgrade tools not to intervene each
      other's tasks (e.g., dn2rdn for converting entrydn to entryrdn
      and upgradednformat for upgrading the DN format).
    . fixing a bug in entryrdn index code which was missing to normalize
      RDN.
    
    See also:
    https://bugzilla.redhat.com/show_bug.cgi?id=591336
    http://directory.fedoraproject.org/wiki/Upgrade_to_New_DN_Format#Migration.2FUpgrade

Comment 6 Jenny Severance 2010-05-27 17:57:44 UTC
closing verified - this Development task has been completed and any issues with upgrading to the new DN format will be addressed in specific bugs.


Note You need to log in before you can comment on or make changes to this bug.