You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2021/06/23 05:55:00 UTC

[jira] [Created] (HDDS-5369) Cleanup unused configuration related to SCM HA

Bharat Viswanadham created HDDS-5369:
----------------------------------------

             Summary: Cleanup unused configuration related to SCM HA
                 Key: HDDS-5369
                 URL: https://issues.apache.org/jira/browse/HDDS-5369
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Bharat Viswanadham



SCM HA uses config from SCMHAConfiguration, remove unnused config related to SCM HA Ratis config in SCMConfigKeys.java
{code:java}
// SCM Ratis Log Appender configurations
  public static final String
      OZONE_SCM_RATIS_LOG_APPENDER_QUEUE_NUM_ELEMENTS =
      "ozone.scm.ratis.log.appender.queue.num-elements";
  public static final int
      OZONE_SCM_RATIS_LOG_APPENDER_QUEUE_NUM_ELEMENTS_DEFAULT = 1024;
  public static final String OZONE_SCM_RATIS_LOG_APPENDER_QUEUE_BYTE_LIMIT =
      "ozone.scm.ratis.log.appender.queue.byte-limit";
  public static final String
      OZONE_SCM_RATIS_LOG_APPENDER_QUEUE_BYTE_LIMIT_DEFAULT = "32MB";
  public static final String OZONE_SCM_RATIS_LOG_PURGE_GAP =
      "ozone.scm.ratis.log.purge.gap";
  public static final int OZONE_SCM_RATIS_LOG_PURGE_GAP_DEFAULT = 1000000;

  // SCM Ratis server configurations
  public static final String OZONE_SCM_RATIS_SERVER_REQUEST_TIMEOUT_KEY
      = "ozone.scm.ratis.server.request.timeout";
  public static final TimeDuration
      OZONE_SCM_RATIS_SERVER_REQUEST_TIMEOUT_DEFAULT
      = TimeDuration.valueOf(3000, TimeUnit.MILLISECONDS);
  public static final String
      OZONE_SCM_RATIS_SERVER_RETRY_CACHE_TIMEOUT_KEY
      = "ozone.scm.ratis.server.retry.cache.timeout";
  public static final TimeDuration
      OZONE_SCM_RATIS_SERVER_RETRY_CACHE_TIMEOUT_DEFAULT
      = TimeDuration.valueOf(600000, TimeUnit.MILLISECONDS);
  public static final String OZONE_SCM_RATIS_MINIMUM_TIMEOUT_KEY
      = "ozone.scm.ratis.minimum.timeout";
  public static final TimeDuration OZONE_SCM_RATIS_MINIMUM_TIMEOUT_DEFAULT
      = TimeDuration.valueOf(1, TimeUnit.SECONDS);
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org