We will need to see the status of the Circuit Breaker ( enabled | disabled ) 
after this endpoint is invoked.

The ~/config API will return what is in the solrconfig.xml.

We expect to be able to adapt the CB while the Solr instance is running.

-Lyn

From: Lyn Evans <[email protected]>
Date: Friday, September 8, 2023 at 9:39 AM
To: [email protected] <[email protected]>
Subject: Re: Get Circuit Breaker Status
[You don't often get email from [email protected]. Learn why 
this is important at https://aka.ms/LearnAboutSenderIdentification ]

Our team plans to set the `cpuEnabled` and `memEnabled` parameters in this 
endpoint,
to toggle the CB.

http://dev-slr-dat-2:8900/solr/doc1_2020-01-01/admin/circuit-breaker?cpuEnabled=false&cpuWarnThreshold=90&memEnabled=true&memThreshold=110&memWarnThreshold=99&updateChainName=noDistributeCB,noDistributeMDCB,noDistributeFTCB<http://dev-slr-dat-2:8900/solr/doc1_2020-01-01/admin/circuit-breaker?cpuEnabled=false&cpuWarnThreshold=90&memEnabled=true&memThreshold=110&memWarnThreshold=99&updateChainName=noDistributeCB%2cnoDistributeMDCB%2cnoDistributeFTCB><http://dev-slr-dat-2:8900/solr/doc1_2020-01-01/admin/circuit-breaker?cpuEnabled=false&cpuWarnThreshold=90&memEnabled=true&memThreshold=110&memWarnThreshold=99&updateChainName=noDistributeCB,noDistributeMDCB,noDistributeFTCB%3chttp://dev-slr-dat-2:8900/solr/doc1_2020-01-01/admin/circuit-breaker?cpuEnabled=false&cpuWarnThreshold=90&memEnabled=true&memThreshold=110&memWarnThreshold=99&updateChainName=noDistributeCB%2cnoDistributeMDCB%2cnoDistributeFTCB%3e>

Once we’ve invoked this endpoint, the CB config or “status” has been changed.

-Lyn

From: Jan Høydahl <[email protected]>
Date: Friday, September 8, 2023 at 9:11 AM
To: [email protected] <[email protected]>
Subject: Re: Get Circuit Breaker Status
[You don't often get email from [email protected]. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

What do you mean by "status"? You can find the CB in solrconfig.xml, and there 
is not really much more status to be found?

Jan

> 8. sep. 2023 kl. 16:04 skrev Lyn Evans <[email protected]>:
>
> Are there plans to display the current Circuit Breaker details on the Solr 
> Admin UI ?
>
> Otherwise, how can I query Solr /admin endpoint to see current Circuit 
> Breaker status ?
>
>
> -Lyn

Reply via email to