-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade `go.etcd.io/etcd` to `v3.4.34`. * Remove all `replace` directives which locked versions of dependencies. * Use the `Restore` API provided by the `clientv3/snapshot` package, and remove copied code for performing restoration of the etcd database from the base snapshot. * The temporary directory to persist full and delta snapshots in created at the start of the `Restore()` call. This was created only before deltas were fetched previously. * Base full snapshot is also now stored in the `TempSnapshotDir`. * It is now assumed that the etcd data directory, which is typically `default.etcd` itself is not present before restoration, and not just the `member` directory. * Unit tests are adapted accordingly such that the etcd data directory is removed before restoration. * Compactor does not create the database directory anymore, since the Restore API does it. * Restoration through the `Restore` API will fail if a directory for the database is already present. Due to this, explicitly creating a directory before restoration is triggered is not performed anymore. The `Restore` call creates the directory. Cleanup of this directory is still performed, as a deferred call. * Fix broken unit tests in `pkg/compactor`. * Upgrade the etcd version to `v3.4.34` in the integration tests. * Replace references to `etcd-custom-image` with `etcd-wrapper`. * References to `etcd-custom-image` with version `v3.4.13-bootstrap-1` are now replaced with references to `etcd-wrapper` with version `v0.2.0`. --------- Co-authored-by: Seshachalam Yerasala Venkata <[email protected]>
- Loading branch information
1 parent
8a3bc2c
commit 61bf7a0
Showing
764 changed files
with
88,772 additions
and
21,017 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.