All notable changes to this project will be documented in this file.
Changed
- Fix the hierarchy of the config file #116 Kevin Bacha
- "Disable blacklist" parameter #134 Alex Tonkonozhenko
- Fixes bug in
without_sticking
#96 Brian Leonard - Always stick inside transactions #96 Brian Leonard
- Rails 5 support #122 Jonny McAllister
Changed
- Allow different strategies such as
priority
andround_robin
for pools #105 Brian Leonard
Changed
- Raise
Makara::Errors::AllConnectionsBlacklisted
on timeout. #104 Brian Leonard
Added
- Add
url
to database connections configurations. #93 Benjamin Fleischer
Changed
- Improve Postgresql compatibility and failover support, also fix #78, #79. #87 Vlad
- Update README: Specify newrelic_rpm gem versions that will have the performance issue. #95 Benjamin Fleischer
Changed
- A context is local to the curent thread of execution. This will allow you to stick to master safely in a single thread in systems such as sidekiq, for instance. Fix #83. #84 Matt Camuto
Fixed
- Fix a
ArgumentError: not delegated
error for rails 3. #82 Eric Saxby
Changed
- Switch log format from
:info
to:error
. Mike Nelson
Changed
- Globally move to multiline matchers. Mike Nelson
Changed
Changed
- Reduce logging noise by using the same rules as ActiveRecord uses. #76 Andrew Kane
Fixed
- Fix an issue for postgres that would route all queries to master. #72 Kali Donovan
- Fix an edge case which would cause SET operations to send to all connections(#70). #80 Michael Amor Righi
- Fix performance regression with certain verions of newrelic/rpm(#59). #75 Mike Nelson
Added
- Allow bypassing of stickiness
Added
- Add postgres specific tests.
Changed
- Change using methods for matchers to be able to monkey patch them.
- Follow AR naming conventions for adapter naming.
Removed
- Remove initial connection logic. If a connection can't be made on startup, an error will be thrown rather than the node getting blacklisted.
Added
- Add logging of makara operations via the Makara::Logger.
Changed
- Begin tracing the series of errors associated with blacklisting rather than just the last. This becomes apparent in error messages.
- Fix Rails.cache usage when full environment is not loaded.