From 923938722fff012e6206c1bdde6efb6c575b2e5d Mon Sep 17 00:00:00 2001 From: xiaolong ran Date: Tue, 1 Jun 2021 14:35:55 +0800 Subject: [PATCH] Fix the error name of options for broker conf (#10759) Signed-off-by: xiaolongran ### Motivation Fix the error name of options for broker conf ### Modifications - Replace `bookkeepertGetBookieInfoIntervalSeconds` to `bookkeeperClientGetBookieInfoIntervalSeconds` - Replace `bookkeeperGetBookieInfoRetryIntervalSeconds` to `bookkeeperClientGetBookieInfoRetryIntervalSeconds` --- conf/broker.conf | 4 ++-- deployment/terraform-ansible/templates/broker.conf | 4 ++-- site2/docs/reference-configuration.md | 4 ++-- .../versioned_docs/version-2.7.0/reference-configuration.md | 4 ++-- .../versioned_docs/version-2.7.1/reference-configuration.md | 4 ++-- .../versioned_docs/version-2.7.2/reference-configuration.md | 4 ++-- .../versioned_docs/version-2.7.3/reference-configuration.md | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/conf/broker.conf b/conf/broker.conf index 4b2898341b47a..3099b01ddbb5b 100644 --- a/conf/broker.conf +++ b/conf/broker.conf @@ -752,8 +752,8 @@ bookkeeperClientQuarantineRatio=1.0 # Specify options for the GetBookieInfo check. These settings can be useful # to help ensure the list of bookies is up to date on the brokers. -bookkeeperGetBookieInfoIntervalSeconds=86400 -bookkeeperGetBookieInfoRetryIntervalSeconds=60 +bookkeeperClientGetBookieInfoIntervalSeconds=86400 +bookkeeperClientGetBookieInfoRetryIntervalSeconds=60 # Enable rack-aware bookie selection policy. BK will chose bookies from different racks when # forming a new bookie ensemble diff --git a/deployment/terraform-ansible/templates/broker.conf b/deployment/terraform-ansible/templates/broker.conf index 97b6cdcf7b8cb..a01157fdda109 100644 --- a/deployment/terraform-ansible/templates/broker.conf +++ b/deployment/terraform-ansible/templates/broker.conf @@ -660,8 +660,8 @@ bookkeeperClientQuarantineRatio=1.0 # Specify options for the GetBookieInfo check. These settings can be useful # to help ensure the list of bookies is up to date on the brokers. -bookkeeperGetBookieInfoIntervalSeconds=86400 -bookkeeperGetBookieInfoRetryIntervalSeconds=60 +bookkeeperClientGetBookieInfoIntervalSeconds=86400 +bookkeeperClientGetBookieInfoRetryIntervalSeconds=60 # Enable rack-aware bookie selection policy. BK will chose bookies from different racks when # forming a new bookie ensemble diff --git a/site2/docs/reference-configuration.md b/site2/docs/reference-configuration.md index a0b7ec93130ac..9b4a91f916ff6 100644 --- a/site2/docs/reference-configuration.md +++ b/site2/docs/reference-configuration.md @@ -575,8 +575,8 @@ You can set the log level and configuration in the [log4j2.yaml](https://github |bookkeeperClientHealthCheckIntervalSeconds| The time interval, in seconds, at which health checks are performed. New ledgers are not created during health checks. |60| |bookkeeperClientHealthCheckErrorThresholdPerInterval| Error threshold for health checks. |5| |bookkeeperClientHealthCheckQuarantineTimeInSeconds| If bookies have more than the allowed number of failures within the time interval specified by bookkeeperClientHealthCheckIntervalSeconds |1800| -|bookkeeperGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| -|bookkeeperGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| +|bookkeeperClientGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| +|bookkeeperClientGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| |bookkeeperClientRackawarePolicyEnabled| |true| |bookkeeperClientRegionawarePolicyEnabled| |false| |bookkeeperClientMinNumRacksPerWriteQuorum| |2| diff --git a/site2/website/versioned_docs/version-2.7.0/reference-configuration.md b/site2/website/versioned_docs/version-2.7.0/reference-configuration.md index 704b1c283de4c..a6f4536305bc6 100644 --- a/site2/website/versioned_docs/version-2.7.0/reference-configuration.md +++ b/site2/website/versioned_docs/version-2.7.0/reference-configuration.md @@ -564,8 +564,8 @@ The [`pulsar-client`](reference-cli-tools.md#pulsar-client) CLI tool can be used |bookkeeperClientHealthCheckIntervalSeconds| The time interval, in seconds, at which health checks are performed. New ledgers are not created during health checks. |60| |bookkeeperClientHealthCheckErrorThresholdPerInterval| Error threshold for health checks. |5| |bookkeeperClientHealthCheckQuarantineTimeInSeconds| If bookies have more than the allowed number of failures within the time interval specified by bookkeeperClientHealthCheckIntervalSeconds |1800| -|bookkeeperGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| -|bookkeeperGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| +|bookkeeperClientGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| +|bookkeeperClientGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| |bookkeeperClientRackawarePolicyEnabled| |true| |bookkeeperClientRegionawarePolicyEnabled| |false| |bookkeeperClientMinNumRacksPerWriteQuorum| |2| diff --git a/site2/website/versioned_docs/version-2.7.1/reference-configuration.md b/site2/website/versioned_docs/version-2.7.1/reference-configuration.md index b574a15499c42..75097043b6cd3 100644 --- a/site2/website/versioned_docs/version-2.7.1/reference-configuration.md +++ b/site2/website/versioned_docs/version-2.7.1/reference-configuration.md @@ -564,8 +564,8 @@ The [`pulsar-client`](reference-cli-tools.md#pulsar-client) CLI tool can be used |bookkeeperClientHealthCheckIntervalSeconds| The time interval, in seconds, at which health checks are performed. New ledgers are not created during health checks. |60| |bookkeeperClientHealthCheckErrorThresholdPerInterval| Error threshold for health checks. |5| |bookkeeperClientHealthCheckQuarantineTimeInSeconds| If bookies have more than the allowed number of failures within the time interval specified by bookkeeperClientHealthCheckIntervalSeconds |1800| -|bookkeeperGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| -|bookkeeperGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| +|bookkeeperClientGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| +|bookkeeperClientGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| |bookkeeperClientRackawarePolicyEnabled| |true| |bookkeeperClientRegionawarePolicyEnabled| |false| |bookkeeperClientMinNumRacksPerWriteQuorum| |2| diff --git a/site2/website/versioned_docs/version-2.7.2/reference-configuration.md b/site2/website/versioned_docs/version-2.7.2/reference-configuration.md index 3500685a819ff..8fc7c2715b86d 100644 --- a/site2/website/versioned_docs/version-2.7.2/reference-configuration.md +++ b/site2/website/versioned_docs/version-2.7.2/reference-configuration.md @@ -564,8 +564,8 @@ The [`pulsar-client`](reference-cli-tools.md#pulsar-client) CLI tool can be used |bookkeeperClientHealthCheckIntervalSeconds| The time interval, in seconds, at which health checks are performed. New ledgers are not created during health checks. |60| |bookkeeperClientHealthCheckErrorThresholdPerInterval| Error threshold for health checks. |5| |bookkeeperClientHealthCheckQuarantineTimeInSeconds| If bookies have more than the allowed number of failures within the time interval specified by bookkeeperClientHealthCheckIntervalSeconds |1800| -|bookkeeperGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| -|bookkeeperGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| +|bookkeeperClientGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| +|bookkeeperClientGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| |bookkeeperClientRackawarePolicyEnabled| |true| |bookkeeperClientRegionawarePolicyEnabled| |false| |bookkeeperClientMinNumRacksPerWriteQuorum| |2| diff --git a/site2/website/versioned_docs/version-2.7.3/reference-configuration.md b/site2/website/versioned_docs/version-2.7.3/reference-configuration.md index 239c06f2e2008..69617dd3a213f 100644 --- a/site2/website/versioned_docs/version-2.7.3/reference-configuration.md +++ b/site2/website/versioned_docs/version-2.7.3/reference-configuration.md @@ -564,8 +564,8 @@ The [`pulsar-client`](reference-cli-tools.md#pulsar-client) CLI tool can be used |bookkeeperClientHealthCheckIntervalSeconds| The time interval, in seconds, at which health checks are performed. New ledgers are not created during health checks. |60| |bookkeeperClientHealthCheckErrorThresholdPerInterval| Error threshold for health checks. |5| |bookkeeperClientHealthCheckQuarantineTimeInSeconds| If bookies have more than the allowed number of failures within the time interval specified by bookkeeperClientHealthCheckIntervalSeconds |1800| -|bookkeeperGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| -|bookkeeperGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| +|bookkeeperClientGetBookieInfoIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|86400| +|bookkeeperClientGetBookieInfoRetryIntervalSeconds|Specify options for the GetBookieInfo check. This setting helps ensure the list of bookies that are up to date on the brokers.|60| |bookkeeperClientRackawarePolicyEnabled| |true| |bookkeeperClientRegionawarePolicyEnabled| |false| |bookkeeperClientMinNumRacksPerWriteQuorum| |2|