Bug -3221 : Adding a new DataStoreUnavailableException for external applications.
authorHarman Singh <harmasin@cisco.com>
Mon, 18 May 2015 21:51:46 +0000 (14:51 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 27 May 2015 18:21:05 +0000 (18:21 +0000)
commit9ec90e8e3546d17d8c1e02ad19423b84b44c4d14
treef23b4baaa3294f614291e2a44d1bfdd9d3b95891
parent98e1ab10e60b773110f897bc77ec237365f96b41
Bug -3221 : Adding a new DataStoreUnavailableException for external applications.
If cluster member, which is a leader of one or multiple shards becomes unavailable,
Shard re-election happens after certain time period and anyone tries to access datastore,
receives akka.timeout exception. No application can act upon such exception.

DataStoreUnavailableException will help external applications to retry if they see this exception.

Change-Id: Iceb10580bbe73ae91dc8abb4bc6a183cb4fad6f8
Signed-off-by: Harman Singh <harmasin@cisco.com>
opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataStoreUnavailableException.java [new file with mode: 0644]