[CONTROLLER-1321] No relevant exception/info is provided if leader is unreachable except AskTimeOutException Created: 14/May/15  Updated: 27/May/15  Resolved: 27/May/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: 3221

 Description   

There is not relevant exception is provided to the applications, if a new datastore request is made for read/write data, while leader is unreachable and re-election has not triggered yet.
This could cause in data loss in some scenarios such as topology manager trying to write link information, but could not because leader was unreachable. Only AskTimeOutException will be thrown, which does not give any relevant information on which applications can act upon.



 Comments   
Comment by Harman Singh [ 14/May/15 ]

Possible Solution is to provide ShardUnavailableException, if akka UnreachableMember event is received for leader member, then applications can wait and re-try, if they find such exception.

Comment by Harman Singh [ 27/May/15 ]

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

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