Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1980

default clustered datastore context parameters generate a deprecation warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • 9.0.0
    • None
    • None

      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

            matej.sramcik Matej Šramčík
            guillaume.lambert Guillaume Lambert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: