Task #12392 (closed)
Opened 5 years ago
Closed 4 years ago
BUG: sessions list cleans sessions
| Reported by: | pwalczysko | Owned by: | sbesson |
|---|---|---|---|
| Priority: | minor | Milestone: | 5.1.1 |
| Component: | Services | Version: | 5.0.2 |
| Keywords: | n.a. | Cc: | ux@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
Found out during testing of https://github.com/openmicroscopy/openmicroscopy/pull/2644#issuecomment-46444072.
Run lots of sessions (e.g. login 300 times as root).
Stop the server, then run 3 times in a row.
bin/omero sessions list
The output is with different length each time, the number of rows being smaller each time.
@bpindelski tells me that this is due to the fact that the under-the-hood script actually closes inactive sessions each time the command is executed.
This is completely unexpected.
Change History (6)
comment:1 Changed 5 years ago by jamoore
- Owner set to bpindelski
comment:2 Changed 5 years ago by bpindelski
Josh: Depends. Do we want any change in the logic of what sessions list does in 5.0.3?
comment:3 Changed 5 years ago by jamoore
- Milestone changed from 5.0.3 to 5.x
Ah, I see. Apologies, I mistook this for the original ticket. Petr, if you'll forgive me, I'll push this out of 5.0.3 since I find it pretty unlikely that our users will be examining long outputs there (any more than they were pre-5.0.3).
comment:4 Changed 5 years ago by pwalczysko
sure
comment:5 Changed 4 years ago by jamoore
- Cc bpindelski removed
- Milestone changed from 5.x to 5.1.1
- Owner set to sbesson
Seb, does this fit in with any of your current fixing?
comment:6 Changed 4 years ago by sbesson
- Resolution set to fixed
- Status changed from new to closed
Closeable?