mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-25 13:13:08 +00:00
put in a note on blob_io writer not needed to do owned buffers io anymore
This commit is contained in:
@@ -205,6 +205,8 @@ impl BlobWriter {
|
||||
) -> (FullSlice<Buf>, Result<(), Error>) {
|
||||
let res = self
|
||||
.writer
|
||||
// TODO: why are we taking a FullSlice if we're going to pass a borrow downstack?
|
||||
// Can remove all the complexity around owned buffers upstack
|
||||
.write_buffered_borrowed(&src_buf, ctx)
|
||||
.await
|
||||
.map(|len| {
|
||||
|
||||
Reference in New Issue
Block a user