Asias He
145fd0313a
streaming: Fix map access in stream_manager::get_progress
...
When the progress is queried, e.g., query from nodetool netstats
the progress info might not be updated yet.
Fix it by checking before access the map to avoid errors like:
std::out_of_range (_Map_base::at)
Fixes : #5437
Tests: nodetool_additional_test.py:TestNodetool.netstats_test
2020-01-06 10:31:15 +02:00
..
2016-04-08 08:12:47 +03:00
2018-11-01 13:16:17 +00:00
2019-11-26 02:24:49 +03:00
2019-11-26 02:24:49 +03:00
2019-11-26 02:24:49 +03:00
2019-11-26 02:24:49 +03:00
2019-11-26 02:24:49 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2020-01-06 10:31:15 +02:00
2019-11-26 02:24:49 +03:00
2019-08-07 14:59:46 +02:00
2018-11-01 13:16:17 +00:00
2019-11-26 02:24:49 +03:00
2018-10-15 22:03:28 +01:00
2016-04-08 08:12:47 +03:00
2019-11-26 02:24:49 +03:00
2016-04-08 08:12:47 +03:00
2018-11-21 00:01:44 +02:00
2019-12-16 11:12:03 +02:00
2018-11-21 00:01:44 +02:00
2017-05-21 12:26:15 +03:00
2016-04-08 08:12:47 +03:00
2019-11-26 02:24:49 +03:00
2019-11-26 02:24:49 +03:00
2019-11-26 02:24:49 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2019-11-26 02:24:49 +03:00
2019-10-08 10:31:02 +02:00
2019-11-26 02:24:49 +03:00