Skip to content

Commit 9f3390a

Browse files
committed
chore: upgrade greptime-proto
1 parent aae55bf commit 9f3390a

12 files changed

Lines changed: 26 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ etcd-client = "0.13"
124124
fst = "0.4.7"
125125
futures = "0.3"
126126
futures-util = "0.3"
127-
greptime-proto = { git = "https://github.com/GreptimeTeam/greptime-proto.git", rev = "43ddd8dea69f4df0fe2e8b5cdc0044d2cfa35908" }
127+
greptime-proto = { git = "https://github.com/GreptimeTeam/greptime-proto.git", rev = "34766c95b16469ee5f8df3cefdd69b5daa2e6006" }
128128
hex = "0.4"
129129
http = "0.2"
130130
humantime = "2.1"

src/mito2/benches/memtable_bench.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ impl CpuDataGenerator {
275275
schema: self.column_schemas.clone(),
276276
rows,
277277
}),
278+
write_hint: 0,
278279
};
279280

280281
KeyValues::new(&self.metadata, mutation).unwrap()

src/mito2/src/memtable/key_values.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ mod tests {
323323
op_type: OpType::Put as i32,
324324
sequence: START_SEQ,
325325
rows: Some(rows),
326+
write_hint: 0,
326327
}
327328
}
328329

@@ -360,6 +361,7 @@ mod tests {
360361
op_type: OpType::Put as i32,
361362
sequence: 100,
362363
rows: None,
364+
write_hint: 0,
363365
};
364366
let kvs = KeyValues::new(&meta, mutation);
365367
assert!(kvs.is_none());

src/mito2/src/memtable/partition_tree.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ mod tests {
741741
schema: column_schema,
742742
rows,
743743
}),
744+
write_hint: 0,
744745
};
745746
KeyValues::new(metadata.as_ref(), mutation).unwrap()
746747
}

src/mito2/src/memtable/time_series.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,7 @@ mod tests {
11651165
schema: column_schema,
11661166
rows,
11671167
}),
1168+
write_hint: 0,
11681169
};
11691170
KeyValues::new(schema.as_ref(), mutation).unwrap()
11701171
}

src/mito2/src/region_write_ctx.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ impl RegionWriteCtx {
137137
op_type,
138138
sequence: self.next_sequence,
139139
rows,
140+
write_hint: 0,
140141
});
141142

142143
let notify = WriteNotify::new(tx, num_rows);

src/mito2/src/test_util/memtable_util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ pub(crate) fn build_key_values_with_ts_seq_values(
289289
schema: column_schema,
290290
rows,
291291
}),
292+
write_hint: 0,
292293
};
293294
KeyValues::new(metadata.as_ref(), mutation).unwrap()
294295
}

src/mito2/src/test_util/version_util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ pub(crate) fn write_rows_to_version(
165165
op_type: OpType::Put as i32,
166166
sequence: start_ts as u64, // The sequence may be incorrect, but it's fine in test.
167167
rows: Some(rows),
168+
write_hint: 0,
168169
};
169170
let key_values = KeyValues::new(&version.metadata, mutation).unwrap();
170171
version.memtables.mutable.write(&key_values).unwrap();

src/mito2/src/wal.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ mod tests {
287287
op_type: op_type as i32,
288288
sequence,
289289
rows: Some(Rows { schema, rows }),
290+
write_hint: 0,
290291
}
291292
}
292293

0 commit comments

Comments
 (0)