Skip to content
Open
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
2 changes: 2 additions & 0 deletions pkg/ccr/job_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@
defer jm.lock.RUnlock()

if job, ok := jm.jobs[jobName]; ok {
log.Debugf("job rawStatue: %s, job state:%s", job.rawStatus.state, job.State)
atomic.StoreInt32(&job.rawStatus.state, int32(job.State))

Check failure on line 221 in pkg/ccr/job_manager.go

View workflow job for this annotation

GitHub Actions / build

undefined: atomic
return job.Status(), nil
} else {
return nil, xerror.Errorf(xerror.Normal, "job not exist: %s", jobName)
Expand Down
Loading