This is an automated email from the ASF dual-hosted git repository. vgalaxies pushed a commit to branch limit-conf in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
commit 6effaafa7248cc397da443a16ddf04f0df945248 Author: VGalaxies <[email protected]> AuthorDate: Tue Aug 6 17:45:23 2024 +0800 encode string id length with 2 bits by default --- .../java/org/apache/hugegraph/backend/serializer/BytesBuffer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/serializer/BytesBuffer.java b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/serializer/BytesBuffer.java index 74d78b3df..fee2a3e61 100644 --- a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/serializer/BytesBuffer.java +++ b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/serializer/BytesBuffer.java @@ -634,7 +634,7 @@ public final class BytesBuffer extends OutputStream { } public BytesBuffer writeId(Id id) { - return this.writeId(id, false); + return this.writeId(id, true); } public BytesBuffer writeId(Id id, boolean big) { @@ -684,7 +684,7 @@ public final class BytesBuffer extends OutputStream { } public Id readId() { - return this.readId(false); + return this.readId(true); } public Id readId(boolean big) {
