Replies: 1 comment 1 reply
-
| Hi @teabot , yeah, it's probably not a concurrency issue, I don't recall any tbh. I would suggest to log the requests and responses, and see if something buils up from that, there are somethimes funky issues with SSA. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
JOSDK v4.9.7
I have a resource whose status includes a list of conditions. This is serialised as an array. In my reconcile method I update the conditions list like so:
In practice I find that I get duplicate entries appearing in the conditions list, usually differing only by
lastTransitionTimewith a delta of a few ms.When I look at logs, I see the two instances of the condition apparently added by two reconciliation cycles, ms apart. One follows the other (no overlap), but they can take place on different threads. They both seem to operate on the same resource version. The logs look something like:
As I undertand it:
Can you suggest why this may be happening and how I might guard against it?
Beta Was this translation helpful? Give feedback.
All reactions