v0.3.15-pre.009-fix.002
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/src/constants.rs
|
||||
// version: 1
|
||||
|
||||
/// Explicit tracing target owned by the RAW transaction ingest Worker crate.
|
||||
pub(crate) const TRACING_TARGET: &str = "ksp-worker-raw-transaction-ingest-lib";
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/src/lib.rs
|
||||
// version: 33
|
||||
// version: 34
|
||||
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
@@ -22,6 +22,7 @@
|
||||
//! absent only while currently active siblings preserve the configured TargetCoverage. Transport source respawn remains forbidden.
|
||||
|
||||
mod admission;
|
||||
mod constants;
|
||||
mod continuity;
|
||||
mod error;
|
||||
mod identity;
|
||||
@@ -122,6 +123,8 @@ pub use self::snapshot::RawTransactionIngestSourceState;
|
||||
pub(crate) use self::admission::RawTransactionAdmission;
|
||||
/// Crate-private source-neutral ingress sent through the bounded central admission queue.
|
||||
pub(crate) use self::admission::RawTransactionIngress;
|
||||
/// Explicit tracing target owned by this behavioral crate.
|
||||
pub(crate) use self::constants::TRACING_TARGET;
|
||||
/// Maximum number of slots admitted by one private continuity HTTP discovery window.
|
||||
pub(crate) use self::continuity::MAX_RAW_TRANSACTION_INGEST_CONTINUITY_DISCOVERY_WINDOW_SLOTS;
|
||||
/// Private source continuity-capability descriptor prepared without network or Store I/O.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/src/runtime_resources.rs
|
||||
// version: 46
|
||||
// version: 47
|
||||
|
||||
use sha2::Digest; // rust-rules: trait-import
|
||||
|
||||
@@ -465,14 +465,16 @@ impl RawTransactionIngestLiveSource {
|
||||
return std::result::Result::Err(error);
|
||||
}
|
||||
if let std::result::Result::Err(error) = &result {
|
||||
let condition = source_error_context_value(error, "condition").unwrap_or("none");
|
||||
let transport_domain = source_error_context_value(error, "transport_domain").unwrap_or("none");
|
||||
let transport_code = source_error_context_value(error, "transport_code").unwrap_or("none");
|
||||
ksp_logging_lib::warn!(
|
||||
target: "ksp-worker-raw-transaction-ingest-lib",
|
||||
target: crate::TRACING_TARGET,
|
||||
domain = "raw_transaction_ingest.source",
|
||||
source_kind = source_kind,
|
||||
error_domain = error.code().domain(),
|
||||
error_code = error.code().code(),
|
||||
condition = condition,
|
||||
transport_domain = transport_domain,
|
||||
transport_code = transport_code,
|
||||
"RAW transaction ingest live source reached terminal failure"
|
||||
|
||||
Reference in New Issue
Block a user