featurebase/server
Travis ffd91137e1
Stop blocking API called when cluster is DOWN or DEGRADED
This commit effectively removes the API-level validation that was
blocking certain API methods when the cluster was in a particular state
(namely DOWN and DEGRADED). The thinking is that we shouldn't be
blocking these requests at the API level, but rather should let them
pass through and allow the fact that a node is ACTUALLY down dictate the
behavior.

With this change, two tests were modified. They were previously
expecting the error message from the API validation on DOWN, but now
they check for a "shard unavailable" error, which is what gets returned
for a particular query when the cluster is in an unhealthy state.
2021-12-28 13:52:04 -06:00
..
testdata/certs Supply "subject alternative name" for TLS certificates 2020-10-20 14:14:26 -05:00
cluster_test.go add copyright notice back in 2021-12-10 11:01:04 -06:00
config.go Merge branch 'master' into fb1000 2021-12-19 11:38:08 -06:00
config_internal_test.go updated admin to be at the cluster level 2021-12-19 11:37:41 -06:00
config_test.go add copyright notice back in 2021-12-10 11:01:04 -06:00
dup.go add copyright notice back in 2021-12-10 11:01:04 -06:00
dup_arm64.go add copyright notice back in 2021-12-10 11:01:04 -06:00
grpc.go add copyright notice back in 2021-12-10 11:01:04 -06:00
grpc_test.go add copyright notice back in 2021-12-10 11:01:04 -06:00
handler_test.go add copyright notice back in 2021-12-10 11:01:04 -06:00
pg.go add copyright notice back in 2021-12-10 11:01:04 -06:00
pg_internal_test.go add copyright notice back in 2021-12-10 11:01:04 -06:00
pg_test.go add copyright notice back in 2021-12-10 11:01:04 -06:00
server.go Merge branch 'master' into fb1000 2021-12-19 11:38:08 -06:00
server_test.go Stop blocking API called when cluster is DOWN or DEGRADED 2021-12-28 13:52:04 -06:00
sql.go add copyright notice back in 2021-12-10 11:01:04 -06:00
tlsconfig.go add copyright notice back in 2021-12-10 11:01:04 -06:00
trial.go add copyright notice back in 2021-12-10 11:01:04 -06:00