On Mon, 2009-03-16 at 13:00 -0400, Sam Rowe wrote:
> We also saw a ton of duped param_name.name entries and fact_name.name
> entries :( after dropping the old tables and having puppet re-create
> them.
> 

That's a concurrency issue, IMHO.
If you have several hosts checking in at the same time, they both starts
a new isolated sql transaction, they both want to write the same fact
names because the tables are empty. You end up with as many identical
fact_names as there were concurrent host checking in their config.

I thought about this issue a couple of weeks ago, but I couldn't find
any solution to this issue, except running a fix up script that merges
everything afterward (see ext/dbfix.sql in 0.24.8RC1).
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to