@@ -58,25 +58,6 @@ pub trait PaginatedKVStore: Send + Sync {
5858 & self , primary_namespace : & str , secondary_namespace : & str , key : & str , time : i64 , buf : & [ u8 ] ,
5959 ) -> Result < ( ) , io:: Error > ;
6060
61- /// Removes any data that had previously been persisted under the given `key`.
62- ///
63- /// If the `lazy` flag is set to `true`, the backend implementation might choose to lazily
64- /// remove the given `key` at some point in time after the method returns, e.g., as part of an
65- /// eventual batch deletion of multiple keys. As a consequence, subsequent calls to
66- /// [`PaginatedKVStore::list`] might include the removed key until the changes are actually persisted.
67- ///
68- /// Note that while setting the `lazy` flag reduces the I/O burden of multiple subsequent
69- /// `remove` calls, it also influences the atomicity guarantees as lazy `remove`s could
70- /// potentially get lost on crash after the method returns. Therefore, this flag should only be
71- /// set for `remove` operations that can be safely replayed at a later time.
72- ///
73- /// Returns successfully if no data will be stored for the given `primary_namespace`,
74- /// `secondary_namespace`, and `key`, independently of whether it was present before its
75- /// invocation or not.
76- fn remove (
77- & self , primary_namespace : & str , secondary_namespace : & str , key : & str , lazy : bool ,
78- ) -> Result < ( ) , io:: Error > ;
79-
8061 /// Returns a paginated list of keys that are stored under the given `secondary_namespace` in
8162 /// `primary_namespace`, ordered in descending order of `time`.
8263 ///
0 commit comments