mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-15 04:00:38 +00:00
fix double .remove() on InMemoryLayer read error (not the bug)
This commit is contained in:
@@ -497,9 +497,6 @@ impl InMemoryLayer {
|
||||
.expect("sender must exist");
|
||||
match read.into_result().expect("we run execute() above") {
|
||||
Err(e) => {
|
||||
let sender = senders
|
||||
.remove(&(key, entry_lsn))
|
||||
.expect("sender must exist");
|
||||
let _ = sender
|
||||
.send(Err(std::io::Error::new(e.kind(), "dio vec read failed")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user