Anonymous | Login | Signup for a new account | 12-17-2024 08:41 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003460 | [Resin] | minor | always | 04-27-09 14:17 | 08-06-09 09:27 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.9 | ||||||
Summary | 0003460: cluster session inconsistency | ||||||||
Description |
(rep by Takahiro Fukuda) Two Resin starts.(named "App-A" and "App-B") The following are set to both. -------------------------------- <server id="App-A" host="192.168.0.1" port="6802"/> <server id="App-B" host="192.168.0.2" port="6802"/> <persistent-store type="cluster"> <init path="cluster"/> </persistent-store> . . . <web-app xmlns="http://caucho.com/ns/resin"> [^] <session-config> <use-persistent-store="true"/> </session-config> </web-app> -------------------------------- The following processing sequences are executed. -------------------------------- 1: Request1 is transmitted from BrowserX. 1-1: It is processed with App-A. 1-2: Execute Session#setAttribute("key", "value_1-2"). 2: App-A is stopped. 3: Request2 is transmitted from BrowserX. 3-1: It is processed with App-B (Because App-A has been downed). <== OK: It's expected 3-2: Session#getAttribute("key") returns "Value_1-2". <== OK: It's expected 3-3: Execute Session#setAttribute("key", "value_3-3"). 4. Start beginning of App-A 5: Request3 is transmitted from BrowserX. 5-1: It is processed with App-B (Because App-A is starting). <== OK: It's expected 5-2: Session#getAttribute("key") returns "Value_3-3". <== OK: It's expected 5-3: Execute Session#setAttribute("key", "value_5-3"). 6. The start of App-A is completed. 7: Request3 is transmitted from BrowserX. 7-1: It is processed with App-A (Because the start of App-A was completed). <== OK: It's expected 7-2: Session#getAttribute("key") returns "Value_3-3". <== ****** NG ****** -------------------------------- In 7-2, "Value_3-3" is returned though it is necessary to return "Value_5-3". Is this correct operation? It was confirmed on Resin3.1.6, 3.1.8 and 3.1.9. (It is unconfirmed whether a similar problem occurs by Resin3.0.x) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |