其他参与者原话lachesis原帖 ↗
另外,Bitcoin 是不是以独占方式打开 BerkeleyDB,从而不需要文件锁?不是——我自己测过了。
Also, does Bitcoin open the BerkeleyDB as exclusive, precluding the need for a file lock?It does not -- did my own tests.
有没有办法以独占方式打开 BerkeleyDB?
Is there a way to open BerkeleyDB exclusive?
DB_PRIVATE 是两头不讨好的东西。它并不保证独占访问,但一旦另一个进程试图同时访问,数据库就会出问题。
DB_PRIVATE is the worst of both worlds. DB_PRIVATE is not exclusive, but it does make it get screwed up if another process tries to access it at the same time.
我在 rev 153 里去掉了 DB_PRIVATE 标志。
I've dropped the DB_PRIVATE flag in rev 153.
当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。
译文内容版本:c12734655505。用于比对文本,不代表校对等级或更新时间。
请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。