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

release-20.1: gcjobnotifier: unify gcjobs around a single copy of the system config #54285

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

ajwerner
Copy link
Contributor

Backport 1/1 commits from #54266.

/cc @cockroachdb/release


Prior to this change, each GC job would hold on to a complete copy of the
system config. This was problematic in cases where there were a large number
of GC jobs. This PR introduces a new object in a new package to coordinate
the relevant notifications.

Release note (bug fix): Fixed a bug which could lead to out of memory errors
when dropping large numbers of tables at high frequency.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner
Copy link
Contributor Author

@pbardea this is your work, I just ran it through the backport tool

@pbardea
Copy link
Contributor

pbardea commented Sep 11, 2020

Sorry - missed some cherry-pick skew in the added gcjob_test. Updated my branch. This build will fail on that (and some whitespace linting that should be fixed too).

Prior to this change, each GC job would hold on to a complete copy of the
system config. This was problematic in cases where there were a large number
of GC jobs. This PR introduces a new object in a new package to coordinate
the relevant notifications.

Release note (bug fix): Fixed a bug which could lead to out of memory errors
when dropping large numbers of tables at high frequency.
@ajwerner
Copy link
Contributor Author

@pbardea I fixed this up, should be RFAL

@ajwerner ajwerner merged commit ccd5f3c into cockroachdb:release-20.1 Sep 15, 2020
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.

None yet

3 participants