Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
This is a proposal to introduce a mechanism to have a reduced number of Sidecar instances run operations across the cluster. Ideally we would want a unique Sidecar instance perform a subset of operations in the cluster. However, the operations might be triggered by more than one Sidecar instance so they can be assumed to be safe to be performed by one or more leaders.
Currently Sidecar has existing use cases where we want a single Sidecar instance to perform, for example schema initialization. There are upcoming use cases in Sidecar that might be able to take advantage of this feature.
Goals
- Have the ability to choose a reduced number of instances that can perform operations where we would want only a minimal number of instances perform the operations
- Easily write new tasks or define schemas that are going to be executed by the reduced number of Sidecar instances
- Have some loose guarantees on always having at least one leader
Non-Goals
- Have a unique global leader
Attachments
Issue Links
- links to