mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1396] [MERGED] [Store] validate metadata when put_tensor #2219
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#2219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/1396
Author: @zxpdemonio
Created: 1/17/2026
Status: ✅ Merged
Merged: 1/26/2026
Merged by: @XucSh
Base:
main← Head:debug📝 Commits (3)
563e7e5[Store] validate metadata when put tensor5c6796bfix build error5393d1cfix📊 Changes
2 files changed (+39 additions, -1 deletions)
View changed files
📝
mooncake-integration/integration_utils.h(+1 -0)📝
mooncake-integration/store/store_py.cpp(+38 -1)📄 Description
Description
Validate metadata when put tensor, to avoid illegal field of metadata write, eg., null data_ptr, out of range dtype, out of range ndim.
Type of Change
How Has This Been Tested?
Checklist
./scripts/code_format.shbefore submitting.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.