review: remove outdated todo

Signed-off-by: Yuchen Liang <yuchen@neon.tech>
This commit is contained in:
Yuchen Liang
2024-10-18 17:54:59 +00:00
parent 3b88998f8e
commit d99a61bd75

View File

@@ -809,7 +809,6 @@ impl InMemoryLayer {
match l0_flush_global_state {
l0_flush::Inner::Direct { .. } => {
let file_contents = inner.file.load_to_io_buf(ctx).await?;
// TODO(yuchen): see ways to avoid this copy.
let file_contents = file_contents.freeze();
for (key, vec_map) in inner.index.iter() {