{"record":{"id":"85d723bd07e1154c","repo":"hashicorp/nomad","slug":"error-updating-job-summary-v","errorCode":null,"errorMessage":"error updating job summary: %v","messagePattern":"error updating job summary: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"nomad/state/state_store.go","lineNumber":4154,"sourceCode":"\t} else if alloc.DeploymentStatus != nil {\n\t\t// First time getting a deployment status so copy everything and just\n\t\t// set the index\n\t\tcopyAlloc.DeploymentStatus = alloc.DeploymentStatus.Copy()\n\t\tcopyAlloc.DeploymentStatus.ModifyIndex = index\n\t}\n\n\t// Update the modify index\n\tcopyAlloc.ModifyIndex = index\n\n\t// Update the modify time\n\tcopyAlloc.ModifyTime = alloc.ModifyTime\n\n\tif err := s.updateDeploymentWithAlloc(index, copyAlloc, exist, txn); err != nil {\n\t\treturn nil, fmt.Errorf(\"error updating deployment: %v\", err)\n\t}\n\n\tif err := s.updateSummaryWithAlloc(index, copyAlloc, exist, txn); err != nil {\n\t\treturn nil, fmt.Errorf(\"error updating job summary: %v\", err)\n\t}\n\n\tif err := s.updateEntWithAlloc(index, copyAlloc, exist, txn); err != nil {\n\t\treturn nil, fmt.Errorf(\"error updating enterprise features: %v\", err)\n\t}\n\n\tif err := s.updatePluginForTerminalAlloc(index, copyAlloc, txn); err != nil {\n\t\treturn nil, fmt.Errorf(\"error updating plugin for terminal alloc: %v\", err)\n\t}\n\n\tif err := s.cancelFollowupEvalsForReconnect(txn, index, copyAlloc, alloc); err != nil {\n\t\treturn nil, err\n\t}\n\n\t// Update the allocation\n\tif err := txn.Insert(\"allocs\", copyAlloc); err != nil {\n\t\treturn nil, fmt.Errorf(\"alloc insert failed: %v\", err)\n\t}","sourceCodeStart":4136,"sourceCodeEnd":4172,"githubUrl":"https://github.com/hashicorp/nomad/blob/482b49bf1aec006f089bcfc7e632d8f6ac303e5e/nomad/state/state_store.go#L4136-L4172","documentation":"While applying an allocation update, updateSummaryWithAlloc failed; the wrapped error propagates from job summary bookkeeping inside the alloc upsert.","triggerScenarios":"Thrown at nomad/state/state_store.go:4154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the allocation update","Check server logs for job summary update errors","Verify the job summary for the alloc's job exists"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"482b49bf1aec006f089bcfc7e632d8f6ac303e5e","analyzedAt":"2026-09-04T07:54:14.808Z","contentChangedAt":"2026-09-04T07:54:14.808Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}