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

sql/tenant: remove idle detection and exit flag #68431

Merged
merged 1 commit into from
Aug 9, 2021

Conversation

darinpp
Copy link
Contributor

@darinpp darinpp commented Aug 4, 2021

We previoulsy had a flag --idle-exit-after that was used to monitor the
active SQL connections and terminate the server if there are no more
clients. We don't need that functionality anymore so this PR removes it.
It also fixes the issues with the related flaky tests.
Fixes #66767
Release note: None

@darinpp darinpp requested a review from otan August 4, 2021 17:06
@darinpp darinpp requested review from a team as code owners August 4, 2021 17:06
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

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

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

@darinpp darinpp force-pushed the remove-idle-exit branch 2 times, most recently from 7e9923b to 79906e2 Compare August 6, 2021 01:30
@darinpp darinpp changed the title sql/tenant: add idle detection and exit flag sql/tenant: remove idle detection and exit flag Aug 6, 2021
We previoulsy had a flag `--idle-exit-after` that was used to monitor the
active SQL connections and terminate the server if there are no more
clients. We don't need that functionality anymore so this PR removes it.
It also fixes the issues with the related flaky tests.
Fixes cockroachdb#66767
Release note: None
@darinpp
Copy link
Contributor Author

darinpp commented Aug 8, 2021

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 8, 2021

Build failed:

@darinpp
Copy link
Contributor Author

darinpp commented Aug 9, 2021

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 9, 2021

Build succeeded:

@craig craig bot merged commit aa9701d into cockroachdb:master Aug 9, 2021
@darinpp darinpp deleted the remove-idle-exit branch August 9, 2021 16:31
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.

server: TestSetupIdleMonitor_WithWarmupProvided failed
3 participants