rkdfx opened a new pull request, #6665:
URL: https://github.com/apache/camel-k/pull/6665

   <!-- Description -->
   
   
   
   
   <!--
   Please, describe the PR intent carefully, linking it to the github issue 
that it wants to address.
   -->
   
   Fixes #6620.
   
   `Reconcile` reads the `Build` from the cache, which can return a stale copy 
of a `Build` that was already deleted. The subsequent status write then fails 
with `builds.camel.apache.org "<name>" not found`, and controller-runtime logs 
it as a `Reconciler error` with a stacktrace even though nothing is wrong (the 
build is simply gone).
   
   Fix: treat `NotFound` from a build action and from the status `update()` as 
benign, return without requeue or error, like the top-level fetch already does. 
Safe because the only other `Get` in the build path (`getBuilderPod`) already 
ignores `NotFound`.


-- 
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]

Reply via email to