CDS: fix TransactionProxy close()/ready() interaction 12/17612/6
authorRobert Varga <rovarga@cisco.com>
Thu, 2 Apr 2015 09:58:48 +0000 (11:58 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 7 Apr 2015 13:32:52 +0000 (15:32 +0200)
commit5e0454e75652160b04bdb31b02b68cf68b177732
tree72cb85b3b97e5bf8ccda4434c8739d21df15ccfc
parent43b03a8b90268b91fa50a9f05d9a43e4bc726042
CDS: fix TransactionProxy close()/ready() interaction

TransactionProxy is vulnerable to wrong use of close() after ready().
Fix this up so we detect this condition and make it explicit what
happens when.

Change-Id: Id966b57ce53cdc92bc3e53cb0d38b77303ba1c54
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionProxy.java