Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3546

The default config items of ScmClientConfig don't appear in the ozone-filesystem-xxx-jar

    XMLWordPrintableJSON

Details

    Description

      for example `scm.container.client.idle.threshold` should in the default config file of ozone, Without it, the following logic won't work well while put a key.

          long staleThresholdMs = clientConf.getStaleThreshold(MILLISECONDS);
          this.clientCache = CacheBuilder.newBuilder()
              .expireAfterAccess(staleThresholdMs, MILLISECONDS)
              .maximumSize(clientConf.getMaxSize())
      

      because the staleThresholdMs is 0, if we don't config it, it should return the default value.

      Attachments

        Issue Links

          Activity

            People

              simonss Simon Su
              maobaolong Baolong Mao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: