ConcurrencyPractitioner edited a comment on issue #1459: unsubscribe doesn't 
work if bookkeeper is outage
URL: https://github.com/apache/pulsar/issues/1459#issuecomment-449590066
 
 
   Hi,
   I changed the configs as follows:
   
   diff --git a/conf/bookkeeper.conf b/conf/bookkeeper.conf
   index dedb7d88d..0150d3bcc 100644
   --- a/conf/bookkeeper.conf
   +++ b/conf/bookkeeper.conf
   @@ -535,7 +535,7 @@ readOnlyModeEnabled=true
   -diskUsageThreshold=0.95
   +diskUsageThreshold=0.000000001
   diff --git a/conf/standalone.conf b/conf/standalone.conf
   index cc8f56417..3ead483c6 100644
   --- a/conf/standalone.conf
   +++ b/conf/standalone.conf
   @@ -476,7 +476,7 @@ journalSyncData=false
   -diskUsageThreshold=0.99
   +diskUsageThreshold=0.000001
   
   @@ -484,7 +484,7 @@ diskUsageThreshold=0.99
   -diskUsageWarnThreshold=0.99
   +diskUsageWarnThreshold=0.0000004
   
   diff --git a/deployment/terraform-ansible/templates/bookkeeper.conf 
b/deployment/terraform-ansible/templates/bookkeeper.conf
   index 9e7fcc9d7..df6f95de9 100644
   --- a/deployment/terraform-ansible/templates/bookkeeper.conf
   +++ b/deployment/terraform-ansible/templates/bookkeeper.conf
   @@ -535,7 +535,7 @@ readOnlyModeEnabled=true
   -diskUsageThreshold=0.95
   +diskUsageThreshold=0.0000001
   
   diff --git 
a/pulsar-broker/src/test/resources/configurations/pulsar_broker_test.conf 
b/pulsar-broker/src/test/resources/configurations/pulsar_broker_test.conf
   index 803418590..55400443e 100644
   --- a/pulsar-broker/src/test/resources/configurations/pulsar_broker_test.conf
   +++ b/pulsar-broker/src/test/resources/configurations/pulsar_broker_test.conf
   @@ -17,6 +17,9 @@
   
   +diskUsageThreshold=0.000001
   +diskUsageWarnThreshold=0.00001
   +diskUsageLwmThreshold=0.00001
    applicationName="pulsar_broker"
    zookeeperServers="localhost"
    configurationStoreServers="localhost"
   
   And I ran the following test:
   
https://github.com/apache/pulsar/blob/master/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/AdminApiTest.java#L1265
   
   I wasn't able to replicate the error. Was this the right approach?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to