These 11 commits are when the Protocol Buffers files have changed:
| Commit: | 2954bad | |
|---|---|---|
| Author: | Radovan | |
| Committer: | GitHub | |
Add the PITR branch to the MedusaRestoreJob reconciler (#1886) * Add the PITR branch to the MedusaRestoreJob reconciler * Only run ValidateRestoreJobSpec if the job hasn't yet started * When validateBackupForRestore fails, flow through r.failTerminal * Preexisting: add deferred close to gRPC client * Fail PITR host map when Medusa returns nodes outside the datacenter Medusa gets the datacenter in the request. A node of another datacenter in its answer got a node_backups entry but no host_map entry. Treat it as terminal: the answer cannot be trusted. * Name ValidateRestoreJobSpec in the requests.go comment * Use t.Context() in the new PITR restore tests * Treat any PreparePitrRestore status other than SUCCESS as rejected IN_PROGRESS is the proto zero value. An unset or UNKNOWN status passed as accepted and failed later with a misleading host-map error. * Make InvalidArgument, FailedPrecondition, NotFound terminal for PITR Medusa understood the request and refused it. A retry gets the same answer, so the job backed off forever without a Message. Other gRPC errors stay transient. * Lowercase the PITR host map error to satisfy ST1005 staticcheck rejects capitalized error strings. No code matches the text. * Bound PreparePitrRestore and GetBackups with a 10 minute deadline A hung Medusa sidecar blocked the reconcile worker forever. The reconcile context has no deadline. DeadlineExceeded is not terminal, so the job is retried. * Validate restore backup only before the restore is prepared validateBackupForRestore ran on every reconcile. A backup status change after the datacenter was stopped marked the job finished, and a finished job is never reconciled again, so the datacenter stayed down. Run it inside the !RestorePrepared block, which keeps the failTerminal doc true.
| Commit: | 1b0723d | |
|---|---|---|
| Author: | Radovan Zvoncek | |
| Committer: | Radovan Zvoncek | |
Add the PITR branch to the MedusaRestoreJob reconciler
| Commit: | a1390b1 | |
|---|---|---|
| Author: | Radovan | |
| Committer: | GitHub | |
Add PITR APIs and CRDs (#1861) * Add PITR APIs and CRDs * Remove trailing S from targetTimestampS
| Commit: | f773d62 | |
|---|---|---|
| Author: | Radovan Zvoncek | |
Remove trailing S from targetTimestampS
| Commit: | 3d45b84 | |
|---|---|---|
| Author: | Radovan | |
| Committer: | GitHub | |
Add PITR RPCs to the Medusa client (#1862)
| Commit: | 1ff32c1 | |
|---|---|---|
| Author: | Radovan Zvoncek | |
| Committer: | Radovan Zvoncek | |
Add PITR RPCs to the Medusa client
| Commit: | 75b528f | |
|---|---|---|
| Author: | Radovan Zvoncek | |
Add PITR RPCs to the Medusa client
| Commit: | 02d4415 | |
|---|---|---|
| Author: | Radovan | |
| Committer: | GitHub | |
Expose Medusa backup size (#1123)
The documentation is generated from this commit.
| Commit: | 08f9ecd | |
|---|---|---|
| Author: | Radovan Zvoncek | |
| Committer: | Radovan Zvoncek | |
Expose Medusa backup size
The documentation is generated from this commit.
| Commit: | 2e6ed83 | |
|---|---|---|
| Author: | Alexander Dejanovski | |
| Committer: | GitHub | |
Remote restore support for Medusa (#454) * Add MedusaTask API with support for purge, sync and restore prep, and implement remote restore. The PrepareRestore grpc call will have Medusa compute the mapping between the backup and restore clusters, and store it in the local storage. This will allow the restore init container to know which mapping should be performed, without having Cassandra up. * Upgrade to Medusa 0.13.1
| Commit: | b05f3ec | |
|---|---|---|
| Author: | Alexander Dejanovski | |
| Committer: | GitHub | |
Add medusa APIs (#242) * Inject medusa containers in the Cassandra pods along with other required objects * Support backup and restore APIs