MirrorUP

镜像服增量同步:只传变更的文件与变更的 region chunk。

管理

一键安装指令

!!MCDR plugin install mirror_up

作者

代码仓库

数据同步于

...

上次更新

...

最新版本

总下载量

31

返回插件仓库

MirrorUP-v0.6.5.mcdr

版本

0.6.5

日期

2026年11月14日

大小

90.77 KiB

下载量

3

前往发行版源页面

MD5

d02a0daa232bc969afedfc4feac42ada

SHA256

13f0f36de185ddc61158a5b8f3452bc4224a79150b37b2ea5a3a04a030236ac2

MCDR 插件依赖

插件 ID依赖版本
mcdreforged>=2.12.0

Python 包依赖

Python 包依赖版本
xxhash

Python 包安装指令

pip install xxhash

修复

  • 部分 region 的 chunk 永久漏同步:某个 region 在某一轮写失败(源端正在写、目标被占用)或被 !!mu cancel 取消后,下一轮的脏扫描下限已经越过那些 chunk 的时间戳,它们会被当成"没变"而不再写入。
  • 现在每个 region 单独记录"上一次成功写入那一轮的开始时间"(索引 regions.floor,schema v6),失败不会推进它,下一轮会重新读取并补写。
  • 整文件兜底(外置 chunk / 头损坏)时会清掉该 region 的 chunk 状态,下一轮整份重扫。

升级后请执行一次 !!mu sync --full,把之前可能已经漏掉的 chunk 补回来。

Fix

  • Chunks of some regions were never synced again: when a region failed to write in one round (source being written, target busy) or the round was cancelled, the next round's dirty-scan floor had already moved past those chunks' timestamps, so they were treated as unchanged and skipped forever.
  • Each region now records the start time of the last round in which it was successfully written (index regions.floor, schema v6). A failure does not advance it, so the next round re-reads and re-writes those chunks.
  • When a region falls back to a whole-file copy (external chunks / corrupt header), its chunk state is dropped so the next round rescans it completely.

Run !!mu sync --full once after upgrading to repair chunks that may already have been missed.