mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 20:12:54 +00:00
New command has been added to append specially crafted records in safekeeper WAL. This command takes json for append, encodes LogicalMessage based on json fields, and processes new AppendRequest to append and commit WAL in safekeeper. Python test starts up walkeepers and creates config for walproposer, then appends WAL and checks --sync-safekeepers works without errors. This test is simplest one, more useful test cases (like in #545) for different setups will be added soon.
37 lines
1.1 KiB
TOML
37 lines
1.1 KiB
TOML
[package]
|
|
name = "walkeeper"
|
|
version = "0.1.0"
|
|
authors = ["Stas Kelvich <stas@zenith.tech>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
regex = "1.4.5"
|
|
bincode = "1.3"
|
|
bytes = "1.0.1"
|
|
byteorder = "1.4.3"
|
|
fs2 = "0.4.3"
|
|
lazy_static = "1.4.0"
|
|
serde_json = "1"
|
|
log = "0.4.14"
|
|
clap = "2.33.0"
|
|
daemonize = "0.4.1"
|
|
rust-s3 = { version = "0.27.0-rc4", features = ["no-verify-ssl"] }
|
|
tokio = "1.11"
|
|
tokio-stream = { version = "0.1.4" }
|
|
postgres-protocol = { git = "https://github.com/zenithdb/rust-postgres.git", rev="9eb0dbfbeb6a6c1b79099b9f7ae4a8c021877858" }
|
|
postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="9eb0dbfbeb6a6c1b79099b9f7ae4a8c021877858" }
|
|
anyhow = "1.0"
|
|
crc32c = "0.6.0"
|
|
humantime = "2.1.0"
|
|
walkdir = "2"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
hex = "0.4.3"
|
|
|
|
# FIXME: 'pageserver' is needed for ZTimelineId. Refactor
|
|
pageserver = { path = "../pageserver" }
|
|
postgres_ffi = { path = "../postgres_ffi" }
|
|
workspace_hack = { path = "../workspace_hack" }
|
|
zenith_utils = { path = "../zenith_utils" }
|