Wojciech Mitros
593a6da09c
test/cluster: fix flaky test_hints_consistency_during_replace
...
The test creates a sync point immediately after writing 100 rows
with CL=ANY, without waiting for pending hint writes to complete.
store_hint() is fire-and-forget: it submits do_store_hint() to a gate
and returns immediately. do_store_hint() updates _last_written_rp only
after writing to the commitlog. If create_sync_point() is called before
all do_store_hint() coroutines complete, the captured replay position
is stale, and await_sync_point() returns DONE before all hints are
replayed, leaving some rows missing.
Fix by waiting for the size_of_hints_in_progress metric to reach zero
before creating the sync point, ensuring all in-flight hint writes have
completed and _last_written_rp is up to date. This follows the same
pattern already used in test_sync_point.
Fixes: SCYLLADB-1709
Closes scylladb/scylladb#29623
(cherry picked from commit 7634d3f7d4 )
Closes scylladb/scylladb#29632
2026-04-24 17:55:33 +03:00
..
2026-04-16 14:30:31 +03:00
2026-04-21 19:31:22 +02:00
2026-01-13 00:38:00 +01:00
2026-02-27 06:32:15 +02:00
2026-01-21 10:47:36 +02:00
2026-01-13 00:38:00 +01:00
2026-04-06 14:25:13 +03:00
2026-01-13 10:22:38 +02:00
2026-01-08 21:55:18 +02:00
2026-01-08 21:55:16 +02:00
2026-01-29 22:46:11 +02:00
2026-02-25 12:59:26 +00:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-04-01 09:58:20 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2025-11-13 17:00:08 +01:00
2026-01-13 00:38:00 +01:00
2025-12-12 15:11:03 +02:00
2026-03-05 17:46:39 +02:00
2025-12-30 17:34:56 +01:00
2026-01-08 21:55:16 +02:00
2026-02-27 01:38:13 +02:00
2026-01-08 21:55:16 +02:00
2026-01-14 17:50:46 +02:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-04-16 18:08:32 +03:00
2026-01-14 13:11:27 +01:00
2026-02-27 06:32:15 +02:00
2026-04-16 21:09:09 +03:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-04-06 14:21:46 +03:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-14 09:55:45 +01:00
2026-04-24 17:55:33 +03:00
2026-04-24 17:54:34 +03:00
2026-03-20 10:32:31 +02:00
2026-03-03 10:21:11 +01:00
2025-10-29 23:32:58 +01:00
2025-12-29 14:22:34 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-02-02 17:02:16 +00:00
2026-01-08 21:55:16 +02:00
2026-04-06 14:22:08 +03:00
2025-11-25 09:15:46 +01:00
2025-12-12 15:11:03 +02:00
2025-11-24 17:12:13 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:53:47 +02:00
2026-03-20 10:27:04 +02:00
2026-03-10 22:48:14 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-03-17 18:04:27 +01:00
2026-01-22 06:55:16 +02:00
2025-10-24 21:23:41 +03:00
2026-01-08 21:55:16 +02:00
2026-01-22 14:13:42 +03:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-21 10:47:36 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2025-12-03 15:35:59 +01:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-02-17 08:35:16 +01:00
2026-04-06 14:20:46 +03:00
2026-01-13 20:45:59 +02:00
2026-02-26 09:26:23 +02:00
2025-10-29 20:13:08 +02:00
2026-04-06 22:07:57 +03:00
2026-01-13 00:38:00 +01:00
2026-01-15 10:25:45 +01:00
2026-01-21 14:56:01 +01:00
2026-01-08 21:55:16 +02:00
2026-04-21 15:11:49 +02:00
2026-01-09 16:11:39 +08:00
2026-01-08 21:55:16 +02:00
2026-04-20 14:18:13 +03:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-13 00:38:00 +01:00
2026-03-21 01:37:30 +01:00
2026-03-21 01:37:30 +01:00
2026-02-17 10:03:50 +01:00
2026-02-20 16:35:39 +00:00
2026-01-13 00:38:00 +01:00
2026-04-20 14:18:56 +03:00
2026-01-08 21:55:16 +02:00
2026-01-18 15:36:07 +01:00
2026-01-13 00:38:00 +01:00
2026-02-18 12:36:52 +02:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-03-20 10:22:40 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-04-16 10:39:29 +03:00
2026-01-09 10:01:23 +02:00
2025-12-05 09:26:26 +02:00
2026-01-13 00:38:00 +01:00
2026-01-13 00:38:00 +01:00
2026-01-08 21:55:16 +02:00
2026-01-08 21:55:16 +02:00
2026-01-21 15:17:42 +01:00
2026-04-21 12:47:01 +02:00