Skip to content

Commit

Permalink
[ISSUE #2396]🚀RocketMQMessageStore add get_message_with_total_size me…
Browse files Browse the repository at this point in the history
…thod🧑‍💻 (#2397)
  • Loading branch information
mxsm authored Jan 24, 2025
1 parent be59bb7 commit efa9df2
Show file tree
Hide file tree
Showing 7 changed files with 941 additions and 904 deletions.
2 changes: 1 addition & 1 deletion rocketmq-broker/src/failover/escape_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ where
queue_id,
offset,
1,
128 * 1024 * 1024,
// 128 * 1024 * 1024,
None,
)
.await;
Expand Down
4 changes: 2 additions & 2 deletions rocketmq-broker/src/processor/pop_message_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ where
offset,
request_header.max_msg_nums as i32
- get_message_result.message_mapped_list().len() as i32,
1024 * 1024,
// 1024 * 1024,
message_filter.clone(),
)
.await;
Expand Down Expand Up @@ -978,7 +978,7 @@ where
offset,
request_header.max_msg_nums as i32
- get_message_result.message_mapped_list().len() as i32,
1024 * 1024,
// 1024 * 1024,
message_filter,
)
.await;
Expand Down
Loading

0 comments on commit efa9df2

Please # to comment.