* feat(store): add client heartbeat support for non ha mode
This change extends client functionality to handle master reconnection and segment remounting in non-HA mode, adds corresponding test infrastructure, and improves utility functions for HTTP operations and port allocation.
Signed-off-by: xiaguan <751080330@qq.com>
* refactor(tests): reorganize test entries in CMakeLists.txt
* update docs
---------
Signed-off-by: xiaguan <751080330@qq.com>
Co-authored-by: Ke Yang <oneday117@qq.com>
* refactor(store): use dedicated thread for signal handling and atomic cleanup
* refactor(store): switch PyClient to shared_ptr and improve resource management
* refactor(ResourceTracker): use leaked heap object to avoid static destruction order issues
* test: increase unittest verbosity to show running tests
* try fix ci
* fix setup after close
* fix comments
* feat(store): add NUMA node binding support via bind_to_numa_node method
* feat(store): Add NUMA node binding with validation and error logging
* refactor(store): move NUMA binding to module-level function
* fmt
This is a patch for this pr: #836
This PR makes the following changes:
- Only install Python files that depend on Store when the WITH_STORE flag is enabled.
- Update the permissions of the site-packages/mooncake directory from 766 to 767 (i.e., chmod o+x) so that non-root users can access the files inside. With 766, since the files are installed via sudo make install, regular users cannot read or execute them.
* make hccl transfer engine to be delete successfully
* reinit transport mem when a data transfer timeout occurs. This usually happens when the remote target is restarted.
* support retry
* fix compile
* feat(store): add duplicate rpc_meta key check and CI integration
* fix(KVBootstrapServer): disallow duplicate rpc_meta keys in PUT requests
* revert ci changes
* fix ci
* Refactor(store): Enable the transfer engine to autonomously detect topology
* feat(client): support manual RDMA device configuration without auto-discovery
* Prepare test action env.
* [Trial] fix wildcard.
* [Trial] fix libcuda.so.1 has been modified after cuda-12.8 installed in alternative install.
* Revert to previous release.yml.
* Try to add repo for prevent publish to pypi failed in fork repo.
* fix(store): add mutex locks for thread-safe metrics retrieval and comparisons
* refactor(get_metrics_internal): require caller to hold m_mutex instead of internal locking
Fix incorrect initialization sequence in startHandshakeDaemon by moving handshake_plugin_->startDaemon() call after callback registrations to ensure proper setup before daemon starts.
Signed-off-by: staryxchen <staryxchen@tencent.com>
The commit introduces two main features:
1. A thread-safe retry counter to track allocation attempts in RandomAllocationStrategy
2. A getLargestFreeRegion() method in BufferAllocatorBase interface that allows filtering allocators by available space, with specific implementations for both Cachelib and Offset allocators
These changes improve allocation reliability and efficiency by enabling better failure tracking and space-aware allocation decisions.
Signed-off-by: Jinyang Su <751080330@qq.com>
* [Store] config: start http server from master
Signed-off-by: Teng Ma <sima.mt@alibaba-inc.com>
* [Refactor] Use coro http server for metadata
* fix cmake
* fix merge
* add doc and test
* clear
---------
Signed-off-by: Teng Ma <sima.mt@alibaba-inc.com>