Project

General

Profile

Actions

Bug #2486

closed

Fact values importer recreating all values in the database

Added by Dominic Cleal over 11 years ago. Updated over 11 years ago.

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

Description

When uploading facts via /fact_values/create, a large number of database inserts are made as it's deleting all existing associated fact_values and inserting new ones. By design it should only be deleting changed values, then inserting the new ones.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #2301: Nodes with puppet running are not always listed in REST responsesResolvedJoseph Magen03/11/2013Actions
Actions #1

Updated by Dominic Cleal over 11 years ago

  • Status changed from Assigned to Ready For Testing

https://github.com/theforeman/foreman/pull/604

I hope this will have a nice performance boost too.

Actions #2

Updated by Dominic Cleal over 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF