Perforce indexing fails - Too many rows scanned
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
The following appears in the atlassian-fisheye.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2013-07-01 10:42:06,810 WARN [InitialPinger1 RepoName] fisheye.app P4Scanner-getRevList - [perforce:2002//ABC/RepoName] Unable to get revlist due to:com.atlassian.utils.process.ProcessException:Non-zero exit code: 1 | Too many rows scanned (over 750000); see 'p4 help maxscanrows'.
2013-07-01 10:42:06,810 ERROR [InitialPinger1 RepoName] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo RepoName due to class com.cenqua.fisheye.perforce.client.P4ClientException - Unable to get P4 changelists
com.cenqua.fisheye.perforce.client.P4ClientException: Unable to get P4 changelists
at com.cenqua.fisheye.perforce.P4Scanner.getRevList(P4Scanner.java:149)
at com.cenqua.fisheye.rep.RepositoryScanner.updateRevList(RepositoryScanner.java:318)
at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:139)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:258)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:225)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184)
at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)
at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:381)
at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)
at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67)
at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138)
at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128)
at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2013-07-01 10:42:06,810 ERROR [InitialPinger1 RepoName] fisheye.app BaseRepositoryScanner-handleSlurpException - Repository scanner paused.
2013-07-01 10:42:06,811 DEBUG [InitialPinger1 RepoName] fisheye.app RepositoryStatus-setEngineError - Engine Error Set [RepoName]: Repository paused due to error
com.cenqua.fisheye.perforce.client.P4ClientException: Unable to get P4 changelists
Cause
The error arise when a client is scanning for revisions which exceeded the suggested row amount.
Resolution
According to the following documentation:
http://answers.perforce.com/articles/KB/2529 (under the "Setting maxscanrows to limit the number of revisions scanned" section), maxscanrows
must be increased accordingly.
Was this helpful?