Stop logging complete data tree on prepare/commit failure 57/36457/2
authorMoiz Raja <moraja@cisco.com>
Fri, 18 Mar 2016 19:29:50 +0000 (12:29 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 21 Mar 2016 20:33:02 +0000 (20:33 +0000)
commit2cf157241dc0ce5045c26e2ad07d053a60b37822
treef3e5c3ea1c901276a6e55de28800da96dc03dc14
parent4f64d27f5434ed7bc82de2b6f6a57ba13ccaec4b
Stop logging complete data tree on prepare/commit failure

Sometimes the data tree modification is so large that just trying to create
the buffer to hold the message can make the controller run out of memory. Plus
it's rarely useful to have a log filled with data which obfuscates other
important log messages. This patch still logs the data tree modification at
trace level.

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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.