influxdb/object_store/src
Carol (Nichols || Goulding) fbf18813ac fix: Correct a mistaken assumption in in-memory object storage
The implementation of list_with_delimiter for the in-memory object
storage assumed that paths returned from the BTreeMap keys that sorted
greater than the prefix given to list_with_delimiter and for whom
prefix_matches returned true would also have parts after the prefix.

This didn't account for paths that started with the prefix but didn't
immediately have the delimiter after the prefix: that is,

prefix = 1/database_name

would match the in-memory paths:

1/database_name/0/rules.pb
1/database_name_and_another_thing/0/rules.pb

The first path here *would* return some parts_after_prefix, but the
second path would not and the previously existing code would panic for
the added path in the list_with_delimiter test case.
2021-09-02 14:57:27 -04:00
..
path refactor: remove display methods, use fmt::Display instead. (#2272) 2021-08-16 18:00:22 +00:00
aws.rs refactor: move cache to ObjectStore 2021-07-21 18:27:56 -04:00
azure.rs refactor: move cache to ObjectStore 2021-07-21 18:27:56 -04:00
buffer.rs refactor: Make aws/azure/gcs optional features and stop compiling 100 dependencies during dev (#1933) 2021-07-09 11:38:30 +00:00
cache.rs chore: make cache a type in object store trait 2021-07-21 18:27:56 -04:00
disk.rs refactor: move cache to ObjectStore 2021-07-21 18:27:56 -04:00
dummy.rs refactor: move cache to ObjectStore 2021-07-21 18:27:56 -04:00
gcp.rs refactor: move cache to ObjectStore 2021-07-21 18:27:56 -04:00
lib.rs fix: Correct a mistaken assumption in in-memory object storage 2021-09-02 14:57:27 -04:00
memory.rs fix: Correct a mistaken assumption in in-memory object storage 2021-09-02 14:57:27 -04:00
path.rs docs: remove outdated comment (#2302) 2021-08-17 12:57:07 +00:00
throttle.rs fix: Address or allow Clippy warnings new with Rust 1.54 2021-07-30 09:59:59 -04:00