Seems to work on remote
This commit is contained in:
7
disk/src/cache/pbv.rs
vendored
7
disk/src/cache/pbv.rs
vendored
@@ -161,7 +161,6 @@ impl Stream for PreBinnedValueStream {
|
||||
|
||||
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Option<Self::Item>> {
|
||||
use Poll::*;
|
||||
info!("PreBinnedValueStream poll_next ENTER");
|
||||
if self.completed {
|
||||
panic!("PreBinnedValueStream poll_next on completed");
|
||||
}
|
||||
@@ -169,7 +168,7 @@ impl Stream for PreBinnedValueStream {
|
||||
self.completed = true;
|
||||
return Ready(None);
|
||||
}
|
||||
let u = 'outer: loop {
|
||||
'outer: loop {
|
||||
break if let Some(fut) = self.fut2.as_mut() {
|
||||
match fut.poll_next_unpin(cx) {
|
||||
Ready(Some(k)) => match k {
|
||||
@@ -218,8 +217,6 @@ impl Stream for PreBinnedValueStream {
|
||||
self.open_check_local_file = Some(Box::pin(fut));
|
||||
continue 'outer;
|
||||
};
|
||||
};
|
||||
info!("PBV EXIT WITH {:?}", u);
|
||||
u
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user