Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#794 closed defect (fixed)

Long query may cause session to timeout

Reported by: nicklas Owned by: nicklas
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 10 years ago by nicklas

  • Owner changed from everyone to nicklas
  • Status changed from new to assigned

comment:2 Changed 10 years ago by nicklas

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:3 Changed 10 years ago by nicklas

(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.