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

boli
27.58.2007 ffb9044301d1c169f934e0adf4f473e99da39a47
refs
author boli <boli@localhost>
Monday, August 27, 2007 20:58 +0200
committer boli <boli@localhost>
Monday, August 27, 2007 20:58 +0200
commitffb9044301d1c169f934e0adf4f473e99da39a47
tree f34830bc6dc22b2aad89605d0f0d0ede20f90ce7 tree | zip | gz
parent adeeb9ea8d0c17ae1d84b86e4ff60e459d82ef42 view | diff
This adds the numSubordinates and hasSubordinates operational attribute support in OpenDS.
- Implemented as virtual attributes
- They are enabled by default
- numSubordinates and hasSubordinates methods added to the backend API and implemented for all existing backends
- JE implementation uses the id2children index to keep count of the number of subordinates for each entry.
- The behavior of exceeding the index-entry-limit (ALL-IDs) has changed to store a 8 byte entry ID set count with the most significant bit
set to 1 instead of a 0 byte array to signify the index-entry-limit has been exceeded. The previous format is still compatible but all requests
for numSubordinates will return undefined (-1).
- The DBTest tool is also included in this fix. This can be used to list root containers, entry containers, database containers, index
status, as well as dumping a database with or without decoding the data.

Fix for issues 43 and 72
7 files added
22 files modified
4672 ■■■■■ changed files
opends/resource/bin/dbtest 37 ●●●●● diff | view | raw | blame | history
opends/resource/bin/dbtest.bat 33 ●●●●● diff | view | raw | blame | history
opends/resource/config/config.ldif 18 ●●●●● diff | view | raw | blame | history
opends/resource/schema/00-core.ldif 9 ●●●●● diff | view | raw | blame | history
opends/src/messages/messages/extension.properties 4 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/tools.properties 79 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/api/Backend.java 35 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/BackupBackend.java 116 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/MemoryBackend.java 60 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/MonitorBackend.java 89 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/RootDSEBackend.java 76 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/SchemaBackend.java 75 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/BackendImpl.java 101 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/BufferedIndex.java 11 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 26 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryIDSet.java 120 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/Index.java 83 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/IndexMergeThread.java 32 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/JebFormat.java 74 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/TaskBackend.java 81 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/TaskScheduler.java 40 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/ConfigFileHandler.java 54 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/HasSubordinatesVirtualAttributeProvider.java 279 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/NumSubordinatesVirtualAttributeProvider.java 250 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/DBTest.java 1602 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/resource/config-changes.ldif 14 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestBackendImpl.java 48 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/HasSubordinatesVirtualAttributeProviderTestCase.java 581 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/NumSubordinatesVirtualAttributeProviderTestCase.java 645 ●●●●● diff | view | raw | blame | history