Skip to content

Commit

Permalink
Address the comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
horizonzy committed Aug 28, 2023
1 parent 61dff1a commit 8d40894
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ public class ServerConfiguration extends AbstractConfiguration<ServerConfigurati
protected static final String UNDERREPLICATED_LEDGER_RECOVERY_GRACE_PERIOD =
"underreplicatedLedgerRecoveryGracePeriod";
protected static final String AUDITOR_REPLICAS_CHECK_INTERVAL = "auditorReplicasCheckInterval";
protected static final String AUDITOR_UNDER_REPLICAS_STAT_INTERVAL = "auditorUnderReplicasStatInterval";
protected static final String AUDITOR_MAX_NUMBER_OF_CONCURRENT_OPEN_LEDGER_OPERATIONS =
"auditorMaxNumberOfConcurrentOpenLedgerOperations";
protected static final String AUDITOR_ACQUIRE_CONCURRENT_OPEN_LEDGER_OPERATIONS_TIMEOUT_MSEC =
Expand Down Expand Up @@ -2715,24 +2714,6 @@ public long getAuditorPeriodicReplicasCheckInterval() {
return getLong(AUDITOR_REPLICAS_CHECK_INTERVAL, 0);
}

/**
* The interval of auditor to get the under replicas stat.
* @param interval
* The interval in seconds. e.g. 86400 = 1 day, 604800 = 1 week
*/
public void setAuditorUnderReplicasStatInterval(long interval) {
setProperty(AUDITOR_UNDER_REPLICAS_STAT_INTERVAL, interval);
}

/**
* Get the interval of auditor to get the under replicas stat.
*
* @return The interval in seconds. By default, it is disabled.
*/
public long getAuditorUnderReplicasStatInterval() {
return getLong(AUDITOR_UNDER_REPLICAS_STAT_INTERVAL, 0);
}

/**
* Get the semaphore limit value of getting ledger from zookeeper in auto recovery.
*
Expand Down

0 comments on commit 8d40894

Please sign in to comment.