Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

回档功能(需要重启服务器) #8

Closed
MemoryShadow opened this issue Jan 1, 2023 · 3 comments · Fixed by #9 or #11
Closed

回档功能(需要重启服务器) #8

MemoryShadow opened this issue Jan 1, 2023 · 3 comments · Fixed by #9 or #11
Assignees
Labels
enhancement New feature or request

Comments

@MemoryShadow
Copy link
Owner

MemoryShadow commented Jan 1, 2023

完全回档功能

@MemoryShadow MemoryShadow added the enhancement New feature or request label Jan 1, 2023
@MemoryShadow
Copy link
Owner Author

MemoryShadow commented Jan 7, 2023

嘿, 我突然有了个很棒的点子, 这肯定可以优化备份与恢复机制的! 这也会合并在这个分支当中

我可以在备份之前算出文件的sha256值, 这样就可以比对哪些文件发生了变化, 只恢复那些改动的文件就好. 等着吧, 我会搞定的!

@MemoryShadow
Copy link
Owner Author

很棒! 我搞定了, 现在恢复时会优先尝试使用差异化恢复的方案了

@MemoryShadow MemoryShadow linked a pull request Jan 10, 2023 that will close this issue
MemoryShadow added a commit that referenced this issue Jan 10, 2023
feat: 新增更优的回档算法
fix: 修复改版后备份不向游戏中发送消息的问题
docs: 修正措辞
fix: 修复BackupName参数存在空格时引发的异常
fix: 修复服务器不在运行时依然试图发送消息的问题
feat: 增加存档删除功能
feat: 备份时记录了文件的shah
feat: 回档时检测文件变动
fix: 不会自动覆盖旧存档的问题
fix: 修复了backup中临时变量到处乱飞的问题

fix(stop): 修复停止时的消息不能传达到服内的问题
fix(start): 修复服务进程停止时检测不到的问题
feat(start): 新增用户自定义启动参数
feat(install): 新增优化后的启动参数, 以及常用启动参数到-c选项
fix(base): 规定了时间的格式, 避免一些BUG出现
@github-project-automation github-project-automation bot moved this from In Progress to Done in @MemoryShadow's about TODO Jan 10, 2023
@MemoryShadow
Copy link
Owner Author

出现了问题, 回档功能做跨核心时会出现问题, 需要提交修复补丁

@MemoryShadow MemoryShadow reopened this Jan 11, 2023
MemoryShadow added a commit that referenced this issue Jan 17, 2023
perf: 优化代码构架, 降低开发人员心智负担
fix(backup): 非官方核心进行非完全比对时, 生成的文件列表不完整
fix(backup): 在官方与非官方核心之间转移时丢失数据的问题
perf: 尝试通过减少锁竞争次数的方式来对程序性能进行优化
docs(README): 更改措辞
- 修正注意事项中的描述
- 修正CI指向的URL
- 添加i18n标签
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
1 participant