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

Alias for classic mirrored queue pids field #156

Open
michaelklishin opened this issue Jun 11, 2020 · 0 comments
Open

Alias for classic mirrored queue pids field #156

michaelklishin opened this issue Jun 11, 2020 · 0 comments

Comments

@michaelklishin
Copy link
Owner

Classic mirrored queues have originally used an unfortunate term, "slave", to refer to secondary replicas. We have eradicated this from the docs years ago but it is still a field served by the HTTP API and displayed/accepted by CLI tools.

Given a broad range of tools that use both, renaming it would be a significant breaking change. However, we can and should give those who do not want to refer to that field in their own applications, tools or command line usage an option.

For example, we can alias slave_pids as mirror_pids in CLI tools, their underlying internal API responses and HTTP API responses. This won't break any existing tooling but will give the community an option of using a non-controversial field name.

In the long term we expect classic mirrored queues to be deprecated and removed, which would make the field go away for good.

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

No branches or pull requests

1 participant