Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Db permissionless #15509

Closed
wants to merge 3 commits into from
Closed

Conversation

johnjmartin
Copy link
Contributor

Description

Follow up to: #15494

Add support for permissionless downloads to download-db-snapshot

  • clean up download-db-snapshot code path
  • support ObjectStoreGetExt in download_db_snapshot codepath
  • add utils for manifest file read/write

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.

Type of Change (Check all that apply)

  • protocol change
  • user-visible impact
  • breaking change for a client SDKs
  • breaking change for FNs (FN binary must upgrade)
  • breaking change for validators or node operators (must upgrade binaries)
  • breaking change for on-chain data layout
  • necessitate either a data wipe or data migration

Release notes

Copy link

vercel bot commented Dec 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mysten-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2024 4:48am
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2024 4:48am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Jan 9, 2024 4:48am
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jan 9, 2024 4:48am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jan 9, 2024 4:48am

Copy link

vercel bot commented Dec 30, 2023

@johnjmartin is attempting to deploy a commit to the Sui Foundation Team on Vercel.

A member of the Team first needs to authorize it.

* clean up download-db-snapshot code path
* support ObjectStoreGetExt in download_db_snapshot codepath
* add utils for manifest file read/write
johnjmartin added a commit that referenced this pull request Jan 11, 2024
…15494)

## Description 
~Removes `--skip-checkpoints`, `--formal`, `--verify`, and `--genesis`,
from the `download-db-snapshot` command~
```
ToolCommand::DownloadDBSnapshot {
                epoch,
                path,
                skip_indexes,
                num_parallel_downloads,
                network,
                snapshot_bucket,
                snapshot_bucket_type,
                snapshot_path,
                no_sign_request, # support TODO
                verbose,
            }
```
**Adds**: `download-formal-snapshot` as a future replacement for the
`--formal` flag.


## Test Plan 

Tested with both formal snapshot and db snapshot changes via:
#15509

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [x] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
Breaking change for the `sui-tool` command. This breaks the `sui-tool
download-db-snapshot` into `sui-tool download-db-snapshot` and `sui-tool
download-formal-snapshot` commands
@johnjmartin
Copy link
Contributor Author

Replaced by: #15690

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants