Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,10 @@ ArchiveEvent lazyProcessJobArchive(String jobId, Path jobArchive, boolean indivi

ArchiveEventType archiveEventType =
overviewCreated ? ArchiveEventType.OVERVIEW_CREATED : ArchiveEventType.CREATED;
archiveMetaInfo.setEventType(archiveEventType);
if (detailArchives.isEmpty()) {
// otherwise the async task above is now the sole owner of eventType transitions.
archiveMetaInfo.setEventType(archiveEventType);
}
return new ArchiveEvent(jobId, archiveEventType);
}

Expand Down