-
Notifications
You must be signed in to change notification settings - Fork 11
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
在 atime_ns 超过 int64 范围时,备份将出现 OverflowError #52
Comments
所描述的复现步骤是否可在全新安装的 deepin 系统 + 新安装的原版 mc 服务端上复现?若否,请提供环境配置步骤,包括但不限于系统配置、服务端配置、存档配置的步骤 |
并不确定能否在全新安装的Deepin系统和MC服务端+MCDR 2.14.2中复现 |
经过分析,用户的存档中存在少量 atime_ns 为 暂时的解决方法是,使用 后续版本的 PrimeBackup 不再储存 ctime 和 atime,仅储存 mtime,因此不会有这个 atime 的问题。不过对于依然存在的 mtime 超范围的常见,仍需要一个更好的对策,如 warning 并修改其值至当前时间或 int64_max |
环境:系统Deepin(based on Debian)社区版
内核6.9.6 amd64 Desktop Rolling
具体复现步骤如下:
1 先用!!pb make备份一次
2 输stop关掉服务器
3 在服务器的文件夹里Ctrl A 选定所有,右键
4 点击“压缩到1.20.1-Forge-Mods-Cobblemon.zip”(自己手动压缩,最好用Deepin自带的压缩包管理器以图形界面操作压缩(不要设置任何参数,按它的傻瓜式图形界面直接压缩,我怀疑在这里把文件的某些元信息给丢失了,但我不知道是什么元信息,我个人猜测是文件的时间戳或者读写权限管理属性丢失了))
5 此时将1.20.1-Forge-Mods-Cobblemon文件夹(这个文件夹是我的服务器执行目录)重命名为"1.20.1-Forge-Mods-Cobblemon-1"(总之将其隔离,使之不再是执行目录)
6 从1.20.1-Forge-Mods-Cobblemon.zip里将所有文件解压到"1.20.1-Forge-Mods-Cobblemon"文件夹里(确保在执行文件夹下直接就是文件)
7 然后命令行执行mcdreforged init
mcdreforged
8 成功运行服务端后 !!pb make 至此即可复现错误
The text was updated successfully, but these errors were encountered: