Project

General

Profile

User story #2604

Updated by François ARMAND almost 12 years ago

Today, each time we get an inventory through the inventory-web webapplication, an archive of the LDIF for that inventory is stored in the directory defined by the configuration property "history.inventories.rootdir" (by default, /var/rudder/inventories/historical) 

 That directory could growth a lot (a file is roughly 100k, so for 100 nodes and 3 months, that leads to 1Go of storage.  

 The main point is that not all these file are not used today in Rudder - they could be used to show previous inventory state of a node, even to diff between two inventory version, but for now, they are not.  
 Only the inventory file matching the time for the node acceptance is used to display it's inventory at that date (and we don't have a way, for now, to say "keep only the inventory file that will match the inventory for when the user is going to accept the node") 


  

 So, it could be handy to disable that historization in a property file (inventory-web.properties) and re-enable it when the logic in Rudder side is implemented.  

 Note that desactivating the histororization mean that the user will not be able to see the inventory of the acceptation time of the node.

Back