Skip to content
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

util/cache: remove dependency on util/log #80898

Merged
merged 1 commit into from
May 3, 2022

Conversation

otan
Copy link
Contributor

@otan otan commented May 3, 2022

Use a hook in IntervalCache to log any errors instead.

Release note: None

Use a hook in IntervalCache to log any errors instead.

Release note: None
@otan otan requested a review from ajwerner May 3, 2022 00:51
@otan otan requested a review from a team as a code owner May 3, 2022 00:51
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @otan)

@otan
Copy link
Contributor Author

otan commented May 3, 2022

bors r=ajwerner

@craig
Copy link
Contributor

craig bot commented May 3, 2022

Build succeeded:

@craig craig bot merged commit 91aa127 into cockroachdb:master May 3, 2022
@@ -550,6 +550,10 @@ type IntervalCache struct {
overlaps []*Entry
}

// IntervalCacheLogErrorf is a hook that is called on certain errors in the IntervalCache.
// This is used to prevent and import to util/log.
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: and -> an

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants