Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-18856

Switch primary replica calls from Raft leader to primary replica

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None

    Description

      Motivation
      As for now, RW requests to primary replica (see calls of `ReplicaService#invoke` ) are sent to raft leader, for which the refresh leader operation is needed. In presence of placement driver which is responsible for assigning primary replicas, this is not needed, the request can be sent directly to primary replica node.
      Th information about primary replicas assigned by placement driver should be available on every node after IGNITE-18859 . This task is about switching primary replica calls and eliminating excessive code related to refreshing leader of raft group.

      Definition of done
      Requests to primary replica are made to those nodes that are assigned by placement driver, and no related Raft calls are made.

      Attachments

        Issue Links

          Activity

            People

              alapin Alexander Lapin
              Denis Chudov Denis Chudov
              Denis Chudov Denis Chudov
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h 50m
                  1h 50m