Benny Halevy
bdb6550305
view: row_locker: add latency_stats_tracker
...
Refactor the existing stats tracking and updating
code into struct latency_stats_tracker and while at it,
count lock_acquisitions only on success.
Decrement operations_currently_waiting_for_lock in the destructor
so it's always balanced with the uncoditional increment
in the ctor.
As for updating estimated_waiting_for_lock, it is always
updated in the dtor, both on success and failure since
the wait for the lock happened, whether waiting
timed out or not.
Fixes #12190
Signed-off-by: Benny Halevy <bhalevy@scylladb.com >
Closes #12225
2022-12-14 17:37:22 +02:00
..
2022-10-13 15:11:32 +02:00
2022-07-18 15:25:41 +02:00
2022-11-24 14:33:06 +03:00
2022-05-13 07:11:58 +02:00
2022-07-25 09:53:33 +02:00
2022-12-14 17:37:22 +02:00
2022-08-08 08:02:27 +03:00
2022-07-04 13:42:45 +03:00
2022-10-17 12:07:27 +02:00
2022-03-14 13:20:25 +02:00
2022-12-12 16:14:53 +02:00
2022-12-01 13:38:15 +03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-10-25 09:16:50 +03:00
2022-10-25 09:16:50 +03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-03-30 15:42:51 +03:00
2022-03-30 15:42:51 +03:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-10-10 16:20:59 +03:00
2022-10-10 16:20:59 +03:00
2022-08-08 08:09:41 +03:00
2022-05-13 07:11:58 +02:00
2022-06-22 20:07:58 +02:00
2022-01-18 12:15:18 +01:00
2022-08-08 08:02:27 +03:00
2022-06-22 20:16:48 +02:00
2022-06-22 20:16:48 +02:00
2022-11-28 21:58:30 +02:00
2022-05-01 08:33:55 +03:00
2022-06-22 20:16:48 +02:00
2022-06-22 20:16:48 +02:00
2022-05-13 07:11:58 +02:00
2022-07-18 14:18:48 +02:00
2022-10-19 13:05:41 +03:00
2022-08-08 08:09:45 +03:00
2022-10-06 18:02:09 +03:00
2022-10-06 18:00:09 +03:00
2022-12-05 08:14:39 +02:00
2022-09-26 11:02:54 +03:00
2022-05-16 14:14:14 +03:00
2022-05-16 14:14:14 +03:00
2022-08-14 13:12:03 +03:00
2022-08-12 06:01:44 +03:00
2022-03-25 16:19:26 +02:00
2022-12-12 15:20:30 +01:00
2022-12-12 15:20:30 +01:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-08-15 16:58:05 +03:00
2022-05-13 07:11:58 +02:00