Uploaded image for project: 'Sidecar for Apache Cassandra'
  1. Sidecar for Apache Cassandra
  2. CASSSIDECAR-174

Mechanism to have a reduced number of Sidecar instances run operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.0
    • Rest API
    • 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

          Activity

            People

              frankgh Francisco Guerrero
              frankgh Francisco Guerrero
              Francisco Guerrero
              Doug Rohrer, Yifan Cai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5.5h
                  5.5h