Perforce indexing fails - Too many rows scanned
Symptoms
The following appears in the atlassian-fisheye.log
:
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.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.