happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
8.97k stars 1.98k forks source link

5.08 集群增加机器数据同步问题 #652

Closed yangxiRespect closed 1 year ago

yangxiRespect commented 1 year ago

场景: 原来线上的 fdfs 是单节点的部署在 机器A ,目前数据 已经有 5t 数据了 , 为了防止机器down掉 ,现在要再机器B 增加 一个 fdfs 节点 。 目前进度:通过默认配置 ,机器B 上的 Storage 已正常启动 ,但数据同步速度太慢了。如果将 机器A 的 数据目录同步到B上 ,是否可以跳过同步 ?如果可以的话 ,需要改那些配置或文件呢

yangxiRespect commented 1 year ago

实践了 ,要把 Storage 目录下的 除数据文件外的目录和文件 都删除掉 。启动 机器B 的 Storage 。会自动同步