From 0e63575f95dafe1cdb67fb1cc3814ac97e51596e Mon Sep 17 00:00:00 2001 From: Nicolas Capponi <nicolas.capponi@forgerock.com> Date: Fri, 19 Sep 2014 15:36:37 +0000 Subject: [PATCH] OPENDJ-1388 CR-3446 Implement simple changelog db based on single log file --- opendj3-server-dev/src/messages/messages/replication.properties | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 54 insertions(+), 2 deletions(-) diff --git a/opendj3-server-dev/src/messages/messages/replication.properties b/opendj3-server-dev/src/messages/messages/replication.properties index ff8836a..881b08f 100644 --- a/opendj3-server-dev/src/messages/messages/replication.properties +++ b/opendj3-server-dev/src/messages/messages/replication.properties @@ -118,7 +118,7 @@ ERR_BAD_HISTORICAL_56=Entry %s was containing some unknown historical \ information, This may cause some inconsistency for this entry ERR_CANNOT_ADD_CONFLICT_ATTRIBUTE_57=A conflict was detected but the \ - conflict information could not be added. Operation: %s, Result: %s + conflict information could not be added. Operation: %s, Result: %s ERR_CANNOT_RENAME_CONFLICT_ENTRY_58=An error happened trying to \ rename a conflicting entry. DN: %s, Operation: %s, Result: %s ERR_EXCEPTION_RENAME_CONFLICT_ENTRY_59=An Exception happened when \ @@ -532,4 +532,56 @@ ERR_COULD_NOT_ADD_CHANGE_TO_SHUTTING_DOWN_REPLICA_DB_240=Could not add \ change %s to replicaDB %s %s because flushing thread is shutting down NOTE_SEARCH_CHANGELOG_INSUFFICIENT_PRIVILEGES_285=You do not have sufficient privileges to \ - perform a search request on cn=changelog \ No newline at end of file + perform a search request on cn=changelog +ERR_CHANGELOG_READ_STATE_WRONG_ROOT_PATH_241=Error when retrieving changelog \ + state from root path '%s' : directory might not exist +ERR_CHANGELOG_READ_STATE_NO_GENERATION_ID_FOUND_242=Error when retrieving \ + changelog state from root path '%s' : no generation id file found in domain \ + directory '%s' +ERR_CHANGELOG_READ_STATE_CANT_READ_DOMAIN_DIRECTORY_243=Error when retrieving \ + changelog state from root path '%s' : IO error on domain directory '%s' when retrieving \ + list of server ids +ERR_CHANGELOG_UNABLE_TO_CREATE_REPLICA_DB_244=Could not get or create replica DB \ + for baseDN '%s', serverId '%d', generationId '%d' +ERR_CHANGELOG_UNABLE_TO_CREATE_CN_INDEX_DB_245= Could not get or create change \ + number index DB in root path '%s', using path '%s' +ERR_CHANGELOG_UNABLE_TO_DELETE_GENERATION_ID_FILE_246=Could not retrieve \ + generation id file '%s' for DN '%s' to delete it +ERR_CHANGELOG_UNABLE_TO_CREATE_SERVER_ID_DIRECTORY_247=Could not create \ + directory '%s' for server id %d +ERR_CHANGELOG_UNABLE_TO_CREATE_GENERATION_ID_FILE_248=Could not create \ + generation id file '%s' +ERR_CHANGELOG_DOMAIN_FILENAME_WRONG_FORMAT_249=Could not read domain \ + filename because it uses a wrong format, expecting '[dn].domain' where [dn] is \ + a DN but got '%s' +ERR_CHANGELOG_SERVER_ID_FILENAME_WRONG_FORMAT_250=Could not read server id \ + filename because it uses a wrong format, expecting '[id].server' where [id] is \ + numeric but got '%s' +ERR_CHANGELOG_GENERATION_ID_WRONG_FORMAT_251=Could not read generation id \ + because it uses a wrong format, expecting a number but got '%s' +ERR_CHANGELOG_UNABLE_TO_OPEN_LOG_FILE_252=Could not open log file '%s' for write +ERR_CHANGELOG_UNABLE_TO_OPEN_READER_ON_LOG_FILE_253=Could not open a reader \ + on log file '%s' +ERR_CHANGELOG_UNABLE_TO_DECODE_RECORD_254=Could not decode a record from data \ + read in log file '%s' +ERR_CHANGELOG_UNABLE_TO_DELETE_LOG_FILE_255=Could not delete log file '%s' +ERR_CHANGELOG_UNABLE_TO_CREATE_LOG_FILE_256=Could not create log file '%s' +WARN_CHANGELOG_NOT_ENABLED_FOR_WRITE_257=The changelog '%s' has been opened in \ + read-only mode, it is not enabled for write +ERR_CHANGELOG_UNABLE_TO_ADD_RECORD_258=Could not add record '%s' in log \ + file '%s' +ERR_CHANGELOG_UNABLE_TO_SYNC_259=Could not synchronize written records \ + to file system for log file '%s' +ERR_CHANGELOG_UNABLE_TO_SEEK_260=Could not seek to position %d for reader \ + on log file '%s' +ERR_CHANGELOG_UNABLE_TO_CREATE_LOG_DIRECTORY_261=Could not create root directory '%s' for \ + log file +ERR_CHANGELOG_UNABLE_TO_DECODE_DN_FROM_DOMAIN_STATE_FILE_262=Could not decode DN \ + from domain state file '%s', from line '%s' +ERR_CHANGELOG_UNABLE_TO_READ_DOMAIN_STATE_FILE_263=Could not read domain state \ + file '%s' +ERR_CHANGELOG_INCOHERENT_DOMAIN_STATE_264=There is a mismatch between domain state \ + file and actual domain directories found in file system. Expected domain ids : '%s'. \ + Actual domain ids found in file system: '%s' +ERR_CHANGELOG_UNABLE_TO_UPDATE_DOMAIN_STATE_FILE_265=Could not create a new domain \ + id %s for domain DN %s and save it in domain state file '%s" \ No newline at end of file -- Gitblit v1.10.0