Files
scylladb/service
Benny Halevy 46c9e3032d storage_service: get_all_ranges: reserve enough space in ranges
Commit bc5f6cf45d
added a reserve call to the `ranges` vector before
inserting all the returned token ranges into it.
However, that reservation is too small as we need
to express size+1 ranges for size tokens with
<unbound, token[0]> and <token[size-1], unbound>
ranges at the front and back, respectively.

Fixes #14849

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>

Closes #14938
2023-08-03 17:13:03 +03:00
..
2023-06-06 13:29:16 +03:00