Files
scylladb/utils
Avi Kivity ecc3ccc716 lsa: emergency segment reserve for compaction
To free memory, we need to allocate memory.  In lsa compaction, we convert
N segments with average occupancy of (N-1)/N into N-1 new segments.  However,
to do that, we need to allocate segments, which we may not be able to do
due to the low memory condition which caused us to compact anyway.

Fix by introducing a segment reserve, which we normally try to ensure is
full.  During low memory conditions, we temporarily allow allocating from
the emergency reserve.
2015-08-12 11:29:09 +03:00
..
2015-08-09 00:05:33 +03:00
2015-07-26 10:55:14 +03:00
2015-07-26 10:57:32 +03:00
2015-08-06 14:05:16 +02:00