Bug #12241
closed
Counter cache update didn't pick up changes from after_commit callback
Added by Tomer Brisker over 9 years ago.
Updated over 6 years ago.
Description
`after_commit` callback doesn't have a `changes` hash, instead need to use `previous_changes` hash.
- Related to Bug #10133: Massive db deadlocks in postgres from hosts_counter updates with counter_cache_fix.rb added
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2839 added
- Pull request deleted (
)
- Translation missing: en.field_release set to 104
- Subject changed from fix for #10133 was incorrect to Counter cache update didn't pick up changes from after_commit callback
- Category changed from Dashboard to Rails
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF