This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-26761] Try using a PersistedList rather than a LinkedList fo…
…r new WorkflowRun.checkouts. (Existing build records will continue to use LinkedList.) Possible advantages: · If the bug was caused by an unreported failure to serialize/deserialize an SCM instance, this would create a polite “old data” record instead. (CopyOnWriteArrayList would also work, via RobustCollectionConverter.) · The backing store is CopyOnWriteList, solving a hypothetical ConcurrentModificationException. · Additions from onCheckout should be saved to disk immediately, rather than waiting for some other save trigger. Originally-Committed-As: ad9b6caf0428b9c85601ef9d349ca2691b7055be
- Loading branch information
Showing 1 changed file with 3 additions and 3 deletions.