Issue #21201 has been reported by Andrew Parker. ---------------------------------------- Refactor #21201: Remove "thread safety" code from puppet https://projects.puppetlabs.com/issues/21201
* Author: Andrew Parker * Status: Unreviewed * Priority: Normal * Assignee: * Category: * Target version: 3.3.0 * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- The puppet master does not run in threaded environments. Even our use of webrick avoids threads (see <https://github.com/puppetlabs/puppet/blob/3251ebd2a08ab483d5a74f0e8950e4536f477e48/lib/puppet/network/http/webrick.rb#L31-L37>). However, there are large amounts of code and convoluted constructs dedicated to trying (and most likely failing) to make various subsystems in puppet thread-safe. This extra code has multiple down-sides: * False sense of security that you can safely use puppet in a threaded environment * Hard to understand code and high WTF/second count that slows down development * Possible locking overhead at runtime that is not needed I can't think of any upside to keeping these structures around. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
