Element

Description

Background

  • In [TIS]Editor opening of a project leads to a "locking", i.e. no other user can change the project in parallel to obtain consistent data. – Otherwise crashes and inconsistent information would occur.
  • The mechanism from TIS-Board is different. If a user presses RECALCULATE on the corresponding Portlet, a locking takes place and ownership is taken - but only until the calculation finishes.
    This section describes locking and releasing of projects.

Internal mechanisms

RECALCULATION BY USER:

  • In the background – a created system user
    • Opens the project "on behalf" of [TIS]Board-users. I.e. like a virtual other user.
    • This system user can open the project only if the project is not locked.
  • If the system user can activate the project he holds the lock.
  • The system user can execute orders of different users. If one order is finished, the procession of the next order can be started. So several users can actually refer to the same project.
  • If the system user runs a job (e.g. recalculation), an incoming new job is ignored.

    CONSEQUENCES:
  • It is possible that several "normal" users work with the project (apparently parallel). The system user keeps a list of his "callers". If a caller logs out, he will be removed from the list.
  • If no user is left on the list, the project will be closed and the system user will be destroyed. (i.e., the project is free to work in [TIS]Editor again)
  • It is possible to work on the same data together.

Manual release

Ownership of a planning project can be manually released with the following Portlet brought into the page with the mechanism described in Creating & Filling pages.

By pressing on the symbol LIGHTNING the project is released.


NOTE: Events (or inuts) may even change the paths of tables. E.g. switching from User1 to User2.
NOTE: Please refresh the Portlet by pressing the Refresh symbol
to see whether it worked. It is a known bug, that the Portlet does not refresh itself after pressing the Lightning symbol.
NOTE: Very long jobs are automatically stopped after reaching the time out. – Typically 30' to 60' of processing time. The actual value is configured by the administrator.