OPENDJ-1482 : SEVERE_ERROR (cursor still opened on the log) when running
replication topology with file-based changelog
Log.java : add last key appended to the log when logging the rejection
of a record
| | |
| | | if (recordIsBreakingKeyOrdering(record)) |
| | | { |
| | | ErrorLogger.logError(Message.raw(Category.SYNC, Severity.NOTICE, |
| | | "Rejecting append to log '%s' for record: [%s]", logPath.getPath(), record.toString())); |
| | | "Rejecting append to log '%s' for record: [%s], last key appended: [%s]", logPath.getPath(), record, |
| | | lastAppendedKey != null ? lastAppendedKey : "null")); |
| | | return; |
| | | } |
| | | LogFile<K, V> headLogFile = getHeadLogFile(); |