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

boli
17.58.2006 5ba5a21b17c663c137efec84151e07821e9db14e
refs
author boli <boli@localhost>
Thursday, August 17, 2006 20:58 +0200
committer boli <boli@localhost>
Thursday, August 17, 2006 20:58 +0200
commit5ba5a21b17c663c137efec84151e07821e9db14e
tree a8ec4b762dc06237f9cbf161a9cfe1535af1269e tree | zip | gz
parent 1696f91cdcea9c7785c71100b3c1af1c01bcee18 view | diff
Added an extra byte before the ASN1 encoding of database entries for versioning purposes. Also, error handling mechnisms are also added for handling incompatible version numbers. Some extra catch statements are removed to allow the orginal exception to bubble up to the debug logger.

Current version number is 0x01.Any entries that are not of this version will fail decoding since there is only one valid version right now.

NOTE: Any database files created before this revision will be incompatible since they are missing the version byte. Please re-import/add your data.

Fix for issue 573
4 files modified
93 ■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 16 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/ID2Entry.java 33 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/JebFormat.java 31 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/JebMessages.java 13 ●●●●● diff | view | raw | blame | history