diff options
| author | Daniil Fedotov <hairyhum@gmail.com> | 2019-05-03 14:45:04 -0400 |
|---|---|---|
| committer | Daniil Fedotov <hairyhum@gmail.com> | 2019-05-03 14:45:04 -0400 |
| commit | 4b4e8a7f4b0101170835df87622606d22104da1f (patch) | |
| tree | 7dad218c2971477487cc62fed02378140d4dcb67 /src/lqueue.erl | |
| parent | a4033d826ed4f7546019753cb98b1cdca1939210 (diff) | |
| download | rabbitmq-server-git-4b4e8a7f4b0101170835df87622606d22104da1f.tar.gz | |
Move check for reader to action function for message store GC.
Message store GC postpones processing of file, which have readers.
When performing an action, it asserts that there are no readers.
Check for readers may race with readers update by a queue, crashing
the message store.
Make check and assert work with the same lookup to reduce failure rate.
In case of races the queue process should handle exception instead.
Addresses #2000
[#165755203]
Diffstat (limited to 'src/lqueue.erl')
0 files changed, 0 insertions, 0 deletions
