Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5599

Re-scan range of Perforce Changelists fails to update cross repo index

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • N/A
    • 3.6.3
    • None

    Description

      I updated the commit message of changelist 9 to include the text "DRP-9" corresponding to my JIRA issue key and selectively re-scanned the FE repo changeset using range 8-10:

      2015-03-27 16:04:39,317 DEBUG [IncrPing1 local_perforce ] fisheye P4Scanner-updateChangesets - Updating revision:8
      2015-03-27 16:04:39,317 DEBUG [qtp1497377679-265 ] fisheye ProfilingServletFilter-logRequest - end request in 4ms POST /fecru/gwt/RepositoryAdminRpcService sessionid=13ig9rv2xk1qlguhrz2scxfqp 200
      2015-03-27 16:04:39,317 DEBUG [IncrPing1 local_perforce ] fisheye P4CliUtils-dumpCommandLine - [localhost:1666//depot] Executing p4 -p localhost:1666 -ztag change -o 8 
      2015-03-27 16:04:39,324 DEBUG [qtp1497377679-264 ] fisheye ProfilingServletFilter-logRequest - start request POST /fecru/gwt/RepositoryAdminRpcService sessionid=13ig9rv2xk1qlguhrz2scxfqp
      2015-03-27 16:04:39,328 DEBUG [qtp1497377679-264 ] fisheye ProfilingServletFilter-logRequest - end request in 4ms POST /fecru/gwt/RepositoryAdminRpcService sessionid=13ig9rv2xk1qlguhrz2scxfqp 200
      2015-03-27 16:04:39,362 DEBUG [IncrPing1 local_perforce ] fisheye P4Client-addFixes - [localhost:1666//depot] Adding fix information
      2015-03-27 16:04:39,362 DEBUG [IncrPing1 local_perforce ] fisheye P4CliUtils-dumpCommandLine - [localhost:1666//depot] Executing p4 -p localhost:1666 -ztag fixes //depot/...@8,8 
      2015-03-27 16:04:39,385 DEBUG [IncrPing1 local_perforce ] fisheye P4Scanner-updateChangesets - Updating revision:9
      2015-03-27 16:04:39,385 DEBUG [IncrPing1 local_perforce ] fisheye P4CliUtils-dumpCommandLine - [localhost:1666//depot] Executing p4 -p localhost:1666 -ztag change -o 9 
      2015-03-27 16:04:39,409 DEBUG [IncrPing1 local_perforce ] fisheye P4Client-addFixes - [localhost:1666//depot] Adding fix information
      2015-03-27 16:04:39,409 DEBUG [IncrPing1 local_perforce ] fisheye P4CliUtils-dumpCommandLine - [localhost:1666//depot] Executing p4 -p localhost:1666 -ztag fixes //depot/...@9,9 
      2015-03-27 16:04:39,436 DEBUG [IncrPing1 local_perforce ] fisheye P4Scanner-updateChangesets - Updating revision:10
      2015-03-27 16:04:39,436 DEBUG [IncrPing1 local_perforce ] fisheye P4CliUtils-dumpCommandLine - [localhost:1666//depot] Executing p4 -p localhost:1666 -ztag change -o 10 
      2015-03-27 16:04:39,453 DEBUG [IncrPing1 local_perforce ] fisheye P4Client-addFixes - [localhost:1666//depot] Adding fix information
      2015-03-27 16:04:39,453 DEBUG [IncrPing1 local_perforce ] fisheye P4CliUtils-dumpCommandLine - [localhost:1666//depot] Executing p4 -p localhost:1666 -ztag fixes //depot/...@10,10 
      2015-03-27 16:04:39,475 DEBUG [IncrPing1 local_perforce ] fisheye RepositoryStatus-setMessage - Status change [local_perforce]: Background upgrading changesets 199 to 0
      2015-03-27 16:04:39,476 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - -> indexChangesetsAndAuthors - local_perforce (0:199) mem_usage = 187854248 heapsize = 716177408 freemem = 528323160
      2015-03-27 16:04:39,476 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - -> indexChangesetsAndAuthors mem_usage = 187854248 heapsize = 716177408 freemem = 528323160
      2015-03-27 16:04:39,478 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - -- indexChangesetsAndAuthors at About to write batch of 9 documents and weight of 33 to Lucene time 2 millis mem_usage = 188411192 heapsize = 716177408 freemem = 527766216
      2015-03-27 16:04:39,551 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - -- indexChangesetsAndAuthors at Lucene write done for batch time 75 millis mem_usage = 189065952 heapsize = 716177408 freemem = 527111456
      2015-03-27 16:04:39,551 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - <- indexChangesetsAndAuthors  time 75 millis mem_usage = 189065952 heapsize = 716177408 freemem = 527111456
      2015-03-27 16:04:39,551 DEBUG [IncrPing1 local_perforce ] fisheye BranchIndexer-indexBranches - Indexing 1 added branches: [head@10]
      2015-03-27 16:04:39,552 DEBUG [IncrPing1 local_perforce ] fisheye BranchIndexer-sendAndClearBatch - Committing BranchDocBatch with 1 docs
      2015-03-27 16:04:39,601 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - -> Preprocessing changesets for crossRepoMeta mem_usage = 189578648 heapsize = 716177408 freemem = 526598760
      2015-03-27 16:04:39,603 DEBUG [IncrPing1 local_perforce ] fisheye PathIndexer-sendAndClearBatch - About to store 16 preprocessed paths in crossRepoMeta index. Dedup'ed 8 (33.33%).
      2015-03-27 16:04:39,694 DEBUG [IncrPing1 local_perforce ] fisheye PathIndexer-sendAndClearBatch - PathCache: CacheStats{hitCount=35, missCount=16, loadSuccessCount=16, loadExceptionCount=0, totalLoadTime=135210, evictionCount=0}
      2015-03-27 16:04:39,694 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - <- Preprocessing changesets for crossRepoMeta  time 93 millis mem_usage = 191543992 heapsize = 716177408 freemem = 524633416
      2015-03-27 16:04:39,694 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - <- indexChangesetsAndAuthors - local_perforce (0:199) 9 changesets (24.22 ms/cs) time 218 millis mem_usage = 191543992 heapsize = 716177408 freemem = 524633416
      2015-03-27 16:04:39,694 DEBUG [IncrPing1 local_perforce ] fisheye RepositoryStatus-setMessage - Status change [local_perforce]: Indexing revision metadata item 3 of 3
      2015-03-27 16:04:39,694 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - -> Indexing metadata batch sized 3 mem_usage = 191543992 heapsize = 716177408 freemem = 524633416
      2015-03-27 16:04:39,694 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - -> Preprocessing changesets for crossRepoMeta mem_usage = 191543992 heapsize = 716177408 freemem = 524633416
      2015-03-27 16:04:39,695 DEBUG [IncrPing1 local_perforce ] fisheye PathIndexer-sendAndClearBatch - About to store 1 preprocessed paths in crossRepoMeta index. Dedup'ed 2 (66.67%).
      2015-03-27 16:04:39,733 DEBUG [IncrPing1 local_perforce ] fisheye PathIndexer-sendAndClearBatch - PathCache: CacheStats{hitCount=36, missCount=16, loadSuccessCount=16, loadExceptionCount=0, totalLoadTime=135210, evictionCount=0}
      2015-03-27 16:04:39,733 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - <- Preprocessing changesets for crossRepoMeta  time 38 millis mem_usage = 192427664 heapsize = 716177408 freemem = 523749744
      2015-03-27 16:04:39,733 DEBUG [IncrPing1 local_perforce ] fisheye BranchIndexer-indexBranches - Indexing 1 added branches: [head@10]
      2015-03-27 16:04:39,734 DEBUG [IncrPing1 local_perforce ] fisheye BranchIndexer-sendAndClearBatch - Committing BranchDocBatch with 1 docs
      2015-03-27 16:04:39,792 DEBUG [IncrPing1 local_perforce ] fisheye Timer-output - <- Indexing metadata batch sized 3  time 98 millis mem_usage = 193903472 heapsize = 716177408 freemem = 522273936
      2015-03-27 16:04:39,799 INFO  [IncrPing1 local_perforce ] fisheye P4Scanner-indexRevisions - local_perforce finished indexing revisions: 8 - 10
      2015-03-27 16:04:39,799 DEBUG [IncrPing1 local_perforce ] fisheye RepositoryHandle-release - release engine on local_perforce, count=0 waited 0 ms to release

      The updated commit message appears in FishEye:

      "path","revision","author","date","csid","comment"
      "hello_world.java","10","drohan",2015/03/27 20:18:09,"10","DRP-9"
      "hello_world.java","9","drohan",2015/03/20 16:43:58,"9","beta DRP-9"

      Yet the remote-link-aggregation-plugin doesn't get updated. The count should show 2 items for p4:

      http://localhost:8060/fecru/rest/remote-link-aggregation/latest/aggregation?globalId=DRP-9

      {
      targets: {
      DRP-9: [
      {
      type: {
      id: "repository"
      },
      count: 2,
      objects: [
      {
      lastUpdated: "2014-02-10T16:10:27.000-0600",
      count: 5,
      commits: [
      "e38607126fe7523d89b0ff46715e1a858cf772d3",
      "8585da7e3d358e16aa97452d9db8f053c8d075a1",
      "3dba72e59475451ce4da05ff7e1429541ec4c353",
      "f68df97b4af1202800fa0e86de2f6495706a9dc8",
      "05a48a2718ebd380fc583009d5a415eb52e2bbdd"
      ],
      type: "git"
      },
      {
      lastUpdated: "2015-03-27T15:18:09.000-0500",
      count: 1,
      commits: [
      "10"
      ],
      type: "p4"
      }
      ]
      },
      {
      type: {
      id: "review"
      },
      count: 0,
      objects: [ ]
      },
      {
      type: {
      id: "branch"
      },
      count: 0,
      objects: [ ]
      }
      ]
      }
      }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              drohan Daniel R
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: