Skip to content
Snippets Groups Projects
  1. May 11, 2023
    • Jason Little's avatar
      Remove `worker_replication_*` settings (#15491) · e4f545c4
      Jason Little authored
      
      * Add master to the instance_map as part of Complement, have ReplicationEndpoint look at instance_map for master.
      
      * Fix typo in drive by.
      
      * Remove unnecessary worker_replication_* bits from unit tests and add master to instance_map(hopefully in the right place)
      
      * Several updates:
      
      1. Switch from master to main for naming the main process in the instance_map. Add useful constants for easier adjustment of names in the future.
      2. Add backwards compatibility for worker_replication_* to allow time to transition to new style. Make sure to prioritize declaring main directly on the instance_map.
      3. Clean up old comments/commented out code.
      4. Adjust unit tests to match with new code.
      5. Adjust Complement setup infrastructure to only add main to the instance_map if workers are used and remove now unused options from the worker.yaml template.
      
      * Initial Docs upload
      
      * Changelog
      
      * Missed some commented out code that can go now
      
      * Remove TODO comment that no longer holds true.
      
      * Fix links in docs
      
      * More docs
      
      * Remove debug logging
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarreivilibre <olivier@librepush.net>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarreivilibre <olivier@librepush.net>
      
      * Update version to latest, include completeish before/after examples in upgrade notes.
      
      * Fix up and docs too
      
      ---------
      
      Co-authored-by: default avatarreivilibre <olivier@librepush.net>
      Unverified
      e4f545c4
  2. Apr 14, 2023
  3. Mar 27, 2023
  4. Mar 17, 2023
  5. Mar 14, 2023
  6. Mar 02, 2023
  7. Feb 28, 2023
  8. Nov 28, 2022
  9. Nov 16, 2022
  10. Nov 09, 2022
  11. Nov 08, 2022
  12. Oct 18, 2022
  13. Oct 14, 2022
  14. Oct 12, 2022
  15. Jul 05, 2022
  16. Jun 30, 2022
  17. Jun 27, 2022
  18. Jun 15, 2022
  19. Jun 08, 2022
  20. May 25, 2022
  21. May 23, 2022
  22. May 06, 2022
  23. Apr 27, 2022
  24. Apr 25, 2022
  25. Apr 14, 2022
  26. Apr 13, 2022
    • Richard van der Hoff's avatar
      Dockerfile-workers: give the master its own log config (#12466) · 8af8a9bc
      Richard van der Hoff authored
      When we run a worker-mode synapse under docker, everything gets logged to stdout. Currently, output from the workers is tacked with a worker name, for example:
      
      ```
      2022-04-13 15:27:56,810 - worker:frontend_proxy1 - synapse.util.caches.lrucache - 154 - INFO - LruCache._expire_old_entries-0 - Dropped 0 items from caches
      ```
      
      - note `worker:frontend_proxy1`. No such tag is applied to log lines from the master, which makes somewhat confusing reading.
      
      To fix this, we generate a dedicated log config file for the master in the same way that we do for the workers, and use that.
      Unverified
      8af8a9bc
  27. Apr 11, 2022
  28. Apr 08, 2022
  29. Dec 14, 2021
  30. Dec 07, 2021
    • Sean Quah's avatar
      Revert accidental fast-forward merge from v1.49.0rc1 · 158d73eb
      Sean Quah authored
      Revert "Sort internal changes in changelog"
      Revert "Update CHANGES.md"
      Revert "1.49.0rc1"
      Revert "Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505) (#11527)"
      Revert "Refactors in `_generate_sync_entry_for_rooms` (#11515)"
      Revert "Correctly register shutdown handler for presence workers (#11518)"
      Revert "Fix `ModuleApi.looping_background_call` for non-async functions (#11524)"
      Revert "Fix 'delete room' admin api to work on incomplete rooms (#11523)"
      Revert "Correctly ignore invites from ignored users (#11511)"
      Revert "Fix the test breakage introduced by #11435 as a result of concurrent PRs (#11522)"
      Revert "Stabilise support for MSC2918 refresh tokens as they have now been merged into the Matrix specification. (#11435)"
      Revert "Save the OIDC session ID (sid) with the device on login (#11482)"
      Revert "Add admin API to get some information about federation status (#11407)"
      Revert "Include bundled aggregations in /sync and related fixes (#11478)"
      Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505)"
      Revert "Update backward extremity docs to make it clear that it does not indicate whether we have fetched an events' `prev_events` (#11469)"
      Revert "Support configuring the lifetime of non-refreshable access tokens separately to refreshable access tokens. (#11445)"
      Revert "Add type hints to `synapse/tests/rest/admin` (#11501)"
      Revert "Revert accidental commits to develop."
      Revert "Newsfile"
      Revert "Give `tests.server.setup_test_homeserver` (nominally!) the same behaviour"
      Revert "Move `tests.utils.setup_test_homeserver` to `tests.server`"
      Revert "Convert one of the `setup_test_homeserver`s to `make_test_homeserver_synchronous`"
      Revert "Disambiguate queries on `state_key` (#11497)"
      Revert "Comments on the /sync tentacles (#11494)"
      Revert "Clean up tests.storage.test_appservice (#11492)"
      Revert "Clean up `tests.storage.test_main` to remove use of legacy code. (#11493)"
      Revert "Clean up `tests.test_visibility` to remove legacy code. (#11495)"
      Revert "Minor cleanup on recently ported doc pages  (#11466)"
      Revert "Add most of the missing type hints to `synapse.federation`. (#11483)"
      Revert "Avoid waiting for zombie processes in `synctl stop` (#11490)"
      Revert "Fix media repository failing when media store path contains symlinks (#11446)"
      Revert "Add type annotations to `tests.storage.test_appservice`. (#11488)"
      Revert "`scripts-dev/sign_json`: support for signing events (#11486)"
      Revert "Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445)"
      Revert "Port wiki pages to documentation website (#11402)"
      Revert "Add a license header and comment. (#11479)"
      Revert "Clean-up get_version_string (#11468)"
      Revert "Link background update controller docs to summary (#11475)"
      Revert "Additional type hints for config module. (#11465)"
      Revert "Register the login redirect endpoint for v3. (#11451)"
      Revert "Update openid.md"
      Revert "Remove mention of OIDC certification from Dex (#11470)"
      Revert "Add a note about huge pages to our Postgres doc (#11467)"
      Revert "Don't start Synapse master process if `worker_app` is set (#11416)"
      Revert "Expose worker & homeserver as entrypoints in `setup.py` (#11449)"
      Revert "Bundle relations of relations into the `/relations` result. (#11284)"
      Revert "Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454)"
      Revert "Eliminate a few `Any`s in `LruCache` type hints (#11453)"
      Revert "Remove unnecessary `json.dumps` from `tests.rest.admin` (#11461)"
      Revert "Merge branch 'master' into develop"
      
      This reverts commit 26b5d232.
      This reverts commit bce4220f.
      This reverts commit 966b5d0f.
      This reverts commit 088d748f.
      This reverts commit 14d593f7.
      This reverts commit 2a3ec6fa.
      This reverts commit eccc49d7.
      This reverts commit b1ecd19c.
      This reverts commit 9c55dedc.
      This reverts commit 2d42e586.
      This reverts commit 2f053f3f.
      This reverts commit a15a893d.
      This reverts commit 8b4b153c.
      This reverts commit 494ebd73.
      This reverts commit a77c3698.
      This reverts commit 4eb77965.
      This reverts commit 637df95d.
      This reverts commit e5f426cd.
      This reverts commit 8cd68b81.
      This reverts commit 6cae125e.
      This reverts commit 7be88fbf.
      This reverts commit b3fd99b7.
      This reverts commit f7ec6e7d.
      This reverts commit 5640992d.
      This reverts commit d26808dd.
      This reverts commit f91624a5.
      This reverts commit 16d39a54.
      This reverts commit 8a4c2969.
      This reverts commit 49e1356e.
      This reverts commit d2279f47.
      This reverts commit b50e39df.
      This reverts commit 858d80bf.
      This reverts commit 435f0448.
      This reverts commit f61462e1.
      This reverts commit a6f1a3ab.
      This reverts commit 84dc50e1.
      This reverts commit ed635d32.
      This reverts commit 7b62791e.
      This reverts commit 153194c7.
      This reverts commit f44d729d.
      This reverts commit a265fbd3.
      This reverts commit b9fef1a7.
      This reverts commit b0eb64ff.
      This reverts commit f1795463.
      This reverts commit 70cbb1a5.
      This reverts commit 42bf0204.
      This reverts commit 379f2650.
      This reverts commit 7ff22d6d.
      This reverts commit 5a0b652d.
      This reverts commit 432a174b.
      This reverts commit b14f8a1b, reversing
      changes made to e713855d.
      158d73eb
  31. Nov 26, 2021
  32. Nov 17, 2021
  33. Sep 08, 2021
  34. May 24, 2021
Loading