mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Prevent /_cat/master from getting tripped by the CB (#1036)
_cat/master is a fundamental API to know the master instance in the cluster. Given RestClusterState is exempted from tripping already, doesn't make sense for RestMasterAction to trip Signed-off-by: Bukhtawar Khan bukhtawa@amazon.com
This commit is contained in:
parent
b7cf1fae41
commit
1a87534c20
@ -79,6 +79,11 @@ public class RestMasterAction extends AbstractCatAction {
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canTripCircuitBreaker() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table getTableWithHeader(final RestRequest request) {
|
||||
Table table = new Table();
|
||||
|
Loading…
x
Reference in New Issue
Block a user