Use TransactionCommitOperationTimeout when commiting a Local transaction 16/20916/1
authorMoiz Raja <moraja@cisco.com>
Thu, 21 May 2015 18:20:55 +0000 (11:20 -0700)
committerMoiz Raja <moraja@cisco.com>
Thu, 21 May 2015 18:20:55 +0000 (11:20 -0700)
commit3ca4e8353a32a68ebf71e98fed1954af5c419ca3
tree27a33bf9cc65941e8d47ec6bcdaa7395016edbf4
parentcd0eea4a97a6279b801074061dd64f6663e8b837
Use TransactionCommitOperationTimeout when commiting a Local transaction

This is to make this similar to how we do a remote transaction. The transaction
commit timeout is much larger than the operation timeout and is more appropriate
for committing because the latencies involved in committing are much larger as
committing involves replication which could sometimes be pretty slow.

Change-Id: Ie76e05bf875b4ea5eee9618519d7167f50671c8f
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/LocalThreePhaseCommitCohort.java