mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-09 14:52:58 +00:00
fix: use flushed_sequence as we can't set sequence in ingester
This commit is contained in:
@@ -87,7 +87,7 @@ impl InputReaderBuilder {
|
||||
self.input_store.clone(),
|
||||
&input.path,
|
||||
region_info.metadata.clone(),
|
||||
Some(region_info.flushed_sequence + 1),
|
||||
Some(region_info.flushed_sequence),
|
||||
)
|
||||
.await?;
|
||||
|
||||
@@ -112,7 +112,7 @@ impl InputReaderBuilder {
|
||||
self.table_helper.clone(),
|
||||
)
|
||||
.await?
|
||||
.with_sequence(region_info.flushed_sequence + 1);
|
||||
.with_sequence(region_info.flushed_sequence);
|
||||
|
||||
Ok(ReaderInfo {
|
||||
reader: Box::new(reader),
|
||||
|
||||
Reference in New Issue
Block a user