Mooncake/mooncake-store
fang-tech 704da4b92f
[Store][Fix]: enable local memcpy for metadata local replicas (#2029)
* fix(store): enable local memcpy for metadata local replicas

Pass the client local hostname into TransferSubmitter and use it when
detecting local transfers. This allows metadata-service descriptors, which
use the hostname as the segment identifier, to correctly select LOCAL_MEMCPY
for local reads while preserving transfer-engine endpoint matching for P2P
descriptors.

Add coverage for TCP local memcpy auto-enable behavior across P2P and
metadata modes, including remote same-host cases that should continue using
TRANSFER_ENGINE. Also verify hot-cache hits do not increment the admission
sketch when LOCAL_MEMCPY is selected.
2026-05-12 14:19:14 +08:00
..
benchmarks [Store] For alloctor benchmark: Add DSA-like workload (#2051) 2026-05-07 21:31:18 +08:00
conf [Store] support resolving master RPC address from interface (#1784) 2026-04-01 12:39:05 +08:00
go Refactor ASIO shared target into mooncake-common (#1926) 2026-04-22 00:15:33 +08:00
include [Store][Fix]: enable local memcpy for metadata local replicas (#2029) 2026-05-12 14:19:14 +08:00
rust [Store] fix(rust): add missing empty check for batch_is_exist (#2045) 2026-05-09 02:10:00 +08:00
src [Store][Fix]: enable local memcpy for metadata local replicas (#2029) 2026-05-12 14:19:14 +08:00
tests [Store][Fix]: enable local memcpy for metadata local replicas (#2029) 2026-05-12 14:19:14 +08:00
CMakeLists.txt [Build] Define BUILD_BENCHMARK option and gate benchmark subdirectories (#2033) 2026-05-06 01:13:42 +08:00