Skip to content

Use context in keywatcher to prepare for go-redis upgrade

Sylvester Chin requested to merge sc1-workhorse-prep-go-redis into master

What does this MR do and why?

This MR is broken off from !126965 (closed) to lay some non-functional changes to keywatcher.go's public methods to accept a ctx context.Context.

In https://github.com/redis/go-redis, context.Context is widely used to enable timeouts and tracing.

Related to #413151 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sylvester Chin

Merge request reports