mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
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. |
||
|---|---|---|
| .. | ||
| testdata/certs | ||
| cluster_test.go | ||
| config.go | ||
| config_internal_test.go | ||
| config_test.go | ||
| dup.go | ||
| dup_arm64.go | ||
| grpc.go | ||
| grpc_test.go | ||
| handler_test.go | ||
| pg.go | ||
| pg_internal_test.go | ||
| pg_test.go | ||
| server.go | ||
| server_test.go | ||
| sql.go | ||
| tlsconfig.go | ||
| trial.go | ||