Fix major bug
This commit is contained in:
parent
df946146a1
commit
26961125c0
2
pom.xml
2
pom.xml
@ -16,7 +16,7 @@
|
||||
<lucene.version>9.6.0</lucene.version>
|
||||
<rocksdb.version>8.1.1.1</rocksdb.version>
|
||||
<junit.jupiter.version>5.9.0</junit.jupiter.version>
|
||||
<data.generator.version>1.0.9</data.generator.version>
|
||||
<data.generator.version>1.0.10</data.generator.version>
|
||||
</properties>
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -326,6 +326,9 @@ public class DatabaseMapDictionaryDeep<T, U, US extends DatabaseStage<U>> implem
|
||||
protected void serializeSuffixTo(T keySuffix, BufDataOutput output) throws SerializationException {
|
||||
var beforeWriterOffset = output.size();
|
||||
assert beforeWriterOffset == keyPrefixLength;
|
||||
assert keySuffixSerializer.getSerializedBinaryLength() == keySuffixLength
|
||||
: "Invalid key suffix serializer length: " + keySuffixSerializer.getSerializedBinaryLength()
|
||||
+ ". Expected: " + keySuffixLength;
|
||||
keySuffixSerializer.serialize(keySuffix, output);
|
||||
var afterWriterOffset = output.size();
|
||||
assert suffixKeyLengthConsistency(afterWriterOffset - beforeWriterOffset)
|
||||
|
Loading…
Reference in New Issue
Block a user