From b6cf5019b56292dd8177424b0158d96114cf97c2 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Wed, 23 Aug 2017 20:53:45 +0200 Subject: [PATCH 1/1] Document debug-transactions This was left undocumented for some reason. Change-Id: I49a7709fe7536009e5cbb9c7724e495952f9217a Signed-off-by: Robert Varga --- .../src/main/resources/initial/datastore.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/datastore.cfg b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/datastore.cfg index 853c8f0d19..20d28919f9 100644 --- a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/datastore.cfg +++ b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/datastore.cfg @@ -89,3 +89,8 @@ operational.persistent=false # Tune the maximum number of entries a follower is allowed to lag behind the leader before it is # considered out-of-sync. This flag may require tuning in face of a large number of small transactions. #sync-index-threshold=10 + +# Record new transaction allocation stack trace, useful for debugging. This makes the log include +# the stack trace of the creator of the Tx when there is an exception when the transaction is submitted +# (e.g. for a failed validation). Defaults to false due to performance impact. +#transaction-debug-context-enabled=true -- 2.36.6