agreeable-painting-48846
03/21/2023, 8:17 AMoriginal message: hey all, has anyone else's mongodb database been wiped (or reset or assigned a new db)? is this intended behaviour?
@stocky-kangaroo-53672 @kind-area-3810 not sure who else to tag as I don't have access to the engineering team tagfaint-area-91170
03/21/2023, 8:41 AMcargo shuttle project rm and cargo shuttle project new --idle-minutes 0, and deploying the new version with v0.12.0 shuttle, the bot now runs without the previous database/previous data. The issue can no longer be reproduced after the new deploy.
Cargo.toml file
[package]
name = "quinn"
version = "0.0.1"
edition = "2021"
[dependencies]
tokio = { version = "1.21.2", features = ["macros", "rt-multi-thread"] }
serde = { version = "1.0", features = ["derive"] }
uuid = { version = "1.2.2", features = ["v4"] }
serenity = { version = "0.11.5", features = ["collector"]}
mongodb = "2.3.0"
sha3 = "0.10.6"
serde_json = "1.0.94"
hex = "0.4.3"
anyhow = "1.0.69"
shuttle-runtime = "0.12.0"
shuttle-serenity = "0.12.0"
shuttle-secrets = "0.12.0"
shuttle-shared-db = { version = "0.12.0", features = ["mongodb"] }
If the data could be recovered, that'd be great, however it's not much of an issue if it can't.