Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge the forks #130

Merged
merged 17 commits into from
Jul 23, 2015
Merged

Merge the forks #130

merged 17 commits into from
Jul 23, 2015

Commits on Jul 22, 2015

  1. Add 'use_previous_backends' option.

    * This option defaults to true:  if there are no default servers and a watcher
      reports no backends, then use the previous backends that we already know
      about.
    * Factor out code that updates '@backends' into the watcher base class.
    jnb authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    7d51288 View commit details
    Browse the repository at this point in the history
  2. Allow registrations to be manifested on the file system

    If the configuration specifies a file_output key, synapse will manifest
    and update registrations on the filesystem in an atomic way.
    This is useful for applications that do not wish to communicate with
    service backends via haproxy
    jolynch authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    499c54d View commit details
    Browse the repository at this point in the history
  3. Explicitly deduplicate registrations

    jolynch authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    bcd8bcd View commit details
    Browse the repository at this point in the history
  4. Allow the option allredisp option to haproxy.

    Note that at this time only the Yelp fork of haproxy has support for
    redispatching on every retry.
    jolynch authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    507af82 View commit details
    Browse the repository at this point in the history
  5. Add rate limiter.

    jnb authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    915193e View commit details
    Browse the repository at this point in the history
  6. Revert "Add rate limiter."

    This reverts commit 136d1fe.
    jnb authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    14262e7 View commit details
    Browse the repository at this point in the history
  7. Increase HAProxy restart interval.

    jnb authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    6c5516e View commit details
    Browse the repository at this point in the history
  8. ZooKeeper connection pooling.

    jnb authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    8277556 View commit details
    Browse the repository at this point in the history
  9. Rate limit restarts but not stats socket updates

    We can allow socket updates to go through any time that the config was
    updated, but restarts must be rate limited for stability
    jolynch authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    73f48bf View commit details
    Browse the repository at this point in the history
  10. Add state file.

    jnb authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    4476f0e View commit details
    Browse the repository at this point in the history
  11. Fix bug in caching logic.

    jnb authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    5066638 View commit details
    Browse the repository at this point in the history
  12. Add support for the weight key added in nerve

    bobtfish authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    e059316 View commit details
    Browse the repository at this point in the history
  13. Try out :per_callback threads and get more debug information

    We are experiencing some very slow updates in production and I think it
    may be due to the connection pooling, try :per_callback threading to see
    if that helps.
    
    Also fixes default values for do_writes, do_reloads, do_socket
    jolynch authored and Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    4633f82 View commit details
    Browse the repository at this point in the history
  14. Turns out it's important to handle session disconnects correctly

    This fixes a bug where we could have a session expiry but not fail pings
    because the pooling code would not actually tear down the connection
    Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    1eac133 View commit details
    Browse the repository at this point in the history
  15. Fixups for merge to airbnb/master

    Joseph Lynch committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    b3c0fb7 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2015

  1. Address feedback from igor and schleyfox

    Adds a comment about when we write out the file output and restored
    random backend ordering.
    Joseph Lynch committed Jul 23, 2015
    Configuration menu
    Copy the full SHA
    cd2ea63 View commit details
    Browse the repository at this point in the history
  2. Fixed wording of some documentation, added missing options

    Added documentation of the state_file cache options as well as a few
    comments. Also fixed some error messages to be more clear.
    Joseph Lynch committed Jul 23, 2015
    Configuration menu
    Copy the full SHA
    6f11a82 View commit details
    Browse the repository at this point in the history