Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#794 closed defect (fixed)

Long query may cause session to timeout

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 2.4.4
Component: core Version:
Keywords: Cc:

Description

If a client application executes a query that takes a long time (longer than the cache.timeout setting in base.config), the session may timeout and the user is logged out. This will most likely result in a PermissionDeniedException? when the result of the query is put together.

We need a way to mark a session as 'executing query' that will stop it from being timed out. One problem is that a single session may be used by multiple threads, so a simple flag is not enough. Maybe each query can be associated with a timer that "pings" the session at regular intervals.

Change History (3)

comment:1 Changed 14 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 14 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [3808]) Fixes #794: Long query may cause session to timeout

comment:3 Changed 14 years ago by Nicklas Nordborg

(In [3858]) References #794: Additional fix needed in trunk due to API changes in 2.4-stable

Note: See TracTickets for help on using tickets.