mirror of
https://gitlab.cs.uni-saarland.de/hpc/cc-condor-sync.git
synced 2024-12-26 05:29:06 +01:00
JobCurrentStartDate & EnteredCurrentStatus differ.
When starting a job they then and when differ by 1s or so.. so using JobCurrentStartDate in the end does not match the EnteredCurrentStatus from the start, CC fails to stop the right job.
This commit is contained in:
parent
e38e6fa5b9
commit
019bfa5ee9
@ -428,7 +428,7 @@ void CCSyncPlugin::endTransaction() {
|
|||||||
{"cluster", clusterName},
|
{"cluster", clusterName},
|
||||||
{"numNodes", std::stoi(job["CurrentHosts"])},
|
{"numNodes", std::stoi(job["CurrentHosts"])},
|
||||||
{"numHwthreads", std::stoi(job["CpusProvisioned"])},
|
{"numHwthreads", std::stoi(job["CpusProvisioned"])},
|
||||||
{"startTime", std::stoull(job["EnteredCurrentStatus"])},
|
{"startTime", std::stoull(job["JobCurrentStartDate"])},
|
||||||
{"project", removeQuotes(job["AcctGroup"])},
|
{"project", removeQuotes(job["AcctGroup"])},
|
||||||
{"partition", "main"},
|
{"partition", "main"},
|
||||||
{"exclusive", 0},
|
{"exclusive", 0},
|
||||||
|
Loading…
Reference in New Issue
Block a user