mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
09.20.2007 42d43dc414e477fa875c1d815d74297252ec412b
refs
author boli <boli@localhost>
Friday, November 9, 2007 23:20 +0100
committer boli <boli@localhost>
Friday, November 9, 2007 23:20 +0100
commit42d43dc414e477fa875c1d815d74297252ec412b
tree 54c969ae2908c8229e66231f5dbf7e56d79b8bdc tree | zip | gz
parent ee9f61d6617bf22bc1986168abbeda3395119aaa view | diff
This set of updates fix several issues related to the JEB backend:

1. The db directory is now automatically created if it doesn't alreadly exist. When changing the db directory, a message is now displayed to let the user know the files will have to be manually moved and the backend restarted. (Issue 1979)

2. The backend no longer uses the Database.count method in JE as it is too expensive for large databases. The count can also be inaccurate when concurrent operations are executing on the server. This was causing the getEntryCount method up to 20 seconds to return. The count is now obtained from the id2subtree index. If the count is not maintained or the index is corrupt, it will fall back to using Database.count. (Issue 2581 and Issue 2420)

5 files modified
161 ■■■■■ changed files
opends/src/messages/messages/jeb.properties 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 27 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/Index.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/RootContainer.java 126 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/VLVIndex.java 2 ●●● diff | view | raw | blame | history