Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001057 [Resin] feature always 04-18-06 09:34 07-12-06 09:54
Reporter sam View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.19
Summary 0001057: shutdown-wait-strategy
Description <shutdown-wait-strategy>request</shutdown-wait-strategy>

  start rejecting all new conenctions with a 503, allow currently
  active connections to finish, for the maximum time specified with shutdown-wait-max.

<shutdown-wait-strategy>session</shutdown-wait-strategy>

  start rejecting all conenctions without a session with a 503, allow connections with a session,
  for the maximum time specified with shutdown-wait-max.

For the second case, mod_caucho and the LoadBalanceServlet would need a dead-time of 0 or the presence of a special signal from the backend indicating that the server is not dead for requests with a session.

Additional Information
Attached Files

- Relationships

- Notes
(0001308)
sam
06-26-06 13:48
edited on: 06-26-06 13:51

Since there is already startup-mode, and redeploy-mode, it should be named
shutdown-mode:

<shutdown-mode>session</shutdown-mode>
<shutdown-mode>request</shutdown-mode>
<shutdown-mode>immediate</shutdown-mode>

New applications could automatically roll across the cluster with the addition of a shutdown-wait-start:
(session-timeout * (cluster-index % 8))

 
(0001373)
ferg
07-06-06 16:19

Add control item to LoadBalanceServlet to only let old sessions through.

So add this logic to the front-end, not the backend.
 
(0001383)
ferg
07-12-06 09:54

implemented by enableSessionOnly() on the load balancer.
 

- Issue History
Date Modified Username Field Change
04-18-06 09:34 sam New Issue
06-26-06 13:48 sam Note Added: 0001308
06-26-06 13:51 sam Note Edited: 0001308
06-28-06 11:08 ferg Priority urgent => normal
07-06-06 16:19 ferg Note Added: 0001373
07-12-06 09:54 ferg Note Added: 0001383
07-12-06 09:54 ferg Assigned To  => ferg
07-12-06 09:54 ferg Status new => closed
07-12-06 09:54 ferg Resolution open => fixed
07-12-06 09:54 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker