Skip to content

Commit a5b9ade

Browse files
committed
Upgrade some dependencies
1 parent dc72e2f commit a5b9ade

File tree

17 files changed

+409
-575
lines changed

17 files changed

+409
-575
lines changed

LICENSE-3rdparty.csv

Lines changed: 7 additions & 235 deletions
Large diffs are not rendered by default.

quickwit/Cargo.lock

Lines changed: 353 additions & 312 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quickwit/Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ license = "Apache-2.0"
8787
[workspace.dependencies]
8888
anyhow = "1"
8989
arc-swap = "1.8"
90-
arrow = { version = "57", default-features = false, features = ["ipc"] }
90+
arrow = { version = "58", default-features = false, features = ["ipc"] }
9191
assert-json-diff = "2"
9292
async-compression = { version = "0.4", features = ["tokio", "gzip"] }
9393
async-speed-limit = "0.4"
@@ -109,7 +109,7 @@ coarsetime = "0.1"
109109
colored = "3.0"
110110
console-subscriber = "0.5"
111111
criterion = { version = "0.8", features = ["async_tokio"] }
112-
cron = "0.15"
112+
cron = "0.16"
113113
dialoguer = { version = "0.12", default-features = false }
114114
dotenvy = "0.15"
115115
dyn-clone = "1.0"
@@ -165,15 +165,15 @@ mrecordlog = { git = "https://github.com/quickwit-oss/mrecordlog", rev = "306c0a
165165
new_string_template = "1.5"
166166
nom = "8.0"
167167
numfmt = "1.2"
168-
oneshot = "0.1"
168+
oneshot = { version = "0.2", features = ["async", "std"] }
169169
openssl = { version = "0.10", default-features = false }
170170
openssl-probe = "0.1"
171171
opentelemetry = "0.31"
172172
opentelemetry-appender-tracing = "0.31"
173173
opentelemetry_sdk = { version = "0.31", features = ["rt-tokio"] }
174174
opentelemetry-otlp = { version = "0.31", features = ["grpc-tonic", "http-json"] }
175175
ouroboros = "0.18"
176-
parquet = { version = "57", default-features = false, features = ["arrow", "zstd", "snap", "variant_experimental"] }
176+
parquet = { version = "58", default-features = false, features = ["arrow", "snap", "variant_experimental", "zstd"] }
177177
percent-encoding = "2.3"
178178
pin-project = "1.1"
179179
pnet = { version = "0.35", features = ["std"] }
@@ -198,10 +198,10 @@ pulsar = { version = "6.6", default-features = false, features = [
198198
] }
199199
quick_cache = "0.6.18"
200200
quote = "1.0"
201-
rand = "0.9"
202-
rand_distr = "0.5"
201+
rand = "0.10"
202+
rand_distr = "0.6"
203203
rayon = "1.11"
204-
rdkafka = { version = "0.38", default-features = false, features = [
204+
rdkafka = { version = "0.39", default-features = false, features = [
205205
"cmake-build",
206206
"libz",
207207
"ssl",
@@ -233,9 +233,9 @@ serde_qs = { version = "0.15" }
233233
serde_with = "3.16"
234234
serde_yaml = "0.9"
235235
serial_test = { version = "3.2", features = ["file_locks"] }
236-
sha2 = "0.10"
236+
sha2 = "0.11"
237237
siphasher = "1.0"
238-
stateright = "0.30"
238+
stateright = "0.31"
239239
smallvec = "1"
240240
sqlx = { version = "0.8", features = [
241241
"migrate",
@@ -245,7 +245,7 @@ sqlx = { version = "0.8", features = [
245245
] }
246246
syn = { version = "2.0", features = ["extra-traits", "full", "parsing"] }
247247
sync_wrapper = "1"
248-
sysinfo = { version = "0.37", default-features = false, features = ["disk"] }
248+
sysinfo = { version = "0.38", default-features = false, features = ["disk"] }
249249
tabled = { version = "0.20", features = ["ansi"] }
250250
tempfile = "3"
251251
thiserror = "2"
@@ -304,7 +304,7 @@ username = "0.2"
304304
# in `quickwit-serve`. This code is fundamentally incompatible with version 5.x.
305305
utoipa = { version = "4.2", features = ["time", "ulid"] }
306306
uuid = { version = "1.19", features = ["v4", "serde"] }
307-
vrl = { version = "0.29", default-features = false, features = [
307+
vrl = { version = "0.31", default-features = false, features = [
308308
"compiler",
309309
"diagnostic",
310310
"stdlib",
@@ -318,7 +318,7 @@ aws-config = "1.8"
318318
aws-credential-types = { version = "1.2", features = ["hardcoded-credentials"] }
319319
aws-runtime = "1.5"
320320
aws-sdk-kinesis = "1.97"
321-
aws-sdk-s3 = "=1.62"
321+
aws-sdk-s3 = "1.129"
322322
aws-sdk-lambda = "1"
323323
aws-sdk-sqs = "1.91"
324324
aws-smithy-async = "1.2"

quickwit/quickwit-cluster/src/cluster.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ mod tests {
782782
use quickwit_config::service::QuickwitService;
783783
use quickwit_proto::indexing::IndexingTask;
784784
use quickwit_proto::types::IndexUid;
785-
use rand::Rng;
785+
use rand::RngExt;
786786

787787
use super::*;
788788

quickwit/quickwit-cluster/src/grpc_gossip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ fn select_gossip_candidates(
193193
find_gossip_candidate_grpc_addr(self_chitchat_id, node_state)
194194
.map(|grpc_addr| (&node_state.chitchat_id().node_id, grpc_addr))
195195
})
196-
.choose_multiple(&mut rand::rng(), MAX_GOSSIP_PEERS)
196+
.sample(&mut rand::rng(), MAX_GOSSIP_PEERS)
197197
.into_iter()
198198
.map(|(node_id, grpc_addr)| (node_id.clone(), grpc_addr))
199199
.unzip()

quickwit/quickwit-common/src/rand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
use rand::Rng;
15+
use rand::RngExt;
1616
use rand::distr::Alphanumeric;
1717

1818
/// Appends a random suffix composed of a hyphen and five random alphanumeric characters.

quickwit/quickwit-common/src/retry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use std::time::Duration;
1717

1818
use async_trait::async_trait;
1919
use futures::Future;
20-
use rand::Rng;
20+
use rand::RngExt;
2121
use tracing::{debug, warn};
2222

2323
pub trait Retryable {

quickwit/quickwit-common/src/temp_dir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl<'a> Builder<'a> {
216216
mod tests {
217217
use std::cmp;
218218

219-
use rand::Rng;
219+
use rand::RngExt;
220220

221221
use super::*;
222222

quickwit/quickwit-config/src/storage_config.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ pub struct S3StorageConfig {
329329
pub disable_multi_object_delete: bool,
330330
#[serde(default)]
331331
pub disable_multipart_upload: bool,
332+
#[serde(default)]
333+
pub disable_checksums: bool,
332334
}
333335

334336
impl S3StorageConfig {
@@ -337,18 +339,22 @@ impl S3StorageConfig {
337339
Some(StorageBackendFlavor::DigitalOcean) => {
338340
self.force_path_style_access = true;
339341
self.disable_multi_object_delete = true;
342+
self.disable_checksums = true;
340343
}
341344
Some(StorageBackendFlavor::Garage) => {
342345
self.region = Some("garage".to_string());
343346
self.force_path_style_access = true;
347+
self.disable_checksums = true;
344348
}
345349
Some(StorageBackendFlavor::Gcs) => {
346350
self.disable_multi_object_delete = true;
347351
self.disable_multipart_upload = true;
352+
self.disable_checksums = true;
348353
}
349354
Some(StorageBackendFlavor::MinIO) => {
350355
self.region = Some("minio".to_string());
351356
self.force_path_style_access = true;
357+
self.disable_checksums = true;
352358
}
353359
_ => {}
354360
}
@@ -627,6 +633,7 @@ mod tests {
627633
force_path_style_access: true
628634
disable_multi_object_delete_requests: true
629635
disable_multipart_upload: true
636+
disable_checksums: true
630637
"#;
631638
let s3_storage_config: S3StorageConfig =
632639
serde_yaml::from_str(s3_storage_config_yaml).unwrap();
@@ -637,6 +644,7 @@ mod tests {
637644
force_path_style_access: true,
638645
disable_multi_object_delete: true,
639646
disable_multipart_upload: true,
647+
disable_checksums: true,
640648
..Default::default()
641649
};
642650
assert_eq!(s3_storage_config, expected_s3_config);

quickwit/quickwit-control-plane/src/ingest/ingest_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ use quickwit_proto::types::{IndexUid, NodeId, NodeIdRef, Position, ShardId, Sour
4949
use rand::prelude::IndexedRandom;
5050
use rand::rngs::ThreadRng;
5151
use rand::seq::SliceRandom;
52-
use rand::{Rng, RngCore, rng};
52+
use rand::{Rng, RngExt, rng};
5353
use serde::{Deserialize, Serialize};
5454
use tokio::sync::{Mutex, OwnedMutexGuard};
5555
use tracing::{Level, debug, enabled, error, info, instrument, warn};

0 commit comments

Comments
 (0)