You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
107866: testserver: remove direct casts to `*server.TestServer` r=yuzefovich,stevendanna a=knz
First 3 commits from cockroachdb#107868.
In a later stage we would like the result of `StartServer` to return different concrete types depending on parameters. Before we can do that however, we need to remove direct casts of that return value to `*server.TestServer`.
Incidentally, this patch improves the APIs as follows:
- the health probe for secondary tenant servers now properly
includes the draining state of the RPC interface (previously,
only the SQL draining state was included).
- `ApplicationLayerInterface` now includes `Readiness()` and
`DefaultZoneConfig()`.
- `StorageLayerInterface` now includes
`ScratchRangeWithExpirationLease()`, `GetRangeLease()`, `TsDB()`,
`Locality()` and `DefaultSystemZoneConfig()`.
Epic: CRDB-18499
Co-authored-by: Raphael 'kena' Poss <[email protected]>
0 commit comments