Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix issues with LeastLoadedCandidateSelectionStrategy
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
TransactionContextFactory.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionContextFactory.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionContextFactory.java
index 1d141aec2e87135f1ee8fdf2943699a933668d79..db8dedcf353c3450e5475dc5cb2c8723dd401f0a 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionContextFactory.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionContextFactory.java
@@
-45,7
+45,7
@@
final class TransactionContextFactory extends AbstractTransactionContextFactory<
}
@Override
}
@Override
- protected Future<PrimaryShardInfo> findPrimaryShard(final String shardName,
final String
txId) {
+ protected Future<PrimaryShardInfo> findPrimaryShard(final String shardName,
TransactionIdentifier
txId) {
return getActorContext().findPrimaryShardAsync(shardName);
}
return getActorContext().findPrimaryShardAsync(shardName);
}
@@
-57,4
+57,8
@@
final class TransactionContextFactory extends AbstractTransactionContextFactory<
DOMStoreTransactionChain createTransactionChain() {
return new TransactionChainProxy(this);
}
DOMStoreTransactionChain createTransactionChain() {
return new TransactionChainProxy(this);
}
+
+ @Override
+ protected void onTransactionContextCreated(TransactionIdentifier transactionId) {
+ }
}
}