-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger controller with caches #9485
Trigger controller with caches #9485
Conversation
[test] |
func (s *StoreToDeploymentConfigLister) GetConfigsForImageStream(stream *imageapi.ImageStream) ([]*deployapi.DeploymentConfig, error) { | ||
var matching []*deployapi.DeploymentConfig | ||
// TODO: Maybe build an index for object references | ||
configs, err := s.List() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doing the List()
blocks others from observing writes. Let's make that index.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm
lgtm, squash and wait for #9442 with the mutation checks before merging |
Evaluated for origin test up to befece1 |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5331/) |
[merge] |
flake: === BEGIN TEST CASE ===
test/cmd/admin.sh:247: executing 'oc create -f test/extended/testdata/roles/policy-clusterroles.yaml' expecting success
FAILURE after 0.742s: test/cmd/admin.sh:247: executing 'oc create -f test/extended/testdata/roles/policy-clusterroles.yaml' expecting success: the command returned the wrong error code
Standard output from the command:
clusterrole "basic-user2" created [merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5359/) (Image: devenv-rhel7_4452) |
#9444, [merge] |
Evaluated for origin merge up to befece1 |
@deads2k in a similar fashion to the main controller.
cc: @smarterclayton @ironcladlou @mfojtik