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

boli
17.58.2006 9758ff6ce1458df98fa4889e7995f14b296a024a
refs
author boli <boli@localhost>
Thursday, August 17, 2006 20:58 +0200
committer boli <boli@localhost>
Thursday, August 17, 2006 20:58 +0200
commit9758ff6ce1458df98fa4889e7995f14b296a024a
tree 4871a5db393af30cf8b5a5065023054c40c52c81 tree | zip | gz
parent 4c9c2da88341948b0f727ef09dfcc3f85acca441 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
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 16 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ID2Entry.java 33 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/JebFormat.java 31 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/JebMessages.java 13 ●●●●● diff | view | raw | blame | history