Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CVSTrac 相关问题
» 出现数据库锁定问题
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 出现数据库锁定问题
laney
普通灌水员
UID 40677
Digest Posts 0
Credits 54
Posts 16
点点分 54
Reading Access 10
Registered 2008-7-22
Status Offline
#1
Post at 2008-7-22 09:47
Profile
|
Blog
|
P.M.
出现数据库锁定问题
在浏览和时间线菜单的时候老出现提示database is locked 的提示,该如何解决?
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2008-7-25 09:37
Profile
|
Site
|
Blog
|
P.M.
这个问题很可能是由于一次提交大量文件或者创建CVSTrac数据库时CVS里存在大量历史提交记录,导致CVSTrac更新时间线数据时产生大量独占数据库的提交事务。这时候如果有另外的用户也浏览时间线,就会出现数据库被锁定的提示。
如果创建CVSTrac数据库时 CVSROOT/history 文件已经很大,可以通过分批提交的方式来解决:
先手工将原 history 文件改名,再建一个空的 history 文件,把原 history 最早的记录复制过去一部分。浏览 CVSTrac 时间线,使 CVSTrac 读取刚才复制过去的一部分历史。然后再复制一部分 history 数据,再浏览时间线,直到所有历史数据都处理完成。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
laney
普通灌水员
UID 40677
Digest Posts 0
Credits 54
Posts 16
点点分 54
Reading Access 10
Registered 2008-7-22
Status Offline
#3
Post at 2008-7-28 10:32
Profile
|
Blog
|
P.M.
谢谢
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 01:32
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.006943 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats