• Kubernetes Submit Queue's avatar
    Merge pull request #31755 from smarterclayton/has_synced · dab787d8
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    DeltaFIFO should not report HasSynced until deletes are reported
    
    Deletions identified by knownObjects on the initial sync replace
    (immediately after the List from a reflector) should be considered part
    of the initial sync since we have the information available at the time
    we do the deletion.
    
    An error during Replace() can result in Populated not being set, but it
    was incorrect before (population would be wrong) and queueActionLocked
    does not error except on "my cache is broken because I gave an incorrect
    keyFunc".
    
    @lavalamp @deads2k hit this while trying to use DeltaFIFO to implement an "external" controller (one that uses the knownObjects as provided by a call to a remote system of record).
    
    Not 1.4
    dab787d8
Name
Last commit
Last update
..
cache Loading commit data...
chaosclient Loading commit data...
clientset_generated Loading commit data...
leaderelection Loading commit data...
metrics Loading commit data...
record Loading commit data...
restclient Loading commit data...
testdata Loading commit data...
testing Loading commit data...
transport Loading commit data...
typed Loading commit data...
unversioned Loading commit data...
OWNERS Loading commit data...