Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-2685

ReferencePool does not respect the flush-timeout setting

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • SERVER 6.8.0
    • None
    • None
    • PUP Bug Template
    • Froyo
    • Needs Assessment
    • Not Needed
    • Needs Assessment

    Description

      The new JRuby pool model does not include a timeout on its flush operation. There is a jruby-puppet config setting that allows the user to configure the flush timeout that needs to be respected here.

      Similar code in the instance pool implementation: https://github.com/puppetlabs/jruby-utils/blob/master/src/clj/puppetlabs/services/jruby_pool_manager/impl/jruby_agents.clj#L120-L130

      We should also probably respect this timeout when locking the pool for shutdown.

      Attachments

        Activity

          People

            molly.waggett Molly Waggett
            maggie Maggie Dreyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support