[CONTROLLER-1322] Expire FindPrimaryShard Cache if Leader unreachable happens Created: 14/May/15  Updated: 02/Jun/15  Resolved: 02/Jun/15

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: Post-Helium
Fix Version/s: None

Type: Bug
Reporter: Harman Singh Assignee: Harman Singh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 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.



 Comments   
Comment by Moiz Raja [ 02/Jun/15 ]

https://git.opendaylight.org/gerrit/#/c/21495/

Generated at Wed Feb 07 19:55:14 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.