2.4.x field type json format bug#308
Open
CharlesTHN wants to merge 2 commits intobrokercap:v2.4.xfrom
Open
Conversation
added 2 commits
October 20, 2025 14:28
Go 1.13+ 的 -trimpath 参数不需要指定路径值,它会自动移除所有本地路径信息。
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.
修复问题:
运行过程中频发事件解析的空指针错误
修复项:
1.修复了数组类型判断错误(之前数组分支错误地检查了 JSONB_TYPE_LARGE_OBJECT,已改为检查 JSONB_TYPE_LARGE_ARRAY)。
2.修复了在 large object 分支中 key offsets 的索引错误(把原来错误的 key_offset_lengths[0] = ... 改为 key_offset_lengths[i] = ...)。
3.修改了打包语句,Go 1.13+ 的 -trimpath 参数不需要指定路径值,它会自动移除所有本地路径信息。
单元测试已过,运行 一周没有再复现此异常