After trying to run some tasks in Qlik Sense, you find they have been terminated with status "Reset" and the error "Execution session not saved in store, terminated". What does this mean?Environments:
- Qlik Sense Enterprise, all versions
Repository or Scheduler services have shut down unexpectedly.
This question was asked on Qlik Community, and it has been confirmed that a Qlik employee responded so their response is re-iterated here:
Generally speaking, a task will be Reset when:
- The Scheduler Master starts and finds a Session in the Repository which is not running on any node
- The Scheduler Master starts and finds a Session running on a node which is not found in the Repository
- The Scheduler Master starts and finds the task in any non-terminal state but there is no Session. The terminal states are Aborted, FinishedSuccess, FinishedFail, Reset, Skipped, Error, and NeverStarted.
And in the particular case of the message "Execution session not saved in store, terminated", this means Sense tried to load the repository data for a session but that the data wasn't there so the session was terminated. The corresponding log message might be more clear:ExecutionSession not in repository, will be terminated.
The Scheduler will recover from this error and continue operations. The task it failed at will not be executed again but will run at the next scheduled time.