directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <m...@stefan-seelmann.de>
Subject Re: [jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing
Date Sun, 25 Mar 2018 17:32:18 GMT
On 03/25/2018 01:00 PM, Lothar Haeger wrote:
> Stefan Seelmann (JIRA) wrote:
> 
>> I think it's easier to change the code to load the schema from LDIF lazily
>> when using it the first time.
> 
> While I think that's a good move, what exactly happens when I delete the
> schema-*ldif files? Does Studio recreate them next time when opening a
> connection?

Yes, every time the connection is opened and the schema is loaded it is
written to disk.

> If so, I'd really like to see an option to not cache schema between sessions
> and thus force reading it on every (re-)connect, simply because in my use case
> (Identity Management with NetIQ IDM & Edirectory) we do a lot of schema
> extensions and have to refresh it all the time to be sure looking at the
> current version (which might have been extended by someone else in the mean
> time).
> 
> This bug would not bother anyone runnign Studio in
> do-not-cache-schema-between-sessions mode as a side effect.

Good point. In theory when opening the connection Studio checks if the
remote schema was updated (based on modifyTimeStamp) but it was multiple
times reported that this doesn't work reliable. Do you want to give it a
try? Let me know if you need pointers to the code.

Kind Regards,
Stefan

PS: Unfortunately those replies aren't picked up by Jira...


Mime
View raw message