Eric Seppanen
3c7f810849
clippy cleanup #1
...
Resolve some basic warnings from clippy:
- useless conversion to the same type
- redundant field names in struct initialization
- redundant single-component path imports
2021-04-18 19:15:06 -07:00
Eric Seppanen
52d6275812
drop nonfunctional attributes allow(dead_code)
...
These had no effect, so remove them.
2021-04-16 15:59:32 -07:00
Eric Seppanen
35e0099ac6
pin remote rust-s3 dependency to a git hash
...
Using the hash should allow us to change the remote repo and propagate
that change to user builds without that change becoming visible at a
random time.
It's unfortunate that we can't declare this dependency once in the
top-level Cargo.toml; that feature request is rust-lang rfc 2906.
2021-04-16 15:26:11 -07:00
Eric Seppanen
4ff248515b
remote unnecessary dependencies between peer crates
...
These dependencies make cargo rebuild more than is strictly necessary.
Removing them makes the build a little faster.
2021-04-16 15:25:43 -07:00
Eric Seppanen
e8032f26e6
adopt new tokio-postgres:replication branch
...
This PR has evolved a lot; jump to the newer version. This should make
it easier to handle keepalive messages.
2021-04-16 08:29:47 -07:00
Eric Seppanen
3c4ebc4030
init_logging: return Result, print error on file create
...
Instead of panicking if the file create fails, print the filename and
error description to stderr; then propagate the error to our caller.
2021-04-13 14:06:14 -07:00
Heikki Linnakangas
ba4f8e94aa
Minor comment fixes.
2021-04-08 13:30:42 +03:00
Heikki Linnakangas
3e09cb5718
Add README to give an overview of the WAL safekeeper.
2021-04-08 13:30:10 +03:00
Konstantin Knizhnik
abaa36a15c
Format code according to rust style guide
2021-04-07 16:50:58 +03:00
Heikki Linnakangas
6b9fc3aff0
Fix minor typos and copy-pastos
2021-04-07 16:39:37 +03:00
Konstantin Knizhnik
3fea78d688
Multitenant wal_acceptor
2021-04-07 13:43:40 +03:00
Stas Kelvich
c0fcbbbe0c
Cargo fmt pass over a codebase
2021-04-06 14:42:13 +03:00
Heikki Linnakangas
1367332447
Separate walkeeper and pageserver sources into different directories.
...
The integration tests, which depend on both walkeeper and pageserver,
are moved into yet another directory, 'integration_tests'.
2021-04-06 13:15:26 +03:00
Stas Kelvich
e2ce9e562e
remove unused modules
2021-04-02 10:38:51 +03:00
Arun Sharma
253fc123e7
Initial repo structure
2021-03-26 10:54:25 -07:00