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

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

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: SERVER 1.0.8, SERVER 2.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      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

              • Assignee:
                Unassigned
                Reporter:
                chris Chris Price
                QA Contact:
                Erik Dasher
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support