Project

General

Profile

Actions

Bug #10133

closed

Massive db deadlocks in postgres from hosts_counter updates with counter_cache_fix.rb

Added by Chuck Schweizer about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

https://gist.github.com/csschwe/4cc4d9be58e1cb96ec6c

After updating the Foreman 1.8 rc3 I am seeing a massive amount of DB Deadlocks. This issue was not present in 1.7


Related issues 5 (0 open5 closed)

Related to Foreman - Bug #5692: Puppet environment counters not updatedClosedTomer Brisker05/13/2014Actions
Related to Foreman - Bug #12241: Counter cache update didn't pick up changes from after_commit callbackClosedTomer Brisker10/21/2015Actions
Related to Foreman - Bug #7246: Remove counter workaround for #5692 on upgrade to rails 4.xRejected08/25/2014Actions
Has duplicate Chef - Bug #11232: Occassional error in tasks when importing facts from foreman-chefDuplicateTomer Brisker07/28/2015Actions
Has duplicate Foreman - Bug #5990: multiple calls to create or update domain throws deadlock errorDuplicate05/29/2014Actions
Actions

Also available in: Atom PDF