加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – Subversion – txn-protorevs的目的是什么

发布时间:2020-12-13 17:22:29 所属栏目:Linux 来源:网络整理
导读:我有一个Subversion服务器和一个Subversion存储库,我在db目录下有这个目录: txn-protorevs 其中包含以下文件 119M 1-4.rev0 1-4.rev-lock SVN存储库中此目录的用途是什么? 解决方法 如果你想了解db目录,你应该仔细阅读 source code使用哪个SVN来实现FSFS,
我有一个Subversion服务器和一个Subversion存储库,我在db目录下有这个目录:
txn-protorevs

其中包含以下文件

119M    1-4.rev
0       1-4.rev-lock

SVN存储库中此目录的用途是什么?

解决方法

如果你想了解db目录,你应该仔细阅读 source code使用哪个SVN来实现FSFS,它有一些注释,详细说明了这些部分是如何组合在一起的.简而言之,这是文件的内容
txn-protorevs/      Subdirectory containing transaction proto-revision files
    <txnid>.rev       Proto-revision file for transaction <txnid>
    <txnid>.rev-lock  Write lock for proto-rev file

这是原始修订文件的作用

The prototype rev file is used to store the text representations as they are received from the client. To ensure that only one client is writing to the file at a given time,the “rev-lock” file is locked for the duration of each write.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读