Skip to content

Commit 088a91a

Browse files
committed
doc
1 parent 8827b71 commit 088a91a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/query/service/src/servers/http/v1/query/sized_spsc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ struct SizedChannelBuffer {
5757
max_rows: usize,
5858
page_rows: usize,
5959
pages: VecDeque<Page>,
60+
61+
/// The current_page gets moved outside the lock to spilling and then moved back in, or cleared on close.
62+
/// There's a lot of unwrap here to make sure there's no unintended behavior that's not by design.
6063
current_page: Option<PageBuilder>,
6164
is_recv_stopped: bool,
6265
is_send_stopped: bool,

0 commit comments

Comments
 (0)