You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by ti...@apache.org on 2023/06/18 09:36:46 UTC
[incubator-kvrocks-website] branch main updated: docs: User Key Encoding should use 8 bytes for versions (#112)
This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks-website.git
The following commit(s) were added to refs/heads/main by this push:
new b08dd4a docs: User Key Encoding should use 8 bytes for versions (#112)
b08dd4a is described below
commit b08dd4a848568bd77e4eff9336b82c01c6f44f9c
Author: clundro <in...@outlook.com>
AuthorDate: Sun Jun 18 17:36:40 2023 +0800
docs: User Key Encoding should use 8 bytes for versions (#112)
---
community/data-structure-on-rocksdb.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/community/data-structure-on-rocksdb.md b/community/data-structure-on-rocksdb.md
index 79f54c6..44a6460 100644
--- a/community/data-structure-on-rocksdb.md
+++ b/community/data-structure-on-rocksdb.md
@@ -12,7 +12,7 @@ while the cluster slot determines its slot when cluster mode is enabled.
```text
+-------------+-------------+------------------------------+-----------------+------------+-------------+-----------+
| ns size | namespace | cluster slot | user key size | user key | version | sub key |
-| (1byte: X) | (Xbyte) | (2byte when cluster enabled) | (4byte: Y) | (YByte) | (4byte) | (ZByte) |
+| (1byte: X) | (Xbyte) | (2byte when cluster enabled) | (4byte: Y) | (YByte) | (8byte) | (ZByte) |
+-------------+-------------+------------------------------+-----------------+------------+-------------+-----------+
```