Merge branch 'main' into crepererum/database_creation_code_move
commit
c46c2a35fa
|
@ -3874,7 +3874,6 @@ dependencies = [
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"snafu",
|
"snafu",
|
||||||
"snap",
|
"snap",
|
||||||
"tempfile",
|
|
||||||
"test_helpers",
|
"test_helpers",
|
||||||
"tikv-jemalloc-ctl",
|
"tikv-jemalloc-ctl",
|
||||||
"tokio",
|
"tokio",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![allow(clippy::clone_on_ref_ptr)]
|
#![allow(clippy::clone_on_ref_ptr)]
|
||||||
|
|
||||||
pub mod bitset;
|
pub mod bitset;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//! servers including replicated data, rules for how data is split up and
|
//! servers including replicated data, rules for how data is split up and
|
||||||
//! queried, and what gets stored in the write buffer database.
|
//! queried, and what gets stored in the write buffer database.
|
||||||
|
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
clippy::explicit_iter_loop,
|
clippy::explicit_iter_loop,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![allow(clippy::clone_on_ref_ptr)]
|
#![allow(clippy::clone_on_ref_ptr)]
|
||||||
|
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// This crate deliberately does not use the same linting rules as the other
|
// This crate deliberately does not use the same linting rules as the other
|
||||||
// crates because of all the generated code it contains that we don't have much
|
// crates because of all the generated code it contains that we don't have much
|
||||||
// control over.
|
// control over.
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls)]
|
||||||
|
|
||||||
/// This module imports the generated protobuf code into a Rust module
|
/// This module imports the generated protobuf code into a Rust module
|
||||||
/// hierarchy that matches the namespace hierarchy of the protobuf
|
/// hierarchy that matches the namespace hierarchy of the protobuf
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// This crate deliberately does not use the same linting rules as the other
|
// This crate deliberately does not use the same linting rules as the other
|
||||||
// crates because of all the generated code it contains that we don't have much
|
// crates because of all the generated code it contains that we don't have much
|
||||||
// control over.
|
// control over.
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![allow(
|
#![allow(
|
||||||
unused_imports,
|
unused_imports,
|
||||||
clippy::redundant_static_lifetimes,
|
clippy::redundant_static_lifetimes,
|
||||||
|
|
|
@ -166,7 +166,7 @@
|
||||||
//! # }
|
//! # }
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
//! An InfluxDB IOx API client.
|
//! An InfluxDB IOx API client.
|
||||||
#![deny(
|
#![deny(
|
||||||
broken_intra_doc_links,
|
rustdoc::broken_intra_doc_links,
|
||||||
rustdoc::bare_urls,
|
rustdoc::bare_urls,
|
||||||
rust_2018_idioms,
|
rust_2018_idioms,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
//! However, this implementation uses a nom combinator based parser
|
//! However, this implementation uses a nom combinator based parser
|
||||||
//! rather than attempting to port the imperative Go logic.
|
//! rather than attempting to port the imperative Go logic.
|
||||||
|
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
clippy::explicit_iter_loop,
|
clippy::explicit_iter_loop,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
|
|
||||||
use observability_deps::{
|
use observability_deps::{
|
||||||
tracing::{
|
tracing::{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![allow(clippy::type_complexity)]
|
#![allow(clippy::type_complexity)]
|
||||||
pub mod adapter;
|
pub mod adapter;
|
||||||
pub mod column;
|
pub mod column;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
clippy::explicit_iter_loop,
|
clippy::explicit_iter_loop,
|
||||||
|
|
|
@ -142,10 +142,7 @@ impl MBChunk {
|
||||||
/// Returns a queryable snapshot of this chunk
|
/// Returns a queryable snapshot of this chunk
|
||||||
#[cfg(feature = "nocache")]
|
#[cfg(feature = "nocache")]
|
||||||
pub fn snapshot(&self) -> Arc<ChunkSnapshot> {
|
pub fn snapshot(&self) -> Arc<ChunkSnapshot> {
|
||||||
Arc::new(ChunkSnapshot::new(
|
Arc::new(ChunkSnapshot::new(self))
|
||||||
self,
|
|
||||||
self.metrics.memory_bytes.clone_empty(),
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return the name of the table in this chunk
|
/// Return the name of the table in this chunk
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
//! is done on a per-Chunk basis, so that as soon as the chunk is
|
//! is done on a per-Chunk basis, so that as soon as the chunk is
|
||||||
//! closed the corresponding dictionary also becomes immutable
|
//! closed the corresponding dictionary also becomes immutable
|
||||||
|
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//! Custom panic hook that sends the panic information to a tracing
|
//! Custom panic hook that sends the panic information to a tracing
|
||||||
//! span
|
//! span
|
||||||
|
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
clippy::explicit_iter_loop,
|
clippy::explicit_iter_loop,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//! Contains the IOx query engine
|
//! Contains the IOx query engine
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
clippy::explicit_iter_loop,
|
clippy::explicit_iter_loop,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(clippy::clone_on_ref_ptr, clippy::use_self)]
|
#![warn(clippy::clone_on_ref_ptr, clippy::use_self)]
|
||||||
#![allow(dead_code, clippy::too_many_arguments)]
|
#![allow(dead_code, clippy::too_many_arguments)]
|
||||||
mod chunk;
|
mod chunk;
|
||||||
|
|
|
@ -45,7 +45,6 @@ serde = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
snafu = "0.6"
|
snafu = "0.6"
|
||||||
snap = "1.0.0"
|
snap = "1.0.0"
|
||||||
tempfile = "3.1.0"
|
|
||||||
tikv-jemalloc-ctl = "0.4.0"
|
tikv-jemalloc-ctl = "0.4.0"
|
||||||
tokio = { version = "1.0", features = ["macros", "time"] }
|
tokio = { version = "1.0", features = ["macros", "time"] }
|
||||||
tokio-util = { version = "0.6.3" }
|
tokio-util = { version = "0.6.3" }
|
||||||
|
|
|
@ -153,7 +153,7 @@ pub async fn create_preserved_catalog(
|
||||||
|
|
||||||
/// All input required to create an empty [`Loader`]
|
/// All input required to create an empty [`Loader`]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct LoaderEmptyInput {
|
struct LoaderEmptyInput {
|
||||||
domain: ::metrics::Domain,
|
domain: ::metrics::Domain,
|
||||||
metrics_registry: Arc<::metrics::MetricRegistry>,
|
metrics_registry: Arc<::metrics::MetricRegistry>,
|
||||||
metric_labels: Vec<KeyValue>,
|
metric_labels: Vec<KeyValue>,
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
//! └────────────┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
|
//! └────────────┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
clippy::explicit_iter_loop,
|
clippy::explicit_iter_loop,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//! Entrypoint of InfluxDB IOx binary
|
//! Entrypoint of InfluxDB IOx binary
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
clippy::explicit_iter_loop,
|
clippy::explicit_iter_loop,
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
#![recursion_limit = "512"]
|
#![recursion_limit = "512"]
|
||||||
/// Prints what CPU features are used by the compiler by default
|
/// Prints what CPU features are used by the compiler by default.
|
||||||
/// Script from
|
///
|
||||||
/// https://stackoverflow.com/questions/65156743/what-target-features-uses-rustc-by-default
|
/// Script from:
|
||||||
/// https://gist.github.com/AngelicosPhosphoros/4f8c9f08656e0812f4ed3560e53bd600
|
/// - <https://stackoverflow.com/questions/65156743/what-target-features-uses-rustc-by-default>
|
||||||
|
/// - <https://gist.github.com/AngelicosPhosphoros/4f8c9f08656e0812f4ed3560e53bd600>
|
||||||
|
|
||||||
// This script prints all cpu features which active in this build.
|
// This script prints all cpu features which active in this build.
|
||||||
// There are 3 steps in usage of script:
|
// There are 3 steps in usage of script:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
clippy::explicit_iter_loop,
|
clippy::explicit_iter_loop,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
//! Log and trace initialization and setup
|
//! Log and trace initialization and setup
|
||||||
|
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![deny(broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_copy_implementations,
|
missing_copy_implementations,
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|
Loading…
Reference in New Issue