Ask remote servers for individual unknown events, take 2 #976
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/MSC
Matrix/Media
Meta
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: continuwuation/continuwuity#976
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ginger/continuwuity:single-event-backfill"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From #899:
dist/
and consolidate the service filesdist/
topkg/
handle_incoming_pdu
directly to keep remote PDUs as outliers39f92f1070
to07d0e672af
07d0e672af
to21dd09a6b6
!admin query room-timeline pdus
in a codeblock 4f7936cd48@ -21,2 +3,2 @@
}
}
/// Parse a pagination token
pub(crate) fn pagination_token_to_count(token: &str) -> Result<PduCount> { token.parse() }
these are just wrappers around the functions on the
PduCount
struct. why even keep this file if these are the only functions in it?@ -135,0 +140,4 @@
if local.is_ok() {
// We already have this PDU, no need to backfill
debug!("We already have {event_id} in {room_id}, no need to backfill.");
return local;
strange that a function with
remote
in the name can return local PDUs sometimesalso, this function is similar in implementation and purpose to
fetch_and_handle_outliers
This entire system needs to be revisited once continuwuity has better support for holes in the local event timeline. Outlier events work here but they're kind of a hack, and the context route is pretty much impossible to implement.
WIP: Ask remote servers for individual unknown events, take 2to Ask remote servers for individual unknown events, take 2View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.