8000 [GarbageCollector] monitor the watch latency by caesarxuchao · Pull Request #30483 · kubernetes/kubernetes · GitHub
[go: up one dir, main page]

Skip to content

Conversation

caesarxuchao
Copy link
Contributor
@caesarxuchao caesarxuchao commented Aug 11, 2016

Added a metric for the latency between when the GC sends a deletion request and when the deletion is observed by the GC again. This is the upper bound of the latency of watch, the latency between when apiserver commits a change and when the GC observes the change via watch, which is an interesting metric because we want to know if the race condition of orphaning described in #26120 is a real concern.


This change is Reviewable

@caesarxuchao caesarxuchao added the sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. label Aug 11, 2016
@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. release-note-label-needed labels Aug 11, 2016
@k8s-bot
Copy link
k8s-bot commented Aug 11, 2016

GCE e2e build/test passed for commit b1a45b0.

@caesarxuchao
Copy link
Contributor Author

@k8s-bot unit test this, issue #30462

if err != nil {
utilruntime.HandleError(fmt.Errorf("Error syncing item %#v: %v", key, err))
// retry if garbage collection of an object failed.
gc.dirtyQueue.AddWithTimestamp(key, start)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is noise. I can separate it to another PR if you think the change is not obvious.

@k8s-github-robot
Copy link

@caesarxuchao PR needs rebase

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 19, 2016
@caesarxuchao
Copy link
Contributor Author

This PR can wait after 1.4 release.

@k8s-bot
Copy link
k8s-bot commented Aug 30, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull instead.)

This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

@gmarek gmarek added this to the v1.5 milestone Aug 30, 2016
k8s-github-robot pushed a commit that referenced this pull request Sep 3, 2016
Automatic merge from submit-queue

[GarbageCollector] GC retries failed garbage collection

The code was buried in #30483, which we decided to put off to 1.5.
@dims
Copy link
Member
dims commented Nov 9, 2016

@caesarxuchao @lavalamp @gmarek Do we need this for 1.5? (I see a 1.5 milestone)

@caesarxuchao caesarxuchao removed this from the v1.5 milestone Nov 9, 2016
@caesarxuchao
Copy link
Contributor Author

Removed. Thanks for the reminder.

@k8s-github-robot k8s-github-robot added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Nov 10, 2016
@apelisse apelisse removed the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Nov 11, 2016
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] Needs approval from an approver in each of these OWNERS Files:

We suggest the following people:
cc @mikedanese
You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@gmarek
Copy link
Contributor
gmarek commented Feb 6, 2017

@caesarxuchao - can we close this, or are we going to continue working on it?

@caesarxuchao
Copy link
Contributor Author

Closed. Thanks for the reminder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

0