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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Target Version/s:

      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

          Activity

            People

            • Assignee:
              simonss Simon Su
              Reporter:
              maobaolong Baolong Mao

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment