MirrorUP

Incremental mirror sync: only changed files and changed region chunks are transferred.

management

Installation command

!!MCDR plugin install mirror_up

Author

Synced at

...

Last update

...

Latest version

Total downloads

43

Back to catalogue

MirrorUP-v0.6.4.mcdr

Version

0.6.4

Date

November 14, 2026

Size

90.07 KiB

Downloads

5

MD5

5249ba1f565265732ebf7848597bbb9f

SHA256

dce49b79312a97179005893a7ba99ca5dc88cc92895d8898993915af551dcaf2

MCDR Plugin Dependencies

Plugin IDRequirement
mcdreforged>=2.12.0

Python Package Requirements

Python PackageRequirement
xxhash

Python Package Installation Command

pip install xxhash

修复

  • 跨机同步速度:此前每个文件都新建一条 TCP 连接,下载完还要再发一次 /v1/stat 复核,几万个小文件时光是握手就要几个小时。现在每个线程复用一条 keep-alive 连接,连接被对端关掉时自动换新重试。
  • sync.concurrency 默认从 4 提到 8(跨机高延迟链路可以调到 16)。
  • 新增 source.agent.verify_copy(默认 true):设为 false 时不再对每个文件发复核请求,省掉一半往返;代价是文件在传输途中被改写时可能要到下一轮才发现。

Fix

  • Cross-machine throughput: every file used to open a new TCP connection, plus a second /v1/stat request to verify the download — tens of thousands of small files spent hours in handshakes. Each worker thread now reuses one keep-alive connection and reconnects transparently when the peer closes it.
  • sync.concurrency defaults to 8 (raise to 16 on high-latency links).
  • New source.agent.verify_copy (default true): set it to false to skip the per-file verification round trip.