cockroachdb / cockroachdb/cockroach
online restore: metamorphic download setting
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
For the purpose of testing online restore, there should be a setting that allows delaying remote SST downloads. That makes it possible to uncover bugs where remote SSTs behave differently than downloaded SSTs. The download process is initiated by
https://github.com/cockroachdb/cockroach/blob/ef46c678a122879b898725e652ea5d9b83179c1d/pkg/server/span_download.go#L155.
Jira issue: CRDB-45166
Epic CRDB-62671
Contributor guide
Research direction
Start at pkg/server/span_download.go around line 155, where the online-restore download process is initiated. Trace the remote SST download path and identify how a setting could delay those downloads for testing. Done means online-restore tests can exercise delayed remote SSTs and expose differences from downloaded SSTs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases, distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100