Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9168 (new)

Opened 12 years ago

Last modified 8 years ago

permit immediate detachOnDestroy setting.

Reported by: jamoore Owned by:
Priority: major Milestone: Unscheduled
Component: API Version: n.a.
Keywords: n.a. Cc: cxallan, cneves, jburel, wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jmoore)

See #8812

A race condition exists between the time when createSession() has been successfully called and detachOnDestroy() can be called on the returned object. If anything happens in that period (network issue, out of memory, out of file handles, etc), then when the session is closed by glacier (usually 10) minutes later, the session may be closed completely.

Clients should be able to pass {"omero.detach_on_destroy":"true"} (or similar) during the call to createSession, joinSession, and createClient in order to set the flag server-side immediately. Helper method and/or optional arguments in each SDK should make this easy to implement. E.g.

  def createSession(self, username, password, detach=False):

Change History (6)

comment:1 Changed 12 years ago by jmoore

  • Description modified (diff)

comment:2 Changed 12 years ago by jmoore

  • Milestone changed from OMERO-Beta4.4 to OMERO-Beta4.4.1

comment:3 Changed 12 years ago by jmoore

  • Summary changed from RFE: permit immediate detachOnDestroy setting. to permit immediate detachOnDestroy setting.

comment:4 Changed 8 years ago by jamoore

Referencing ticket #7043 has changed sprint.

comment:5 Changed 8 years ago by jamoore

Referencing ticket #7043 has changed sprint.

comment:6 Changed 8 years ago by jamoore

  • Milestone changed from 5.x to Unscheduled
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64543 sec.)

We're Hiring!