Repository navigation
kvspace: #571 单 key attr 尾 + 前端 backend_path dladdr + CLI 适配 - #48
Merged
Merged
Conversation
Wire:[len:u48][storetype:u8][ptr:u8][body][attr],head 固定 8 字节, body 偏移 8;attr 区从 8+len 开始,[attr_len:u16][record...], record=[tag:u8][len:u16][data],tag 1=langtype(2+ 预留 ro/vid)。 - HeadNew* 增加 langtype 参数(单 key 一次写,无 x‥langtype attr key) - 新增 HeadAttrLen/HeadLangtype 读取 - codec_abi / test_codec_abi / test_xvalue_head 同步 Co-Authored-By: Claude Code <noreply@anthropic.com>
后端 dlopen 路径优先取本前端 .so 所在目录(dladdr),未取到自身路径时 回退 /usr/lib/kvspace(macOS /usr/local/lib/kvspace)。产物统一放 kvlang/bin 时后端随同目录,无需系统安装。 Co-Authored-By: Claude Code <noreply@anthropic.com>
- parse_value 补 langtype 参数 - set_one 删除独立 attr key 写,改单 key 整体写 - from_wire/head 纯 wire 自解(attr 尾) Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
三个 commit:
5973767#571 线格式:[len:u48][storetype:u8][ptr:u8][body][attr],head 固定 8 字节;attr 区从8+len开始([attr_len:u16][record...],tag 1=langtype,2+ 预留)。HeadNew*增 langtype 参数,单 key 一次写,无独立 attr key95ac4f1前端 backend_path dladdr 优先:后端 dlopen 优先本.so目录,回退/usr/lib/kvspace;产物可整体放kvlang/bin8ca70a3CLI 适配 #571:parse_value补 langtype、set_one单 key 写、from_wire/head 纯 wire 自解验证:Release 构建通过;ctest 2/2;coding4 隔离目录 shm/fs connect 与回退均 OK。
🤖 Generated with Claude Code