• Dan Mace's avatar
    Fix GC sync race condition · d89f58fc
    Dan Mace authored
    Remove faulty diff detection logic from GC sync which leads to a race
    condition: If the GC's discovery client is returning a fully up to date
    view of server resources during the very first GC sync, the sync
    function will never sync monitors or reset the REST mapper unless
    discovery changes again. This causes REST mapping to fail for any custom
    types already present in discovery.
    d89f58fc
garbagecollector.go 24.3 KB