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

Expire FindPrimaryShard Cache if Leader unreachable happens

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Post-Helium
    • None
    • clustering
    • None
    • Operating System: All
      Platform: All

    • 3222

    Description

      While fixing bug-3221, if leader is marked unreachable, the PrimaryShard Cache in actorcontext should also be invalidated.

      A possible solution is to make actorcontext to listen to ShardInformation changes. If we do that, then we can possibly update the findShard code.
      For any local shard changes, actorcontext will receive information via listener and in that case, we don't have to keep that in cache. For any remote Shards (if a shard replica does not exist on local) a FindShard message could be sent.

      Attachments

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

        Activity

          People

            harmasin@cisco.com Harman Singh
            harmasin@cisco.com Harman Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: