This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Track ongoing event fetches correctly (again) #11376
Merged
Merged
Commits on Nov 17, 2021
-
Track ongoing event fetches correctly (again)
The previous fix for the ongoing event fetches counter (8eec25a) was both insufficient and incorrect. When the database is unreachable, `_do_fetch` never gets run and so `_event_fetch_ongoing` is never decremented. The previous fix also moved the `_event_fetch_ongoing` decrement outside of the `_event_fetch_lock` which allowed race conditions to corrupt the counter.
Sean Quah committedNov 17, 2021 Configuration menu - View commit details
-
Copy full SHA for 0244ef3 - Browse repository at this point
Copy the full SHA 0244ef3View commit details -
Attempt to fix double decrement when runWithConnection fails after _d…
…o_fetch_txn returns
Sean Quah committedNov 17, 2021 Configuration menu - View commit details
-
Copy full SHA for e88eb38 - Browse repository at this point
Copy the full SHA e88eb38View commit details -
Sean Quah committed
Nov 17, 2021 Configuration menu - View commit details
-
Copy full SHA for baf16f4 - Browse repository at this point
Copy the full SHA baf16f4View commit details
Commits on Nov 18, 2021
-
Sean Quah committed
Nov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for 218a934 - Browse repository at this point
Copy the full SHA 218a934View commit details -
Sean Quah committed
Nov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for 5cb1237 - Browse repository at this point
Copy the full SHA 5cb1237View commit details
Commits on Nov 19, 2021
-
Rename _start_fetch_thread to _maybe_start_fetch_thread
Sean Quah committedNov 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 3371c21 - Browse repository at this point
Copy the full SHA 3371c21View commit details -
Rename _do_fetch and _do_fetch
Sean Quah committedNov 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 6993247 - Browse repository at this point
Copy the full SHA 6993247View commit details -
Address PR feedback for events_worker.py
Sean Quah committedNov 19, 2021 Configuration menu - View commit details
-
Copy full SHA for efb5574 - Browse repository at this point
Copy the full SHA efb5574View commit details -
Sean Quah committed
Nov 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 5976371 - Browse repository at this point
Copy the full SHA 5976371View commit details
Commits on Nov 25, 2021
-
Update synapse/storage/databases/main/events_worker.py
Co-authored-by: Richard van der Hoff <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65fd879 - Browse repository at this point
Copy the full SHA 65fd879View commit details -
Update synapse/storage/databases/main/events_worker.py
Co-authored-by: Richard van der Hoff <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1be5ce - Browse repository at this point
Copy the full SHA d1be5ceView commit details -
Update comment about idle fetch thread
Sean Quah committedNov 25, 2021 Configuration menu - View commit details
-
Copy full SHA for 8a0b066 - Browse repository at this point
Copy the full SHA 8a0b066View commit details -
Un-inner function
_fetch_thread
Sean Quah committedNov 25, 2021 Configuration menu - View commit details
-
Copy full SHA for 9bb33eb - Browse repository at this point
Copy the full SHA 9bb33ebView commit details -
Update docstring for
_populate_events
Sean Quah committedNov 25, 2021 Configuration menu - View commit details
-
Copy full SHA for a404bfd - Browse repository at this point
Copy the full SHA a404bfdView commit details
Commits on Nov 26, 2021
-
Sean Quah committed
Nov 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 37a2e94 - Browse repository at this point
Copy the full SHA 37a2e94View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.