Konstantin Knizhnik
ffdf7df2ea
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Heikki Linnakangas <heikki@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
74ab232afb
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Heikki Linnakangas <heikki@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
2cf02b381c
Update pageserver/src/keyspace.rs
...
Co-authored-by: Heikki Linnakangas <heikki@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
6d687c198b
Fix pythin style warnings
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
755166e275
Simplified version of test_gc_feedback
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
7d4ebf8485
Update pageserver/src/keyspace.rs
...
Co-authored-by: Heikki Linnakangas <heikki@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
9b9b125d13
Make clippy happy
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
4d76c2916e
Apply black to test_gc_feedback
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
199771371c
Make ruff happy
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
43187715d6
Add KeySpaceRandomAccum
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
1e63fc99db
Move test_gc_feedback test to performance
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
7b58f82f7b
Move test_gc_feedback test to performance
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
2af45505b8
test_runner/performance/test_gc_feedback.py
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
3c5b99b4b9
Rename test_gc_feedback test
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
8b05a87f75
Add test that no redundant image are generatd if them are wanted by GC
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
3bc4a7c1e2
Add test that no redundant image are generatd if them are wanted by GC
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
3d0a51567f
Fix KeySpace.add_range
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
7e6dbc32d1
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Heikki Linnakangas <heikki@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
f12f6b0275
Fix pythin style
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
0fbd85f64b
Fix python style violations in test_gc_old_layers.py
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
af75d59b4c
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
4618739cb3
Update test_runner/regress/test_gc_old_layers.py
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
f838a11514
Update pageserver/src/keyspace.rs
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
f0fe03ea80
Make clippy happy
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
be22be7b24
Make clippy happy
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
451479305e
Use KeySpace for passing infirmation about wanted image layers from GC to copaction task
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
5e690307fb
Avoid redundant generation of wanted image layers if such layer already exists beyond GC cutoff horizon
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
3e6288d7d8
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
2d015a1464
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
0785d92577
Add isort happy
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
fcb9bac847
Revert changes in key space partitioning
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
7a3d6531b8
Revert "fix KeySpace initialization in bench_layer_map.rs"
...
This reverts commit 63b1fcb813ca5f40a2b1328d4cb6e21646fba69f.
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
3275305a30
Revert "Split keyspace in partitions without holes"
...
This reverts commit 02c0e9082f804ccf201fe1cf07eb167b697ea9a3.
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
0deca452bf
Add comments
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
98de2a6d93
Update test_runner/regress/test_gc_old_layers.py
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
88257b91d7
Update test_runner/regress/test_gc_old_layers.py
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
e8066631a6
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
e069c409ef
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
7f81d57d52
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
787c4a8bbb
Update pageserver/src/tenant/timeline.rs
...
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
6ec9922184
Make clippy happy
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
9b241f29cd
Remove sleep at the end of test_gc_old_layers.py
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
9b418a71ac
fix KeySpace initialization in bench_layer_map.rs
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
1bb8ca0806
Split keyspace in partitions without holes
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
a1c8e74fb9
Add test for GC of stairs layers
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
f9999c84d9
Rebase with main
2023-05-16 21:18:20 +03:00
Konstantin Knizhnik
c01c31d045
Add comment exlaining wanted_image_layers
2023-05-16 21:18:19 +03:00
Konstantin Knizhnik
4da24ba34f
Pass set of wanted image layers from GC to compaction
2023-05-16 21:18:19 +03:00
Alexander Bayandin
a5615bd8ea
Fix Allure reports for different benchmark jobs ( #4229 )
...
- Fix Allure report generation failure for Nightly Benchmarks
- Fix GitHub Autocomment for `run-benchmarks` label
(`build_and_test.yml::benchmarks` job)
2023-05-15 13:04:03 +01:00
Joonas Koivunen
4a76f2b8d6
upload new timeline index part json before 201 or on retry ( #4204 )
...
Await for upload to complete before returning 201 Created on
`branch_timeline` or when `bootstrap_timeline` happens. Should either of
those waits fail, then on the retried request await for uploads again.
This should work as expected assuming control-plane does not start to
use timeline creation as a wait_for_upload mechanism.
Fixes #3865 , started from
https://github.com/neondatabase/neon/pull/3857/files#r1144468177
Co-authored-by: Heikki Linnakangas <heikki@neon.tech >
2023-05-15 14:16:43 +03:00