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
1 change: 1 addition & 0 deletions server/neptune/temporalworker/job/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ func (s *StorageBackendJobStore) Remove(jobID string) {
func (s *StorageBackendJobStore) Cleanup(ctx context.Context) error {
failedJobs := []string{}
for jobID, job := range s.InMemoryStore.GetJobs() {
s.logger.WarnContext(ctx, fmt.Sprintf("job: %s was not persisted before shutdown, persisting now during cleanup", jobID))
_, err := s.storageBackend.Write(ctx, jobID, job.Output)

// Track failed jobs, log errors and continue with other jobs
Expand Down
Loading