CoderYellow opened a new pull request, #363:
URL: https://github.com/apache/directory-server/pull/363

   ApacheDS supports loading startup/test LDIF entries from a directory through 
ServiceBuilder.readTestEntries(...). When the path is a directory, 
ServiceBuilder.loadEntries(...) currently uses File.listFiles(...) and iterates 
the returned array directly.
   
     File.listFiles(...) does not guarantee ordering. This makes startup LDIF 
import nondeterministic when multiple LDIF files have dependencies between 
them, for example:
   
     00-schema.ldif
     10-data.ldif
   
     In one environment the schema LDIF may load first and startup succeeds. In 
another environment the data LDIF may load first and entries can fail to import 
because required schema/object classes/attributes are not available yet.
   
     Observed Behavior
     Directory LDIF import order can vary by filesystem/environment.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to