Method and system for maintaining consistency during multi-threaded processing of LDIF data
    41.
    发明授权
    Method and system for maintaining consistency during multi-threaded processing of LDIF data 失效
    在LDIF数据的多线程处理过程中保持一致性的方法和系统

    公开(公告)号:US07548989B2

    公开(公告)日:2009-06-16

    申请号:US10611144

    申请日:2003-07-01

    IPC分类号: G06F12/00

    摘要: A method, a system, an apparatus, and a computer program product are presented for loading LDIF ((Lightweight Directory Access Protocol (LDAP) Data Interchange Format) data into a directory. A single reader thread reads entries from an LDIF file; each entry is associated with a priority value, e.g., the priority value for an entry may be based on the number of delimiters in the distinguished name within the entry. Multiple loading threads concurrently add the entries into an LDAP directory in accordance with their associated priority values. The entries are added to the LDAP directory in an order of highest indicated priority to lowest indicated priority; entries that are associated with priority values that indicate equal priority are considered to be equivalent for the purposes of ordering the entries, so entries that have equal priority may be added to the LDAP directory in any order.

    摘要翻译: 提出了一种方法,系统,装置和计算机程序产品,用于将LDIF((轻量级目录访问协议(LDAP)数据交换格式)数据加载到目录中。单个阅读器线程从LDIF文件读取条目;每个条目 与优先级值相关联,例如,条目的优先级值可以基于条目中的可分辨名称中的分隔符数量。多个加载线程根据其相关联的优先级值将条目同时添加到LDAP目录中。 这些条目按照最高指示优先级到最低指定优先级的顺序添加到LDAP目录;为了排序条目,与优先级值相关联的表示相同优先级的条目被认为是等效的,因此具有相同优先级的条目 可以以任何顺序添加到LDAP目录。