-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 6554 - During import of entries without nsUniqueId, a supplier …
…generates duplicate nsUniqueId (LMDB only) Bug description: During an import the entry is prepared (schema, operational attributes, password encryption,...) before starting the update of the database and indexes. A step of the preparation is to assign a value to 'nsuniqueid' operational attribute. 'nsuniqueid' must be unique. In LMDB the preparation is done by multiple threads (workers). In such case the 'nsuniqueid' are generated in parallel and as it is time based several values can be duplicated. Fix description: To prevent that the routine dbmdb_import_generate_uniqueid should make sure to synchronize the workers. fixes: #6554 Reviewed by:
- Loading branch information
Showing
2 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters