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

boli
09.20.2007 81c0eef4f2ae79b193c55ec6b75137425bb3afea
refs
author boli <boli@localhost>
Friday, November 9, 2007 23:20 +0100
committer boli <boli@localhost>
Friday, November 9, 2007 23:20 +0100
commit81c0eef4f2ae79b193c55ec6b75137425bb3afea
tree 484a143e3f5dff55080b751fc6b288a4a4401952 tree | zip | gz
parent 663030798a879bb19e51da910b095f60ed20eb08 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
opendj-sdk/opends/src/messages/messages/jeb.properties 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 27 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/Index.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/RootContainer.java 126 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/VLVIndex.java 2 ●●● diff | view | raw | blame | history