当前位置:网站首页>Solution to the problem of file damage caused by forced shutdown and power failure during nodejs FS readfilesync
Solution to the problem of file damage caused by forced shutdown and power failure during nodejs FS readfilesync
2022-04-21 15:55:00 【Silly Dad】

fs readFileSync During file reading , If power failure trips, forced shutdown
File corruption occurred ... The file can't be opened , Can't read
Tried to increase options flag

![]()
useless , Still damaged
Finally, manually change the file to read-only ... Talent
It's also a solution
If you have questions, you can communicate with each other ~~~
版权声明
本文为[Silly Dad]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211549056769.html
边栏推荐
- R语言manova函数稳健多元方差分析(Robust one-way MANOVA)、rrcov包中的wilks.test函数稳健单向MANOVA、vegan包的adonis函数非参数Manova等效
- Lightly:新一代的 PHP IDE
- .NET Core Swagger配置
- PowerShell 博文目录
- CRM系统可以帮助改善客户体验吗?
- Deltix Round, Summer 2021 E. Equilibrium
- Establishment of instant messaging system and development of IM chat social software
- C语言进阶第41式:内存操作经典问题分析一
- 终极套娃 2.0|云原生 PaaS 平台的可观测性实践分享
- 魅族官方刷机教程地址(免费)
猜你喜欢
随机推荐
How should the IT service management framework be implemented? That's enough
OpenCV 4.0学习笔记
Universal navigation: a concise and practical comprehensive navigation website
数据处理输入框部分
R语言ggplot2可视化散点图(scatter plot)、并基于组合规则高亮(highlight)指定的数据点、设置数据点的大小(size)、数据点的色彩(color)
MySQL数据库基础操作-----(基础增删查改)
R语言coin包应用于独立性问题的置换检验(permutation tests)、使用wilcox.test函数进行两组数据的Wilcoxon符号秩检验、使用wilcoxsign_test函数置换检验
季更56/90
Lightly: a new generation of PHP IDE
季更57/90
R语言广义线性模型函数GLM、glm函数构建逻辑回归模型(Logistic regression)、使用卡方检验验证两个逻辑回归模型是否具有显著性(即删除无用特征后的模型和原始模型是否具有明显差异)
LeetCode 1539、第 k 个缺失的正整数
Deltix Round, Summer 2021 E. Equilibrium
关于nodejs fs readFileSync 过程中强行关机 拉闸 断电 导致文件损坏的问题解决方案
提取CNN模型中间层输出方法
Obsidian automatically uploads pictures to the drawing bed - install picgo plug-in and configure
事务的隔离级别详解
盲盒项目的暴利玩法
R语言使用lmPerm包应用于线性模型的置换方法(置换检验、permutation tests)、在同一数据集上使用单向协方差分析(one-way ANCOVA)、使用aovp函数的置换检验单向协方差
十荟团 小程序 APP自动登录 aes数据解密 学习记录









