Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Exclude soft-failed events from fwd-extremity candidates. #5146

Merged
merged 3 commits into from May 21, 2019

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented May 6, 2019

When considering the candidates to be forward-extremities, we must exclude soft
failures.

This is currently totally untested, but hopefully fixes #5090. I'm hoping to write a sytest to reproduce the problem and prove it fixed.

When considering the candidates to be forward-extremities, we must exclude soft
failures.

Hopefully fixes #5090.
@codecov
Copy link

codecov bot commented May 6, 2019

Codecov Report

Merging #5146 into develop will decrease coverage by <.01%.
The diff coverage is 50%.

@@             Coverage Diff             @@
##           develop    #5146      +/-   ##
===========================================
- Coverage    62.48%   62.47%   -0.01%     
===========================================
  Files          338      338              
  Lines        35035    35036       +1     
  Branches      5734     5734              
===========================================
  Hits         21890    21890              
- Misses       11596    11599       +3     
+ Partials      1549     1547       -2

@turt2live
Copy link
Member

Out of interest: if one were to run this without waiting for tests, what sorts of problems could be expected? Answers such as "please oh god don't do that" and "your server may never turn on again" are acceptable.

@richvdh
Copy link
Member Author

richvdh commented May 7, 2019

Out of interest: if one were to run this without waiting for tests, what sorts of problems could be expected? Answers such as "please oh god don't do that" and "your server may never turn on again" are acceptable.

Worst case, it will spew exceptions throughout your logs and fail to respond. Nothing that couldn't be fixed with a rollback.

@richvdh
Copy link
Member Author

richvdh commented May 21, 2019

Seems to work. Test now at matrix-org/sytest#609.

@richvdh richvdh marked this pull request as ready for review May 21, 2019 14:35
@richvdh richvdh requested a review from a team May 21, 2019 14:35
@richvdh richvdh merged commit c4aef54 into develop May 21, 2019
@richvdh richvdh deleted the rav/exclude_soft_failures_from_extrems branch December 1, 2020 12:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants