From ffb9044301d1c169f934e0adf4f473e99da39a47 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Mon, 27 Aug 2007 18:58:10 +0000
Subject: [PATCH] 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.
---
opends/src/messages/messages/tools.properties | 79 +++++++++++++++++++++++++++++++++++++++
1 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/opends/src/messages/messages/tools.properties b/opends/src/messages/messages/tools.properties
index b13a171..2d32c1a 100644
--- a/opends/src/messages/messages/tools.properties
+++ b/opends/src/messages/messages/tools.properties
@@ -2217,3 +2217,82 @@
generate the RC script: %s
SEVERE_ERR_DSCFG_ERROR_QUIET_AND_INTERACTIVE_INCOMPATIBLE_1326=If you specify \
the {%s} argument you must also specify {%s}
+INFO_DESCRIPTION_DBTEST_TOOL_1327=This utility may be used to debug the JE \
+ database
+INFO_DESCRIPTION_DBTEST_SUBCMD_LIST_ROOT_CONTAINERS_1328=List the root \
+ containers used by all JE backends
+INFO_DESCRIPTION_DBTEST_SUBCMD_LIST_ENTRY_CONTAINERS_1329=List the entry \
+ containers for a root container
+INFO_DESCRIPTION_DBTEST_SUBCMD_DUMP_DATABASE_CONTAINER_1330=Dump records from \
+ a database container
+INFO_DESCRIPTION_DBTEST_BACKEND_ID_1331=The backend ID of the JE backend to \
+ debug
+INFO_DESCRIPTION_DBTEST_BASE_DN_1332=The base DN of the entry container to debug
+INFO_DESCRIPTION_DBTEST_DATABASE_NAME_1333=The name of the database container \
+ to debug
+INFO_DESCRIPTION_DBTEST_SKIP_DECODE_1334=Do not try to decode the JE data to \
+ their appropreate types
+MILD_ERR_DBTEST_DECODE_FAIL_1335=An error occured while decoding data: %s
+INFO_DESCRIPTION_DBTEST_SUBCMD_LIST_INDEX_STATUS_1336=List the status of \
+ indexes in a entry container
+INFO_DESCRIPTION_DBTEST_MAX_KEY_VALUE_1337=Only show records with keys that \
+ should be ordered before the provided value using the comparator for the \
+ database container
+INFO_DESCRIPTION_DBTEST_MIN_KEY_VALUE_1338=Only show records with keys that \
+ should be ordered after the provided value using the comparator for the \
+ database container
+INFO_DESCRIPTION_DBTEST_MAX_DATA_SIZE_1339=Only show records whose data is no \
+ larger than the provided value
+INFO_DESCRIPTION_DBTEST_MIN_DATA_SIZE_1340=Only show records whose data is no \
+ smaller than the provided value
+INFO_DESCRIPTION_DBTEST_SUBCMD_LIST_DATABASE_CONTAINERS_1341=List the database \
+ containers for a entry container
+INFO_LABEL_DBTEST_BACKEND_ID_1342=Backend ID
+INFO_LABEL_DBTEST_DB_DIRECTORY_1343=Database Directory
+INFO_LABEL_DBTEST_BASE_DN_1344=Base DN
+INFO_LABEL_DBTEST_JE_DATABASE_PREFIX_1345=JE Database Prefix
+INFO_LABEL_DBTEST_ENTRY_COUNT_1346=Entry Count
+SEVERE_ERR_DBTEST_NO_BACKENDS_FOR_ID_1347=None of the Directory Server \
+ backends are configured with the requested backend ID %s
+SEVERE_ERR_DBTEST_NO_ENTRY_CONTAINERS_FOR_BASE_DN_1348=None of the entry \
+ containers are configured with the requested base DN %s in backend %s
+SEVERE_ERR_DBTEST_NO_DATABASE_CONTAINERS_FOR_NAME_1349=No database container \
+ exists with the requested name %s in entry container %s and backend %s
+SEVERE_ERR_DBTEST_ERROR_INITIALIZING_BACKEND_1350=An unexpected error occured \
+ while attempting to initialize the JE backend %s: %s
+SEVERE_ERR_DBTEST_ERROR_READING_DATABASE_1351=An unexpected error occured \
+ while attempting to read and/or decode records from the database: %s
+SEVERE_ERR_DBTEST_DECODE_BASE_DN_1352=Unable to decode base DN string "%s" as \
+ a valid distinguished name: %s
+INFO_LABEL_DBTEST_DATABASE_NAME_1353=Database Name
+INFO_LABEL_DBTEST_DATABASE_TYPE_1354=Database Type
+INFO_LABEL_DBTEST_JE_DATABASE_NAME_1355=JE Database Name
+INFO_LABEL_DBTEST_JE_RECORD_COUNT_1356=Record Count
+INFO_LABEL_DBTEST_INDEX_NAME_1357=Index Name
+INFO_LABEL_DBTEST_INDEX_TYPE_1358=Index Type
+INFO_LABEL_DBTEST_INDEX_STATUS_1359=Index Status
+INFO_LABEL_DBTEST_KEY_1360=Key
+INFO_LABEL_DBTEST_DATA_1361=Data
+SEVERE_WARN_DBTEST_CANNOT_UNLOCK_BACKEND_1362=An error occurred while \
+ attempting to release the shared lock for backend %s: %s. This lock should \
+ automatically be cleared when the process exits, so no further action \
+ should be required
+SEVERE_ERR_DBTEST_CANNOT_LOCK_BACKEND_1363=An error occurred while \
+ attempting to acquire a shared lock for backend %s: %s. This generally \
+ means that some other process has exclusive access to this backend (e.g., a \
+ restore or an LDIF import)
+SEVERE_ERR_DBTEST_CANNOT_DECODE_KEY_1364=An error occured while decoding the \
+ min/max key value %s: %s. Values prefixed with "0x" will be decoded as raw \
+ bytes in hex. When dumping the DN2ID database, the value must be a valid \
+ distinguished name. When dumping the ID2Entry database, the value will be \
+ decoded as a entry ID. When dumping all other databases, the value will be \
+ decoded as a string
+INFO_LABEL_DBTEST_ENTRY_1365=Entry
+INFO_LABEL_DBTEST_ENTRY_ID_1366=Entry ID
+INFO_LABEL_DBTEST_ENTRY_DN_1367=Entry DN
+INFO_LABEL_DBTEST_URI_1368=URI
+INFO_LABEL_DBTEST_INDEX_VALUE_1369=Indexed Value
+INFO_LABEL_DBTEST_INDEX_ENTRY_ID_LIST_1370=Entry ID List
+INFO_LABEL_DBTEST_VLV_INDEX_LAST_SORT_KEYS_1371=Last Sort Keys
+SEVERE_ERR_DBTEST_CANNOT_DECODE_SIZE_1372=An error occured while parsing the \
+ min/max data size %s as a integer: %s
\ No newline at end of file
--
Gitblit v1.10.0