Make sure to clear candidate from memory 65/93565/2
authorTomas Cere <tomas.cere@pantheon.tech>
Tue, 3 Nov 2020 11:38:04 +0000 (12:38 +0100)
committerTomas Cere <tomas.cere@pantheon.tech>
Tue, 3 Nov 2020 15:07:58 +0000 (15:07 +0000)
commit5a824a836a00ff21a855d7339a2fa9b64678db52
treed2ffcceebc376dddeb0f0bb89fbd36920b349e84
parent81b0b9d6fd26b1567bfc6dd80fa1a90bd30bff0b
Make sure to clear candidate from memory

The candidate needs to be cleared even when processing
replicated candidate(ie on a follower) as there is no need
to keep it deserialized in memory

JIRA: CONTROLLER-1928
Change-Id: I1403dbe27def5e0040a8d9f145a92ac06aae9d1e
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.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.