mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-13 16:32:56 +00:00
Separate task is launched for each timeline and stopped when timeline doesn't need offloading. Decision who offloads is done through etcd leader election; currently there is no pre condition for participating, that's a TODO. neon_local and tests infrastructure for remote storage in safekeepers added, along with the test itself. ref #1009 Co-authored-by: Anton Shyrabokau <ahtoxa@Antons-MacBook-Pro.local>
24 lines
647 B
TOML
24 lines
647 B
TOML
[package]
|
|
name = "remote_storage"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = { version = "1.0", features = ["backtrace"] }
|
|
async-trait = "0.1"
|
|
metrics = { version = "0.1", path = "../metrics" }
|
|
once_cell = "1.8.0"
|
|
rusoto_core = "0.48"
|
|
rusoto_s3 = "0.48"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1.17", features = ["sync", "macros", "fs", "io-util"] }
|
|
tokio-util = { version = "0.7", features = ["io"] }
|
|
toml_edit = { version = "0.13", features = ["easy"] }
|
|
tracing = "0.1.27"
|
|
|
|
workspace_hack = { version = "0.1", path = "../../workspace_hack" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.2"
|