我们最近已从TFS 2010迁移到TFS 2015(更新2),除了之外,一切似乎都运行良好 我们每隔12分钟就会收到以下错误。
TF53010: The following error has occurred in a Team Foundation component or extension:
Application Domain: TfsJobAgent.exe
Assembly: Microsoft.TeamFoundation.Framework.Server, Version=14.0.0.0, Culture=neutral,
Detailed Message: TF221123: Job Version Control Warehouse Sync for team project collection JLT TFS 2010 was unable to run after 20 attempts.
通过“仓库控制Web服务”检查“流程状态”后,我收到以下消息。 我想了解为什么会发生这种情况的核心原因以及我们如何解决这个问题?
<Job JobProcessingStatus="DataChange" Name="Version Control Warehouse Sync">
<LastRun Result="Stopped" EndTimeUtc="2016-06-30T14:10:50.19Z" ExecutionStartTimeUtc="2016-06-30T14:00:49.877Z" QueueTimeUtc="2016-06-30T14:00:49.203Z">
<ResultMessage>
[Version Control Warehouse Sync]: ---> MakeDataChanges() result=DataChangesPending.
---> MakeDataChanges() result=DataChangesPending.
---> MakeDataChanges() result=DataChangesPending.
---> MakeDataChanges() result=DataChangesPending. --->
...
...
---> TF221123: Job Version Control Warehouse Sync for team project collection JLT TFS 2010 was unable to run after 20 attempts.
</ResultMessage>
</LastRun>
<CurrentRun ExecutionStartTimeUtc="2016-06-30T14:12:50.75Z" QueueTimeUtc="2016-06-30T14:12:50.19Z" JobState="Running"/>
</Job>
答案 0 :(得分:1)
在进一步检查之后,我们发现这是一个已知问题(由Microsoft确认),并已在TFS 2015(更新3)中修复。
虽然,它需要应用最新的TFS 2015更新,但是,可以通过在数据库级别应用以下变通方法来实现。
请在TFS集合数据库上运行以下脚本
DECLARE @partitionId INT = 1
DECLARE @registryUpdates typ_KeyValuePairStringTableNullable
INSERT @registryUpdates ([Key], Value)
SELECT ‘#\Configuration\VersionControl\CodeChurn\InUpgrade\’, NULL
EXEC prc_UpdateRegistry @partitionId, @registryUpdates
DROP TABLE tbl_UpgradeCodeChurn
详细信息可以是found in the following article。
运行此脚本并将其保留几个小时后,解决了此报告的问题。