Stop using the formatted timestamp to compute Run.id, and just use the build number as the directory name, so that

      r.getId().equals(String.valueOf(r.number))

      in which case the timestamp would have to be made a nontransient field (but number could be transient). Then build number symlinks could be dispensed with, saving some hassle and overhead; and AbstractLazyLoadRunMap could be greatly simplified, since the disk location would be immediately predictable from the number, which is what most API calls care about.

      The downside is that there would have to be a one-time migration, which could be slow on a big installation, and not reversible.

          [JENKINS-24380] Use build numbers as IDs

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-24376 [ JENKINS-24376 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-19977 [ JENKINS-19977 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-22767 [ JENKINS-22767 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 1379 (Web Link)" [ 11306 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-23130 [ JENKINS-23130 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-23152 [ JENKINS-23152 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-25340 [ JENKINS-25340 ]
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-26496 [ JENKINS-26496 ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: