This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,14 @@ Most-recent-in-time events in the DAG which are not referenced by any other even
38
38
The forward extremities of a room are used as the ` prev_events ` when the next event is sent.
39
39
40
40
41
- ## Backwards extremity
41
+ ## Backward extremity
42
42
43
43
The current marker of where we have backfilled up to and will generally be the
44
44
oldest-in-time events we know of in the DAG.
45
45
46
- This is an event where we haven't fetched all of the ` prev_events ` for.
47
-
48
- Once we have fetched all of its ` prev_events ` , it's unmarked as a backwards
49
- extremity (although we may have formed new backwards extremities from the prev
50
- events during the backfilling process).
46
+ When we persist a non-outlier event, we clear it as a backward extremity and set
47
+ all of its ` prev_events ` as the new backward extremities if they aren't already
48
+ persisted in the ` events ` table.
51
49
52
50
53
51
## Outliers
@@ -56,8 +54,7 @@ We mark an event as an `outlier` when we haven't figured out the state for the
56
54
room at that point in the DAG yet.
57
55
58
56
We won't * necessarily* have the ` prev_events ` of an ` outlier ` in the database,
59
- but it's entirely possible that we * might* . The status of whether we have all of
60
- the ` prev_events ` is marked as a [ backwards extremity] ( #backwards-extremity ) .
57
+ but it's entirely possible that we * might* .
61
58
62
59
For example, when we fetch the event auth chain or state for a given event, we
63
60
mark all of those claimed auth events as outliers because we haven't done the
You can’t perform that action at this time.
0 commit comments