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

drivers: make internal DisableLogCollection capability public #17196

Merged
merged 1 commit into from May 16, 2023

Conversation

tgross
Copy link
Member

@tgross tgross commented May 15, 2023

The DisableLogCollection capability was introduced as an experimental interface for the Docker driver in 0.10.4. The interface has been stable for a while, and allowing third-party task drivers the same capability would be useful for those drivers that don't need the additional overhead of logmon.

This PR only makes the capability public. It doesn't yet add it to the configuration options for the other internal drivers. (I'll do that in a separate PR just to keep review size reasonable.)

Fixes: #14636
Fixes: #15686

Unlike #16962 this has no visible impact on the jobspec or server state, but just to be sure I've tested upgrade paths on clients between 1.5.5 and this branch, both with and without the flag enabled on the docker driver.

The `DisableLogCollection` capability was introduced as an experimental
interface for the Docker driver in 0.10.4. The interface has been stable and
allowing third-party task drivers the same capability would be useful for those
drivers that don't need the additional overhead of logmon.

This PR only makes the capability public. It doesn't yet add it to the
configuration options for the other internal drivers.

Fixes: #14636 #15686
Copy link
Member

@jrasell jrasell left a comment

Choose a reason for hiding this comment

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

LGTM!

@tgross tgross merged commit bf7b82b into main May 16, 2023
26 checks passed
@tgross tgross deleted the driver-api-disable-logging branch May 16, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants