Christian Schwarz
62d77e263f
test_remote_timeline_client_calls_started_metric: fix flakiness ( #6911 )
...
fixes https://github.com/neondatabase/neon/issues/6889
# Problem
The failure in the last 3 flaky runs on `main` is
```
test_runner/regress/test_remote_storage.py:460: in test_remote_timeline_client_calls_started_metric
churn("a", "b")
test_runner/regress/test_remote_storage.py:457: in churn
assert gc_result["layers_removed"] > 0
E assert 0 > 0
```
That's this code
cd449d66ea/test_runner/regress/test_remote_storage.py (L448-L460)
So, the test expects GC to remove some layers but the GC doesn't.
# Fix
My impression is that the VACUUM isn't re-using pages aggressively
enough, but I can't really prove that. Tried to analyze the layer map
dump but it's too complex.
So, this PR:
- Creates more churn by doing the overwrite twice.
- Forces image layer creation.
It also drive-by removes the redundant call to timeline_compact,
because, timeline_checkpoint already does that internally.
2024-02-27 10:55:10 +01:00
..
2023-09-12 15:11:32 +02:00
2024-02-11 01:34:31 +02:00
2024-02-26 10:05:24 +01:00
2024-02-16 15:53:09 +00:00
2024-02-11 01:34:31 +02:00
2024-02-01 20:50:04 +00:00
2023-04-13 14:34:29 +03:00
2023-11-20 15:41:37 +01:00
2024-02-11 01:34:31 +02:00
2023-12-15 08:51:23 +00:00
2024-01-17 18:01:08 +00:00
2023-10-27 10:47:11 +01:00
2023-12-20 12:26:20 +00:00
2024-02-11 01:34:31 +02:00
2023-09-08 16:19:57 +01:00
2024-02-21 09:49:46 +00:00
2024-02-11 01:34:31 +02:00
2024-01-05 15:35:07 +00:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-02-13 09:00:50 +02:00
2023-11-27 18:57:58 +00:00
2023-12-07 12:27:16 +00:00
2023-04-13 14:34:29 +03:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-02-23 13:56:41 +00:00
2024-02-11 01:34:31 +02:00
2023-09-08 16:19:57 +01:00
2024-02-11 01:34:31 +02:00
2024-01-05 15:35:07 +00:00
2023-09-15 11:17:18 +01:00
2024-01-03 14:22:17 +00:00
2024-02-11 01:34:31 +02:00
2023-11-23 08:59:19 +02:00
2024-01-31 17:37:25 +02:00
2024-02-23 01:12:49 +04:00
2024-02-11 01:34:31 +02:00
2024-02-22 17:49:02 +00:00
2024-02-11 01:34:31 +02:00
2023-12-07 12:27:16 +00:00
2024-02-26 16:06:00 +00:00
2024-01-26 18:23:53 +00:00
2024-02-09 20:22:53 +00:00
2024-01-29 07:39:16 +02:00
2023-04-13 14:34:29 +03:00
2024-02-11 01:34:31 +02:00
2024-02-21 19:39:14 +00:00
2024-01-05 15:35:07 +00:00
2023-04-13 14:34:29 +03:00
2024-02-16 13:00:53 +00:00
2023-12-12 18:00:37 +01:00
2024-01-23 07:55:05 +02:00
2024-01-26 14:40:47 +00:00
2023-11-07 16:57:26 +00:00
2024-02-20 17:34:12 +01:00
2024-02-11 01:34:31 +02:00
2024-01-26 14:40:47 +00:00
2023-12-05 18:49:24 +02:00
2024-02-11 01:34:31 +02:00
2024-02-21 18:24:59 +01:00
2023-09-16 18:05:35 +03:00
2023-11-15 09:15:59 +00:00
2024-02-20 10:44:46 +00:00
2023-09-08 16:19:57 +01:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-02-27 10:55:10 +01:00
2024-02-23 13:56:41 +00:00
2024-02-02 23:45:57 +01:00
2023-07-18 12:56:40 +03:00
2024-02-26 18:17:06 +00:00
2024-02-22 09:33:40 +00:00
2023-08-03 17:20:24 +03:00
2024-02-11 01:34:31 +02:00
2024-02-26 10:24:58 +00:00
2024-02-23 14:33:47 +01:00
2024-02-05 14:49:35 +02:00
2024-02-23 14:33:47 +01:00
2023-09-29 09:15:43 +01:00
2023-06-15 17:30:12 +03:00
2024-02-11 01:34:31 +02:00
2024-02-16 14:53:36 +00:00
2023-12-12 18:00:37 +01:00
2024-02-23 14:33:47 +01:00
2024-02-11 01:34:31 +02:00
2023-07-18 12:56:40 +03:00
2024-02-11 01:34:31 +02:00
2023-04-13 14:34:29 +03:00
2024-02-21 12:36:57 +00:00
2024-01-30 18:05:22 +04:00
2024-02-11 01:34:31 +02:00
2023-06-19 15:59:38 +04:00
2024-02-19 17:27:02 +01:00
2023-09-15 11:17:18 +01:00