Skip to content
Snippets Groups Projects
Commit a74219d5 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Konstantin Osipov
Browse files

vinyl: fix quota watermark calculation

The code calculating the quota watermark was written long ago, when we
didn't have the common memory level and didn't use lsregion allocator
and hence it was possible to free all memory used by any range. Things
have changed drastically since then: now it's impossible to free memory
occupied by a range or even an index, because statements are shared
between indexes, so the scheduler effectively dumps all memory on
exceeding the quota. Fix the quota calculation accordingly.
parent aa0ebf46
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment