1
0
mirror of https://github.com/facebook/rocksdb.git synced 2026-10-27 20:33:15 +03:00
Files
Andrew Kryczka a89bd81df4 Fix GenericRateLimiter hanging bug (#11763)
Summary:
Fixes https://github.com/facebook/rocksdb/issues/11742

Even after performing duty (1) ("Waiting for the next refill time"), it is possible the remaining threads are all in `Wait()`. Waking up at least one thread is enough to ensure progress continues, even if no new requests arrive.

The repro unit test (https://github.com/facebook/rocksdb/commit/bb54245e6) is not included as it depends on an unlanded PR (https://github.com/facebook/rocksdb/issues/11753)

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11763

Reviewed By: jaykorean

Differential Revision: D48710130

Pulled By: ajkr

fbshipit-source-id: 9d166bd577ea3a96ccd81dde85871fec5e85a4eb
2023-09-01 12:08:11 -07:00
..
2023-01-27 13:14:19 -08:00
2023-01-27 13:14:19 -08:00
2022-08-11 12:45:50 -07:00
2023-04-03 10:41:00 -07:00
2021-08-20 18:41:51 -07:00
2023-02-08 20:14:57 -08:00
2023-01-27 13:14:19 -08:00
2023-01-27 13:14:19 -08:00
2023-01-27 13:14:19 -08:00