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

gazctl: shards reassign subcommand #217

Open
jgraettinger opened this issue Oct 3, 2019 · 0 comments
Open

gazctl: shards reassign subcommand #217

jgraettinger opened this issue Oct 3, 2019 · 0 comments

Comments

@jgraettinger
Copy link
Contributor

If a shard fails during processing, it's status is set to FAILED and the relevant error is available through gazctl (bonus: make this more accessible; currently one has to use -o json / proto), but the shard isn't re-assigned away from the primary. This is deliberate, to "give" (force) the operator a chance to inspect and correct the fault.

Having done that, there isn't an easy way to re-assign / restart these shards short of deleting their current assigned pod.

This command should take an optional selector (if not provided, all shards are selected) and remove primary assignments for any shards which are currently failed. It'll probably also require a new consumer RPC to actually drop the Etcd assignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Gazette Core
  
Inbox
Development

No branches or pull requests

1 participant