Skip to content

fix(urma): 为导入段操作添加互斥锁保护#25

Merged
zchuango merged 1 commit into
zchuango:supercache_devfrom
yyyuanhao426-hash:debug/malloc
Jun 21, 2026
Merged

fix(urma): 为导入段操作添加互斥锁保护#25
zchuango merged 1 commit into
zchuango:supercache_devfrom
yyyuanhao426-hash:debug/malloc

Conversation

@yyyuanhao426-hash

@yyyuanhao426-hash yyyuanhao426-hash commented Jun 20, 2026

Copy link
Copy Markdown

添加 shared_mutex 保护 imported_seg_list_ 和 remote_seg_list_ 的并发访问。 在 retrieveRemoteSeg 中修复双重检查锁定模式,并添加内存分配失败检查。

Description

Module

  • Transfer Engine (mooncake-transfer-engine)
  • Mooncake Store (mooncake-store)
  • Mooncake EP (mooncake-ep)
  • Mooncake PG (mooncake-pg)
  • Integration (mooncake-integration)
  • P2P Store (mooncake-p2p-store)
  • Python Wheel (mooncake-wheel)
  • Common (mooncake-common)
  • Mooncake RL (mooncake-rl)
  • CI/CD
  • Docs
  • Other

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Breaking change
  • Documentation update
  • Performance improvement
  • Other

How Has This Been Tested?

Test commands:

# Example: bash scripts/run_ci_test.sh

Test results:

  • Unit tests pass
  • Integration tests pass (if applicable)
  • Manual testing done (describe below)

Checklist

  • I have performed a self-review of my own code
  • I have formatted my code using ./scripts/code_format.sh
  • I have run pre-commit run --all-files and all hooks pass
  • I have updated the documentation (if applicable)
  • I have added tests to prove my changes are effective
  • For changes >500 LOC: I have filed an RFC issue

AI Assistance Disclosure

  • No AI tools were used
  • AI tools were used (specify below)

添加 shared_mutex 保护 imported_seg_list_ 和 remote_seg_list_ 的并发访问。
在 retrieveRemoteSeg 中修复双重检查锁定模式,并添加内存分配失败检查。
@zchuango zchuango merged commit 0c7b5b6 into zchuango:supercache_dev Jun 21, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants