• Christian Bell's avatar
    Fix deletion logic in service controller. · 3769435a
    Christian Bell authored
    This is a regression from 1.5 exposed by cascading deltions. In order to apply updates, the service controller locks access to a cached service and spawns go routines without waiting for them. When updates and deletions arrive in quick succession, previous goroutines remain active and race with the deletion logic. Coupled with this, the service_helper was not re-evaluating the value of the DeletionTimestamp.
    
    Without this patch, federation will sometimes leak resources at destruction time.
    3769435a
Name
Last commit
Last update
..
BUILD Loading commit data...
cluster_helper.go Loading commit data...
dns.go Loading commit data...
dns_test.go Loading commit data...
doc.go Loading commit data...
endpoint_helper.go Loading commit data...
endpoint_helper_test.go Loading commit data...
service_helper.go Loading commit data...
service_helper_test.go Loading commit data...
servicecontroller.go Loading commit data...
servicecontroller_test.go Loading commit data...