[PR #1396] [MERGED] [Store] validate metadata when put_tensor #2219

Closed
opened 2026-10-29 21:33:45 +00:00 by bsakaguchi · 0 comments
Owner

📋 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)

📊 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

  • Types
    • Bug fix
    • New feature
      • Transfer Engine
      • Mooncake Store
      • Mooncake EP
      • Integration
      • P2P Store
      • Python Wheel
    • Breaking change
    • CI/CD
    • Documentation update
    • Other

How Has This Been Tested?

Checklist

  • I have performed a self-review of my own code.
  • I have formatted my own code using ./scripts/code_format.sh before submitting.
  • I have updated the documentation.
  • I have added tests to prove my changes are effective.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/Mooncake/pull/1396 **Author:** [@zxpdemonio](https://github.com/zxpdemonio) **Created:** 1/17/2026 **Status:** ✅ Merged **Merged:** 1/26/2026 **Merged by:** [@XucSh](https://github.com/XucSh) **Base:** `main` ← **Head:** `debug` --- ### 📝 Commits (3) - [`563e7e5`](https://github.com/kvcache-ai/Mooncake/commit/563e7e5baec007c7e498e84c313fb0fa5ee960d8) [Store] validate metadata when put tensor - [`5c6796b`](https://github.com/kvcache-ai/Mooncake/commit/5c6796b2a34aa7ea26ef4b35b8c245f2bff98640) fix build error - [`5393d1c`](https://github.com/kvcache-ai/Mooncake/commit/5393d1c69d4df8227f40808eb416836b8fe2f62c) fix ### 📊 Changes **2 files changed** (+39 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `mooncake-integration/integration_utils.h` (+1 -0) 📝 `mooncake-integration/store/store_py.cpp` (+38 -1) </details> ### 📄 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. <!-- A clear and concise description of the changes. Link to any relevant issues. --> ## Type of Change * Types - [ ] Bug fix - [ ] New feature - [ ] Transfer Engine - [ ] Mooncake Store - [ ] Mooncake EP - [ ] Integration - [ ] P2P Store - [ ] Python Wheel - [ ] Breaking change - [ ] CI/CD - [ ] Documentation update - [ ] Other ## How Has This Been Tested? <!-- Please describe the tests you've run to verify your changes. --> ## Checklist - [ ] I have performed a self-review of my own code. - [ ] I have formatted my own code using `./scripts/code_format.sh` before submitting. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 21:33:45 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/Mooncake#2219
No description provided.