mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-09 16:33:35 +00:00
Stop calling .remove_suffix on empty string_view. ck_bview can be empty because this function can be called for a half open range tombstone. It is impossible to write such range tombstones to LA/KA SSTables so we should throw a proper exception instead of allowing an undefined behaviour. Refs #4113 Tests: unit(release) Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com> Message-Id: <c3738916953e4b10812aed95e645c739b4c29462.1548777086.git.piotr@scylladb.com>