Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-782

Clustering : Applying a recovered journal to Shard does not happen during recovery

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: Mac OS
      Platform: PC

    • 1734

    Description

      The RaftActor does not immediately apply state during recovery and instead relies on state changes or replication to apply the state. This can lead to a couple of issues. Firstly in a single node cluster the Leader will not reconstruct it's state till it gets the very first new transaction post recovery. Secondly this can lead to really slow application of the very first new transaction if the recovery process involves a lot of operations.

      To reproduce the first problem do the following,

      1. Start a single node cluster
      2. Connect mininet to the cluster and create a small topology
      3. Kill the controller (kill -9)
      4. Exit mininet
      5. Start the controller
      6. Using restconf check if the nodes that were previously added are present

      In this scenario the nodes should be present

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            moraja@cisco.com Moiz Raja
            moraja@cisco.com Moiz Raja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: