Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
  • Loading branch information
zhongzc committed Nov 30, 2023
1 parent 3bf69bb commit 8fdd24f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ mod tests {
Predicate::Range(RangePredicate {
range: Range {
lower: Some(Bound {
value: b("ba"),
value: b("bar"),
inclusive: true,
}),
upper: None,
Expand Down
2 changes: 1 addition & 1 deletion src/mito2/src/engine/truncate_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ async fn test_engine_truncate_during_flush() {
let entry_id = version_data.last_entry_id;
let sequence = version_data.committed_sequence;

// Flush reigon.
// Flush region.
let engine_cloned = engine.clone();
let flush_task = tokio::spawn(async move {
info!("do flush task!!!!");
Expand Down
2 changes: 1 addition & 1 deletion src/mito2/src/read/compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ fn may_compat_primary_key(
CompatReaderSnafu {
region_id: expect.region_id,
reason: format!(
"primary key has more columns {} than exepct {}",
"primary key has more columns {} than expect {}",
actual.primary_key.len(),
expect.primary_key.len()
),
Expand Down
2 changes: 1 addition & 1 deletion src/object-store/src/layers/lru_cache/read_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl<C: Accessor + Clone> ReadCache<C> {
(self.mem_cache.entry_count(), self.mem_cache.weighted_size())
}

/// Invalidte all cache items which key starts with `prefix`.
/// Invalidate all cache items which key starts with `prefix`.
pub(crate) async fn invalidate_entries_with_prefix(&self, prefix: String) {
// Safety: always ok when building cache with `support_invalidation_closures`.
self.mem_cache
Expand Down
4 changes: 2 additions & 2 deletions src/promql/src/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2228,7 +2228,7 @@ mod test {
"some_metric.timestamp",
],
),
// single not_eq mathcer
// single not_eq matcher
(
r#"some_metric{__field__!="field_1"}"#,
vec![
Expand All @@ -2240,7 +2240,7 @@ mod test {
"some_metric.timestamp",
],
),
// two not_eq mathcers
// two not_eq matchers
(
r#"some_metric{__field__!="field_1", __field__!="field_2"}"#,
vec![
Expand Down
4 changes: 2 additions & 2 deletions src/servers/src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ mod tests {
}

#[test]
fn test_tls_option_verifiy_ca() {
fn test_tls_option_verify_ca() {
let s = r#"
{
"mode": "verify_ca",
Expand All @@ -219,7 +219,7 @@ mod tests {
}

#[test]
fn test_tls_option_verifiy_full() {
fn test_tls_option_verify_full() {
let s = r#"
{
"mode": "verify_full",
Expand Down

0 comments on commit 8fdd24f

Please sign in to comment.