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
Fix overflows in /messages backfill calculation #13936
Merged
Merged
Commits on Sep 28, 2022
-
Test with ``` SYNAPSE_TEST_LOG_LEVEL=DEBUG SYNAPSE_POSTGRES=1 SYNAPSE_POSTGRES_HOST=127.0.0.1 SYNAPSE_POSTGRES_USER=postgres SYNAPSE_POSTGRES_PASSWORD=postgres poetry run trial tests.storage.test_event_federation.EventFederationWorkerStoreTestCase.test_repeated_backfill_failures_are_retried_appropriately ``` having setup a postgres server with ``` docker run --rm -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -e POSTGRES_DB=synapse -p 5432:5432 postgres:10-alpine ```
David Robertson committedSep 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 042841e - Browse repository at this point
Copy the full SHA 042841eView commit details -
David Robertson committed
Sep 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 9412bf6 - Browse repository at this point
Copy the full SHA 9412bf6View commit details -
Substitute
least_function
with an f-stringDavid Robertson committedSep 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 83f4e52 - Browse repository at this point
Copy the full SHA 83f4e52View commit details -
David Robertson committed
Sep 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 4a0c461 - Browse repository at this point
Copy the full SHA 4a0c461View commit details -
David Robertson committed
Sep 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 2a800fc - Browse repository at this point
Copy the full SHA 2a800fcView commit details
Commits on Sep 29, 2022
-
Drive-by: prefer
assertEqual
overassertListEqual
David Robertson committedSep 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 4f6637d - Browse repository at this point
Copy the full SHA 4f6637dView commit details -
David Robertson committed
Sep 29, 2022 Configuration menu - View commit details
-
Copy full SHA for c392efc - Browse repository at this point
Copy the full SHA c392efcView commit details -
Make the constant hold milliseconds
David Robertson committedSep 29, 2022 Configuration menu - View commit details
-
Copy full SHA for c713c8e - Browse repository at this point
Copy the full SHA c713c8eView commit details -
Update explanatory comment; add assertion
David Robertson committedSep 29, 2022 Configuration menu - View commit details
-
Copy full SHA for a91d810 - Browse repository at this point
Copy the full SHA a91d810View commit details -
David Robertson committed
Sep 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 6314b16 - Browse repository at this point
Copy the full SHA 6314b16View commit details -
Test common backfill path over insertion events
David Robertson committedSep 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 34c3900 - Browse repository at this point
Copy the full SHA 34c3900View commit details -
Merge branch 'develop' into dmr/messages/fix-overflow
David Robertson committedSep 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 93f02cd - Browse repository at this point
Copy the full SHA 93f02cdView commit details -
Co-authored-by: Eric Eastwood <erice@element.io>
Configuration menu - View commit details
-
Copy full SHA for 20204e5 - Browse repository at this point
Copy the full SHA 20204e5View commit details -
David Robertson committed
Sep 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 5830290 - Browse repository at this point
Copy the full SHA 5830290View 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.