Bojan Serafimov
6b4e17ef89
Start workers
2022-05-24 15:03:18 -04:00
Bojan Serafimov
07e6dd809d
Start jobs when tenant activates
2022-05-24 14:25:15 -04:00
Bojan Serafimov
b028f12b06
Fix
2022-05-24 14:14:29 -04:00
Bojan Serafimov
3975417cae
Add metadata
2022-05-24 14:12:53 -04:00
Bojan Serafimov
98d8d65c83
Cleanup
2022-05-24 14:03:07 -04:00
Bojan Serafimov
1e9b628c25
Add period
2022-05-24 12:49:30 -04:00
Bojan Serafimov
31dc9e6abd
Use queue
2022-05-24 10:50:56 -04:00
Bojan Serafimov
0d5fee3ab7
Add gc pool
2022-05-23 23:42:25 -04:00
Bojan Serafimov
dc47f9ccf1
Simplify
2022-05-23 23:18:25 -04:00
Bojan Serafimov
fefbff8981
Add job status
2022-05-23 22:44:48 -04:00
Bojan Serafimov
eefc7aa792
Add todo
2022-05-23 22:33:53 -04:00
Bojan Serafimov
f3c71899be
Add recurring job
2022-05-23 22:32:14 -04:00
Bojan Serafimov
de55b2f139
Handle panic
2022-05-22 16:12:00 -04:00
Bojan Serafimov
5a19ac02c9
Add todo
2022-05-22 15:53:52 -04:00
Bojan Serafimov
13b374a2df
Add shutdown command
2022-05-22 12:34:53 -04:00
Bojan Serafimov
b9814222f9
WIP
2022-05-12 12:28:46 -04:00
Thang Pham
cf59b51519
Update README (Running local installation section) ( #1649 )
2022-05-09 11:11:46 -04:00
Kirill Bulatov
0a7735a656
Rework remote storage sync queue, general refactoring
2022-05-07 01:33:33 +03:00
Kirill Bulatov
64a602b8f3
Delete timeline layers
2022-05-07 01:33:33 +03:00
Kirill Bulatov
10e4da3997
Rework timeline batching
2022-05-07 01:33:33 +03:00
Kirill Bulatov
de37f982db
Share the remote storage as a crate
2022-05-07 00:30:36 +03:00
Kirill Bulatov
d4e155aaa3
Librarify common etcd timeline logic
2022-05-06 22:32:57 +03:00
Arseny Sher
dd6dca9072
Bump vendor/postgres to shut down on wrong basebackup.
2022-05-06 20:07:26 +04:00
bojanserafimov
ef40e404cf
Rename zenith crate to neon_local ( #1625 )
2022-05-05 19:06:53 -04:00
Sergey Melnikov
11a44eda0e
Add TLS support in scram-proxy ( #1643 )
...
* Add TLS support in scram-proxy
* Fix authEndpoint
2022-05-05 23:48:16 +03:00
Heikki Linnakangas
30a7598172
Some copy-editing.
2022-05-05 22:35:15 +03:00
Heikki Linnakangas
1ad5658d9c
Fix typos
2022-05-05 22:35:15 +03:00
Dmitry Rodionov
954859f6c5
add readme for performance tests with the current state of things
2022-05-05 22:35:15 +03:00
Andrey Taranik
4024bfe736
get_binaries script fix ( #1638 )
...
* get_binaries script fix
* minor improvment for get_binaries
2022-05-05 22:21:07 +03:00
Kirill Bulatov
2ef0e5c6ed
Do not require metadata in every upload sync task
2022-05-05 18:26:39 +03:00
Kirill Bulatov
52a7e3155e
Add local path to the Layer trait and historic layers
2022-05-05 18:26:39 +03:00
Thang Pham
ad5eaa6027
Use node's LSN for read-only nodes ( #1642 )
...
Fixes #1410 .
2022-05-05 10:53:10 -04:00
Dmitry Rodionov
0f3ec83172
avoid detach with alive branches
2022-05-05 12:54:42 +03:00
Arseny Sher
c46fe90010
Fix division by zero in WAL removal.
2022-05-05 10:41:43 +04:00
bojanserafimov
bc569dde51
Remove some unwraps from waldecoder ( #1539 )
2022-05-04 17:41:05 -04:00
bojanserafimov
02e5083695
Add hot page test ( #1479 )
2022-05-04 12:45:01 -04:00
Thang Pham
c4bc604e5f
Fix pg list table alignment #1633
...
Fixes #1628
- add [`comfy_table`](https://github.com/Nukesor/comfy-table/tree/main ) and use it to construct table for `pg list` CLI command
Comparison
- Old:
```
NODE ADDRESS TIMELINE BRANCH NAME LSN STATUS
main 127.0.0.1:55432 3823dd05e35d71f6ccf33049de366d70 main 0/16FB140 running
migration_check 127.0.0.1:55433 3823dd05e35d71f6ccf33049de366d70 main 0/16FB140 running
```
- New:
```
NODE ADDRESS TIMELINE BRANCH NAME LSN STATUS
main 127.0.0.1:55432 3823dd05e35d71f6ccf33049de366d70 main 0/16FB140 running
migration_check 127.0.0.1:55433 3823dd05e35d71f6ccf33049de366d70 main 0/16FB140 running
```
2022-05-04 12:12:26 -04:00
Anastasia Lubennikova
b8880bfaab
Bump vendor/postgres
2022-05-04 18:14:45 +03:00
Anastasia Lubennikova
e2cf77441d
Implement pg_database_size().
...
In this implementation dbsize equals sum of all relation sizes, excluding shared ones.
2022-05-04 18:14:45 +03:00
Arseny Sher
b68e3b03ed
Fix control file update for b9fd8a36ad
2022-05-04 17:11:22 +04:00
Arseny Sher
e58c83870f
Bump vendor/postgres to to send timeline_start_lsn.
2022-05-04 14:32:03 +04:00
Arseny Sher
b9fd8a36ad
Remember timeline_start_lsn and local_start_lsn on safekeeper.
...
Make it remember when timeline starts in general and on this safekeeper in
particular (the point might be later on new safekeeper replacing failed one).
Bumps control file and walproposer protocol versions.
While protocol is bumped, also add safekeeper node id to
AcceptorProposerGreeting.
ref #1561
2022-05-04 14:32:03 +04:00
Heikki Linnakangas
748c5a577b
Bump vendor/postgres. ( #1616 )
...
Includes fix for https://github.com/neondatabase/neon/issues/1615
2022-05-04 10:54:44 +03:00
Stas Kelvich
51a0f2683b
fix scram-proxy addresses
2022-05-04 01:35:30 +03:00
Dmitry Rodionov
9dfa145c7c
tone down tenant not found error
2022-05-04 00:47:52 +03:00
Stas Kelvich
5642d0b2b8
Change shutdown_process_on_error thread spawn settings.
...
Now princeple is following: acceptor threads (libpq and http) error will
bring the pageserver down, but all per-tenant thread failures will be treated
as an error.
2022-05-04 00:42:57 +03:00
Dmitry Rodionov
2f83f793bc
print more details when thread fails
2022-05-03 18:31:23 +03:00
Anastasia Lubennikova
2f9b17b9e5
Add simple test of pageserver recovery after crash. To cause a crash, use failpoints in checkpointer
2022-05-03 17:13:09 +03:00
Dmitry Rodionov
e7cba0b607
use thiserror instead of anyhow in disk_btree
2022-05-03 15:34:23 +03:00
Dmitry Rodionov
ff7e9a86c6
turn panic into an error with more details
2022-05-03 12:44:42 +03:00