Skip to content
Snippets Groups Projects
  1. Nov 05, 2024
  2. Sep 23, 2024
  3. Jul 11, 2024
  4. Jul 09, 2024
  5. Jul 02, 2024
  6. Jun 19, 2024
  7. Jun 13, 2024
  8. May 16, 2024
  9. May 02, 2024
  10. May 01, 2024
  11. Apr 29, 2024
  12. Apr 15, 2024
  13. Mar 28, 2024
  14. Mar 21, 2024
  15. Mar 13, 2024
    • Richard van der Hoff's avatar
      Multi-worker-docker-container: disable log buffering (#16919) · 92f20696
      Richard van der Hoff authored
      Background: we have a `matrixdotorg/synapse-workers` docker image, which
      is intended for running multiple workers within the same container. That
      image includes a `prefix-log` script which, for each line printed to
      stdout or stderr by one of the processes, prepends the name of the
      process.
      
      This commit disables buffering in that script, so that lines are logged
      quickly after they are printed. This makes it much easier to understand
      the output, since they then come out in a natural order.
      Unverified
      92f20696
  16. Feb 20, 2024
  17. Jan 23, 2024
  18. Jan 22, 2024
    • reivilibre's avatar
      Add a `--generate-only` option to the Complement launcher. (#16828) · fa2700f0
      reivilibre authored
      
      Pulled out of #16803 since the drive-by cleanup was maybe not as
      drive-by as I had hoped.
      
      <!--
      Fixes: # <!-- -->
      <!--
      Supersedes: # <!-- -->
      <!--
      Follows: # <!-- -->
      <!--
      Part of: # <!-- -->
      Base: `develop` <!-- git-stack-base-branch:develop -->
      
      <!--
      This pull request is commit-by-commit review friendly. <!-- -->
      <!--
      This pull request is intended for commit-by-commit review. <!-- -->
      
      Original commit schedule, with full messages:
      
      <ol>
      <li>
      
      Add a --generate-only option 
      
      </li>
      </ol>
      
      ---------
      
      Signed-off-by: default avatarOlivier Wilkinson (reivilibre) <oliverw@matrix.org>
      Unverified
      fa2700f0
  19. Dec 13, 2023
  20. Nov 21, 2023
  21. Oct 27, 2023
    • kegsay's avatar
      complement: enable dirty runs (#16520) · 11a8ae06
      kegsay authored
      * complement: enable dirty runs
      
      * Add changelog
      
      * Set a low connpool limit when running in Complement
      
      Dirty runs can cause many containers to be running concurrently,
      which seems to easily exhaust resources on the host. The increased
      speedup from dirty runs also seems to use more db connections on
      workers, which are misconfigured currently to have
      `SUM(workers * cp_max) > max_connections`, causing
      ```
      FATAL:  sorry, too many clients already
      ```
      which results in tests failing.
      
      * Try p=2 concurrency to restrict slowness of servers which causes partial state join tests to flake
      
      * Debug logging
      
      * Only run flakey tests
      
      * Only adjust connection pool limits in worker mode
      
      * Move cp vars to somewhere where they get executed in CI
      
      * Move cp values back to where they actually work
      
      * Debug logging
      
      * Try p=1 to see if this makes worker mode happier
      
      * Remove debug logging
      Unverified
      11a8ae06
  22. Sep 15, 2023
  23. Sep 08, 2023
  24. Sep 07, 2023
  25. Aug 15, 2023
  26. Jul 11, 2023
  27. Jul 05, 2023
  28. Jun 16, 2023
  29. Jun 05, 2023
  30. Jun 02, 2023
  31. May 31, 2023
    • Jason Little's avatar
      Docker fully qualified image names (#15689) · 874378c0
      Jason Little authored
      
      * Fully qualified docker image names for the main Dockerfile and Complement related.
      
      * Fully qualified docker image names for Dockerfiles associated with building Debian release artifacts.
      
      This one is harder and is separate from the other commit in case it wasn't correct or was unwanted. I decided to
      do the expansion on the docker images in the Dockerfile itself, instead of the various source places that build
      which distribution that is selected, as it would have been more invasive with the scripts breaking up the string
      for tagging and such. This one is untested.
      
      * Changelog
      
      * Update docker/Dockerfile-workers
      
      * Update docker/complement/Dockerfile
      
      ---------
      
      Co-authored-by: default avatarreivilibre <olivier@librepush.net>
      Unverified
      874378c0
  32. May 12, 2023
  33. 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
  34. Apr 14, 2023
Loading