Skip to main contentModule upgrade_outlier_pdu
Source use std::borrow::Borrow; ๐ use std::collections::HashMap; ๐ use std::iter::once; ๐ use std::sync::Arc; ๐ use std::time::Instant; ๐ use futures::FutureExt; ๐ use futures::StreamExt; ๐ use ruma::CanonicalJsonObject; ๐ use ruma::EventId; ๐ use ruma::OwnedEventId; ๐ use ruma::RoomId; ๐ use ruma::RoomVersionId; ๐ use ruma::ServerName; ๐ use ruma::room_version_rules::RoomVersionRules; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::debug; ๐ use tuwunel_core::debug; ๐ use tuwunel_core::debug_info; ๐ use tuwunel_core::debug_warn; ๐ use tuwunel_core::implement; ๐ use tuwunel_core::is_equal_to; ๐ use tuwunel_core::trace; ๐ use tuwunel_core::utils::BoolExt; ๐ use tuwunel_core::utils::stream::BroadbandExt; ๐ use tuwunel_core::utils::stream::ReadyExt; ๐ use tuwunel_core::warn; ๐ use tuwunel_matrix::Event; ๐ use tuwunel_matrix::PduEvent; ๐ use tuwunel_matrix::pdu::check_rules; ๐ use tuwunel_matrix::room::state::resolution::AuthCheckOutcome; ๐ use tuwunel_matrix::room::state::resolution::auth_check; ๐ use tuwunel_matrix::room_version; ๐ use super::backoff::Context; ๐ use super::backoff::Disposition; ๐ use super::backoff::UPGRADE_RETRY; ๐ use super::handle_prev_pdu::PrevUpgrade; ๐ use super::policy_server::PolicyCheck; ๐ use super::state_local_build::WalkMode; ๐ use crate::rooms::state::IdMapState; ๐ use crate::rooms::state::RoomMutexGuard; ๐ use crate::rooms::state::Trigger; ๐ use crate::rooms::state::prune_goal; ๐ use crate::rooms::state_compressor::CompressedState; ๐ use crate::rooms::state_compressor::HashSetCompressStateEvent; ๐ use crate::rooms::timeline::Incoming; ๐ use crate::rooms::timeline::RawPduId; ๐
- ResolvedVia ๐
- How the state at the incoming event was obtained, deciding the memo write
at the upgrade site.
- Standing ๐
- Outcome of re-examining an event that already carries a soft-fail marker.
- current_state_auth_outcome ๐