Rafael Ávila de Espíndola
4d0916a094
commitlog: Handle gate_closed_exception
...
Before this patch, if the _gate is closed, with_gate throws and
forward_to is not executed. When the promise<> p is destroyed it marks
its _task as a broken promise.
What happens next depends on the branch.
On master, we warn when the shared_future is destroyed, so this patch
changes the warning from a broken_promise to a gate closed.
On 3.1, we warn when the promises in shared_future::_peers are
destroyed since they no longer have a future attached: The future that
was attached was the "auto f" just before the with_gate call, and it
is destroyed when with_gate throws. The net result is that this patch
fixes the warning in 3.1.
I will send a patch to seastar to make the warning on master more
consistent with the warning in 3.1.
Fixes #4394
Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com >
Message-Id: <20190917211915.117252-1-espindola@scylladb.com >
2019-09-17 23:41:21 +02:00
..
2019-08-26 18:54:44 +03:00
2019-08-06 15:11:19 +03:00
2019-09-07 10:07:33 -07:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-07-04 11:32:57 +02:00
2019-05-07 07:11:07 +03:00
2019-01-30 15:24:31 +00:00
2019-01-30 11:17:38 +02:00
2019-09-04 15:08:14 -07:00
2019-01-30 11:17:38 +02:00
2018-12-03 14:40:35 +01:00
2019-01-30 11:17:38 +02:00
2019-09-17 23:41:21 +02:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-06-24 14:06:41 +02:00
2019-06-24 14:06:41 +02:00
2019-06-28 16:43:25 +03:00
2019-05-07 09:58:21 +03:00
2019-09-15 10:38:09 +03:00
2019-09-07 18:17:53 +03:00
2019-06-28 16:43:25 +03:00
2019-05-07 10:00:58 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-07-16 13:35:53 -04:00
2019-05-07 07:11:07 +03:00
2019-03-28 14:21:10 +02:00
2019-07-29 17:15:51 +02:00
2019-01-20 15:55:20 +02:00
2019-05-07 07:11:07 +03:00
2019-05-07 07:11:07 +03:00
2019-06-28 16:43:25 +03:00
2019-06-13 10:38:56 +03:00
2019-08-13 10:16:02 +03:00
2019-09-04 13:42:37 +03:00
2019-08-26 18:54:44 +03:00
2019-03-04 10:23:45 +00:00
2019-06-17 15:23:24 +03:00
2019-03-28 14:21:10 +02:00
2019-08-28 09:46:17 +03:00
2019-08-21 19:35:59 +02:00
2019-03-28 14:21:10 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2019-06-13 14:45:48 +03:00
2019-09-07 10:07:33 -07:00
2019-01-30 11:17:38 +02:00
2019-08-12 19:48:31 +03:00
2019-05-07 10:00:58 +03:00
2019-02-07 20:18:14 +02:00
2019-08-26 18:54:44 +03:00
2019-02-14 22:37:41 +02:00
2019-07-15 17:38:00 +03:00
2019-08-26 18:54:44 +03:00
2019-08-26 18:54:44 +03:00
2019-07-21 16:42:54 +03:00
2019-01-08 13:16:36 +02:00
2019-04-10 18:05:36 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-08-26 18:54:44 +03:00
2019-08-13 09:47:55 +03:00
2019-08-01 13:03:03 +03:00
2019-08-26 18:54:44 +03:00
2019-07-15 17:38:00 +03:00
2019-01-30 11:17:38 +02:00
2019-08-26 18:54:44 +03:00
2019-06-28 16:43:25 +03:00
2019-05-13 19:30:50 +02:00
2019-05-13 19:18:20 +02:00
2019-06-28 16:43:25 +03:00
2019-09-07 18:07:01 +03:00
2019-09-07 10:07:33 -07:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-01-08 13:16:36 +02:00
2019-01-22 18:24:52 -05:00
2019-04-29 19:56:20 -07:00
2019-01-30 11:17:38 +02:00
2019-01-08 13:16:36 +02:00
2019-08-26 18:54:44 +03:00
2019-01-30 11:17:38 +02:00
2019-08-21 19:13:59 +03:00
2019-01-30 11:17:38 +02:00
2019-07-19 11:58:42 +02:00
2019-01-30 11:17:38 +02:00
2019-07-15 23:24:16 +02:00
2019-01-18 17:49:46 +02:00
2019-03-28 14:21:10 +02:00
2019-08-05 14:55:56 +02:00
2019-08-26 18:54:44 +03:00
2019-08-06 15:11:19 +03:00
2019-03-26 16:05:08 +02:00
2019-04-11 18:50:42 +03:00
2019-03-26 16:05:08 +02:00
2019-08-26 18:54:44 +03:00
2019-01-22 18:25:01 -05:00
2019-03-26 16:24:19 +02:00
2019-02-11 14:45:43 +02:00
2019-08-21 19:35:59 +02:00
2019-03-26 16:05:08 +02:00
2019-02-11 17:14:47 +02:00
2019-02-11 17:14:47 +02:00
2019-07-08 15:28:21 +00:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2019-01-08 13:16:36 +02:00
2019-01-30 11:17:38 +02:00
2019-02-13 09:08:12 +00:00
2019-09-07 10:07:33 -07:00
2018-12-05 21:51:01 +02:00
2019-03-26 16:24:19 +02:00
2019-06-28 16:43:25 +03:00
2019-08-26 18:54:44 +03:00
2019-03-14 13:37:06 +00:00
2019-07-12 18:09:15 +02:00