mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 12:36:56 +00:00
When --abort-on-lsa-bad-alloc is enabled we want to abort whenever we think we can be out of memory. We covered failures due to bad_alloc thrown from inside of the allocation section, but did not cover failures from reservations done at the beginning of with_reserve(). Fix by moving the trap into reserve(). Message-Id: <1553258915-27929-1-git-send-email-tgrabiec@scylladb.com>
79 KiB
79 KiB