Benny Halevy
77cb6596c4
utils: phased_barrier: advance_and_await: make noexcept
...
As a function returning a future, simplify
its interface by handling any exceptions and
returning an exceptional future instead of
propagating the exception.
In this specific case, throwing from advance_and_await()
will propagate through table::await_pending_* calls
short-circuiting a .finally clause in table::stop().
Also, mark as noexcept methods of class table calling
advance_and_await and table::await_pending_ops that depends on them.
Fixes #8636
A followup patch will convert advance_and_await to a coroutine.
This is done separately to facilitate backporting of this patch.
Test: unit(dev)
Signed-off-by: Benny Halevy <bhalevy@scylladb.com >
Message-Id: <20210511161407.218402-1-bhalevy@scylladb.com >
(cherry picked from commit c0dafa75d9 )
2021-10-13 12:26:12 +03:00
..
2020-11-17 16:01:25 +02:00
2020-10-11 10:29:24 +03:00
2020-10-11 15:19:54 +03:00
2020-04-23 16:06:37 +03:00
2020-10-11 22:09:19 +03:00
2020-06-25 15:33:31 -07:00
2020-09-22 17:24:33 +03:00
2020-03-23 11:59:30 +02:00
2020-03-23 09:29:45 +02:00
2020-09-22 17:24:33 +03:00
2020-10-11 17:23:40 +03:00
2020-08-03 15:55:16 +03:00
2020-06-18 14:08:29 +03:00
2020-11-10 15:45:01 +02:00
2020-07-03 12:28:14 -07:00
2020-07-14 16:29:49 +03:00
2020-07-28 18:00:29 +03:00
2020-07-28 18:00:29 +03:00
2020-08-03 12:51:16 +03:00
2020-03-23 09:29:45 +02:00
2020-06-02 09:12:21 +03:00
2020-11-17 10:15:47 +01:00
2020-11-17 10:15:47 +01:00
2020-08-06 19:01:18 +03:00
2020-07-14 16:30:02 +03:00
2020-06-02 09:12:21 +03:00
2020-09-22 17:24:33 +03:00
2020-09-22 17:24:33 +03:00
2020-06-18 14:18:21 +03:00
2020-03-23 09:29:45 +02:00
2020-11-01 16:46:18 +02:00
2020-04-05 12:46:04 +03:00
2020-10-11 14:40:32 +03:00
2021-01-15 14:05:44 +01:00
2020-12-11 09:53:07 +01:00
2020-06-01 09:08:40 +03:00
2020-06-01 09:08:40 +03:00
2020-06-14 08:18:39 -07:00
2020-06-18 14:18:21 +03:00
2020-11-04 11:13:59 +02:00
2020-10-13 12:32:14 +03:00
2020-10-13 12:32:14 +03:00
2020-03-23 09:29:45 +02:00
2020-07-14 16:29:49 +03:00
2020-04-05 12:46:04 +03:00
2020-11-02 18:03:19 +02:00
2020-06-02 09:12:21 +03:00
2020-08-04 17:54:45 +03:00
2021-07-25 14:03:04 +03:00
2020-11-17 16:53:20 +01:00
2020-11-17 16:01:25 +02:00
2020-11-17 15:13:21 +02:00
2021-01-08 14:16:08 +01:00
2021-01-15 18:21:13 +01:00
2020-11-24 12:23:56 +02:00
2020-03-23 09:29:45 +02:00
2020-03-23 09:29:45 +02:00
2020-09-22 17:24:33 +03:00
2020-08-18 14:31:04 +03:00
2020-08-18 14:31:04 +03:00
2021-01-08 13:17:46 +01:00
2020-07-14 16:29:43 +03:00
2021-10-13 12:26:12 +03:00
2020-03-23 09:29:45 +02:00
2020-10-18 18:16:30 +03:00
2020-04-05 12:46:04 +03:00
2020-06-02 09:12:21 +03:00
2021-10-12 13:57:15 +03:00
2021-10-12 13:57:15 +03:00
2020-03-23 11:59:30 +02:00
2021-01-08 14:16:07 +01:00
2020-10-14 16:45:21 +03:00
2021-10-12 13:05:58 +03:00
2020-05-23 11:09:10 +03:00
2020-09-22 17:24:33 +03:00
2020-09-22 17:24:33 +03:00
2020-10-21 11:14:44 +03:00
2021-01-15 14:05:44 +01:00
2020-10-14 16:45:21 +03:00