Commit Graph

1771 Commits

Author SHA1 Message Date
Bojan Serafimov
0a59884b75 Update docs 2022-06-20 13:29:14 -04:00
Bojan Serafimov
1303cf77a3 Fix tests 2022-06-20 13:26:27 -04:00
Bojan Serafimov
3e647f8a27 WIP 2022-06-20 12:59:11 -04:00
Bojan Serafimov
8b38295f02 Return Err on shutdown 2022-06-20 10:33:05 -04:00
Bojan Serafimov
bdfe7dacef Address comments 2022-06-20 10:17:46 -04:00
Bojan Serafimov
cdab7bc83b Merge branch 'main' into basebackup-import 2022-06-18 15:21:50 -04:00
Bojan Serafimov
2ce653fd79 Add checksum todos 2022-06-18 11:19:02 -04:00
Bojan Serafimov
010132dbb0 Check file sizes 2022-06-18 11:14:21 -04:00
Bojan Serafimov
443e409950 Fix test 2022-06-18 10:48:21 -04:00
Bojan Serafimov
43d1531e66 Add example usage command 2022-06-17 22:13:19 -04:00
Bojan Serafimov
71afd06f83 Test failed import 2022-06-17 21:42:04 -04:00
Bojan Serafimov
45b470e206 Bump timeout 2022-06-17 16:30:29 -04:00
Bojan Serafimov
dc97f95636 Add docstring 2022-06-17 15:39:18 -04:00
Anastasia Lubennikova
11d7743b39 basebackup import fixes (#1955) 2022-06-17 15:29:32 -04:00
Arthur Petukhovsky
f862373ac0 Fix WAL timeout in test_s3_wal_replay (#1953) 2022-06-17 20:43:54 +03:00
Bojan Serafimov
0e556b2782 Error on tblspc file 2022-06-17 13:34:41 -04:00
Bojan Serafimov
4fff237f00 Flush layers 2022-06-17 13:18:51 -04:00
Arthur Petukhovsky
699f46cd84 Download WAL from S3 if it's not available in safekeeper dir (#1932)
`send_wal.rs` and `WalReader` are now async. `test_s3_wal_replay` checks that WAL can be replayed after offloaded.
2022-06-17 15:33:39 +03:00
Bojan Serafimov
ba79946af1 Fix create_empty_timeline 2022-06-17 00:00:48 -04:00
Bojan Serafimov
e3ce99a711 Merge branch 'main' into basebackup-import 2022-06-16 22:00:21 -04:00
Bojan Serafimov
ee3462c6ea Attempt to fix flaky test 2022-06-16 21:38:59 -04:00
Bojan Serafimov
290ad416a5 Remove repeated code 2022-06-16 18:31:07 -04:00
Anastasia Lubennikova
36ee182d26 Implement page servise 'fullbackup' endpoint (#1923)
* Implement page servise 'fullbackup' endpoint that works like basebackup, but also sends relational files

* Add test_runner/batch_others/test_fullbackup.py

Co-authored-by: bojanserafimov <bojan.serafimov7@gmail.com>
2022-06-16 14:07:11 +03:00
Anastasia Lubennikova
d11c9f9fcb Use random ports for the proxy and local pg in tests
Fixes #1931
Author: Dmitry Ivanov
2022-06-15 20:21:58 +03:00
Bojan Serafimov
670c8ab7be Merge branch 'basebackup-import' of github.com:neondatabase/neon into basebackup-import 2022-06-14 17:08:31 -04:00
Bojan Serafimov
6463be13fc Fix typo 2022-06-14 17:07:34 -04:00
Bojan Serafimov
05151e643f Merge branch 'main' into basebackup-import 2022-06-14 17:05:52 -04:00
Anastasia Lubennikova
9ccb7b75a6 Fix import of multi-segment relation files 2022-06-14 21:42:07 +03:00
Bojan Serafimov
05b5ae32a1 Fix comment 2022-06-12 13:01:13 -04:00
Bojan Serafimov
23d4f12cdd Handle shutdown 2022-06-12 12:37:52 -04:00
Bojan Serafimov
cd081280bf Improve errors 2022-06-12 12:23:43 -04:00
Bojan Serafimov
909a0df048 Run yapf 2022-06-12 11:17:44 -04:00
Bojan Serafimov
557fde6c57 fmt + clippy 2022-06-12 10:52:02 -04:00
Bojan Serafimov
2283eb871a Add assertion 2022-06-12 10:05:28 -04:00
Bojan Serafimov
938100058d Don't read all into memory 2022-06-11 15:55:52 -04:00
Kirill Bulatov
d8a37452c8 Rename ZenithFeedback (#1912) 2022-06-11 00:44:05 +03:00
Bojan Serafimov
978ef167e0 Test works now 2022-06-10 13:54:02 -04:00
Bojan Serafimov
a568c49111 WIP 2022-06-10 10:53:52 -04:00
Bojan Serafimov
ea97135fa8 Create user in test 2022-06-09 23:38:18 -04:00
Bojan Serafimov
f03c14170d Fix bug. Should work now 2022-06-09 23:28:20 -04:00
Bojan Serafimov
31cf43724c WIP 2022-06-09 22:51:32 -04:00
Bojan Serafimov
1380a1cce1 Pass lsn 2022-06-09 12:39:29 -04:00
chaitanya sharma
e1336f451d renamed .zenith data-dir to .neon. 2022-06-09 18:19:18 +02:00
Arseny Sher
a4d8261390 Save Postgres log in test_find_end_of_wal_* tests. 2022-06-09 19:16:43 +04:00
Egor Suvorov
e2a5a31595 Safekeeper HTTP router: add comment about /v1/timeline 2022-06-09 17:14:46 +02:00
Egor Suvorov
0ac0fba77a test_runner: test Safekeeper HTTP API Auth
All endpoints except for POST /v1/timeline are tested, this one is not tested in any way yet.
Three attempts for each endpoint: correctly authenticated, badly authenticated, unauthenticated.
2022-06-09 17:14:46 +02:00
Egor Suvorov
a001052cdd test_runner: SafekeeperHttpClient: support auth 2022-06-09 17:14:46 +02:00
Egor Suvorov
1f1d852204 ZenithEnvBuilder: rename pageserver_auth_enabled --> auth_enabled 2022-06-09 17:14:46 +02:00
Egor Suvorov
f7b878611a Implement JWT authentication in Safekeeper HTTP API (#1753)
* `control_plane` crate (used by `neon_local`) now parses an `auth_enabled` bool for each Safekeeper
* If auth is enabled, a Safekeeper is passed a path to a public key via a new command line argument
* Added TODO comments to other places needing auth
2022-06-09 17:14:46 +02:00
Bojan Serafimov
5babab9461 Fix bug 2022-06-09 11:10:06 -04:00