AruneshDwivedi opened a new pull request, #840:
URL: https://github.com/apache/solr-operator/pull/840

   DeletePodForUpdate deletes the target pod with a UID precondition, but any 
error from that delete (including Already-NotFound) was logged and surfaced as 
a PodUpdateError warning. When the pod is already gone - the desired 
postcondition for this update path - the StatefulSet recreates it, so the 
NotFound is expected. Now apierrors.IsNotFound is checked and treated as 
success (normal PodUpdate event) while other delete errors still warn. Added 
two regression tests (NotFound -> normal event, real error -> warning). 
Verified with go build, go vet, and the targeted tests pass; the package's 
Ginkgo/ envtest BeforeSuite is environment-dependent and not related to this 
change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to