Expose rehydration via grpc
The rehydration logic was implemented in the transaction manager in !7948 (merged).
This MR adds support for detecting and triggering repository rehydration via the OptimizeRepository RPC:
- Introduces
GetConfigValuesandIsOffloadedhelpers tolocalrepofor reading and interpreting offload configuration. - Adds a new
STRATEGY_REHYDRATIONenum to theOptimizeRepositoryRequest. - Wires the rehydration logic into the
OptimizeRepositoryRPC, allowing offloaded repositories to be rehydrated on demand.
Closes #6610 (closed)
Edited by Eric Ju