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

change macro 'borrow's to 'borrow-with-timeout' in jruby service

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Done
    • None
    • SERVER 1.0.8, SERVER 2.0.0
    • None
    • None
    • 2
    • SERVER 2014-12-17, SERVER 2014/12/31

    Description

      We realized during the implementation for SERVER-150 (refreshing JRuby instances programmatically) that all of our current borrowers of JRuby pool instances were making the borrow request with no timeout - infinite. Talking through some of these scenarios, we were concerned that under some circumstances - e.g., all of the pool instances checked out for a really long time, possibly due to an error state not being handled properly or just really slow running operations - the infinite timeout could get us into a state where the master appears to be hung. This ticket would cover imposing a timeout for borrow operations.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chris Chris Price
              Erik Dasher Erik Dasher
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support