[CONTROLLER-1980] default clustered datastore context parameters generate a deprecation warning Created: 18/May/21  Updated: 16/Jan/24  Resolved: 16/Jan/24

Status: Resolved
Project: controller
Component/s: None
Affects Version/s: None
Fix Version/s: 9.0.0

Type: Bug Priority: Low
Reporter: Guillaume Lambert Assignee: Matej Šramčík
Resolution: Done Votes: 0
Labels: pick-next, pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The change https://git.opendaylight.org/gerrit/c/controller/+/59294

proposed a default configuration where the parameter maximum-message-slice-size replaced shard-snapshot-chunk-size which is deprecated.
But this parameter is commented out so not really declared.

In this situation, controller/cluster/datastore/DatastoreContext.java will set up a
default datastore context parameter and it will retrieve a shard-snapshot-chunk-size default value from raft (controller/cluster/raft/DefaultConfigParamsImpl.java)

And this will generate the following misleading warning:
"The shard-snapshot-chunk-size configuration parameter is deprecated - use maximum-message-slice-size instead"

as observed in release CSIT

https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/daexim-csit-3node-clustering-basic-only-silicon/321/console.log.gz


Generated at Wed Feb 07 19:56:55 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.