Skip to content

Commit 5f9de72

Browse files
committed
storage: schedule singleton sources only on one replica
1 parent 91b77a5 commit 5f9de72

File tree

2 files changed

+315
-26
lines changed

2 files changed

+315
-26
lines changed

src/storage-controller/src/history.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl<T: timely::progress::Timestamp + TotalOrder> CommandHistory<T> {
5050
}
5151

5252
/// Returns an iterator over the contained storage commands.
53-
pub fn iter(&self) -> impl Iterator<Item = &StorageCommand<T>> {
53+
pub fn iter(&self) -> impl DoubleEndedIterator<Item = &StorageCommand<T>> {
5454
self.commands.iter()
5555
}
5656

0 commit comments

Comments
 (0)