removed append from import-ldif

This topic has 3 replies, 3 voices, and was last updated 3 years ago by ShitalPatil.

  • Author
    Posts
  • #17993
     ShitalPatil
    Participant

    In OpenDJ 3.0, default import type is overwrite and has no option to append. Wondering why “append” it removed from import-ldif.

    #17995
     Ludo
    Moderator

    The Append mode has been removed because we reorganised the backends to support different embedded key-value stores and not all stores could support append.
    Beside, doing an import append does break replication and requires to fully re-initialize all replicas.
    You should use ldapmodify -a to add new records. If it’s not fast enough, you should split the input file in multiple subsets and add all subsets in parallel.

    #18005
     JnRouvignac
    Participant

    Note: there is a related issue opened for ldap modify to support parallel import: https://bugster.forgerock.org/jira/browse/OPENDJ-4108

    #18266
     ShitalPatil
    Participant

    Thanks Ludo.
    But “ldapmodify -a” doesnot work on attributes where NO-USER-MODIFICATION is defined in schema(like createTimestamp, modifiersName ….)
    In our product while upgrading, we need to preserve existing node and add a new node as well(which was done by append).

    Do we have any ldif merge kind of mechanism, by which we can simulate append?

    thanks in advance.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

©2020 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?