mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-20 13:30:46 +02:00
* rust worker: add install_default_crypto_provider helper lance's aws backend pulls aws-lc-rs and reqwest's rustls-tls pulls ring, so rustls 0.23 cannot auto-select a CryptoProvider and tonic's client TLS panics on first use. Add install_default_crypto_provider, pinning the default to aws-lc-rs, mirroring the Rust volume server's helper of the same name. Includes a regression test that builds a TLS channel and panics without the install in this crate, where both providers link. * rust worker: install the crypto provider at startup Call install_default_crypto_provider before any TLS use, the way the Rust volume server does in its main. Without this a worker started with --tls-ca/--tls-cert/--tls-key panics on the first admin dial (#11194).
16 lines
472 B
Rust
16 lines
472 B
Rust
//! Maintenance jobs for Lance tables.
|
|
//!
|
|
//! A Lance dataset needs three things done to it over time: its fragments
|
|
//! compacted, its indices extended to cover rows written after they were built,
|
|
//! and its old versions removed. None can run in the Go worker, because all
|
|
//! three read and rewrite Lance files. This crate is the worker that can.
|
|
|
|
pub mod catalog;
|
|
pub mod dataset;
|
|
pub mod jobs;
|
|
pub mod metrics;
|
|
pub mod preview;
|
|
pub mod tls;
|
|
|
|
pub use jobs::handlers;
|