dracoooooo commented on code in PR #1570:
URL: https://github.com/apache/horaedb/pull/1570#discussion_r1767981534
##########
src/analytic_engine/src/instance/wal_replayer.rs:
##########
@@ -439,13 +444,14 @@ impl RegionBasedReplay {
// Split log batch by table id, for example:
// input batch:
- // |1|1|2|2|2|3|3|3|3|
+ // |1|1|2|2|2|3|3|3|3|1|1|
//
// output batches:
- // |1|1|, |2|2|2|, |3|3|3|3|
+ // |1|1|1|1|, |2|2|2|, |3|3|3|3|
let mut start_log_idx = 0usize;
let mut curr_log_idx = 0usize;
let mut start_table_id =
log_batch.get(start_log_idx).unwrap().table_id;
+ let mut table_ranges = BTreeMap::new();
Review Comment:
Yse, fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]