Ticket #4974 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

MonitorLiveData: handle the stopping/resetting and restarting of runs

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: major Milestone: Release 2.1
Component: Mantid Keywords: LiveData
Cc: russell.taylor@… Blocked By:
Blocking: Tester: Russell Taylor

Description (last modified by Janik Zikovsky) (diff)

On the one hand is the dataReset() flag, which should dump all previous data.

Also: need options to choose what to do when the run stops or a new one starts:

  • Stop monitoring
  • Restart and replace workspace
  • Restart and rename (?)

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Janik Zikovsky

  • Description modified (diff)

comment:3 Changed 9 years ago by Janik Zikovsky

Refs #4974: handle dataReset() in a unit test in LoadLiveData

Changeset: b1e3f02b5d0cecc58d336d12179189d1ab7cb324

comment:4 Changed 9 years ago by Janik Zikovsky

Refs #4974 handle end-of-run in LiveData monitoring

Restart and Stop are implemented right now

Changeset: f9ce8e602d86361857776319e97c69ee25a76c2f

comment:5 Changed 9 years ago by Janik Zikovsky

Refs #4974 avoid segfault in tesT

Changeset: c99112e2eaa19adcb3c1cdf768a106ecda9e8cf5

comment:6 Changed 9 years ago by Janik Zikovsky

Refs #4974 GUI addition for EndRunBehavior

Changeset: ff32655986fc2867a542dbc124aed3cfc49519f9

comment:7 Changed 9 years ago by Janik Zikovsky

Refs #4974 try to fix test

Changeset: f619a3e6c4a31bac240d8e41dba918075a7c6a95

comment:8 Changed 9 years ago by Janik Zikovsky

Refs #4974 FakeEventDataListener has config parameter to auto-endrun

For playing in the GUI

Changeset: 6dc082b0e119f3afea880f46d6be721ee0bd2101

comment:9 Changed 9 years ago by Janik Zikovsky

Refs #4974: Rename workspace on end of run, unless no memory

Changeset: d312a06d5751a7bac810d599856688825dbc0133

comment:10 Changed 9 years ago by Janik Zikovsky

Refs #4974 remove debugging output

Changeset: d1aec7540c777ecc256fd1b366c6ad94d17badbc

comment:11 Changed 9 years ago by Janik Zikovsky

Refs #4974 fix memory check

Changeset: 8d201e71d2928f7324d69000f884809d05777d00

comment:12 Changed 9 years ago by Janik Zikovsky

  • Status changed from accepted to verify
  • Resolution set to fixed

Note to testers: there are 3 options on what to do when a run ends. Try it with a few situations, and check that the rename option avoids overflowing memory, especially on Win/Mac (since I tried it on Linux).

comment:13 Changed 8 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:14 Changed 8 years ago by Russell Taylor

  • Status changed from verifying to closed

Tried all the scenarios, I think. Long-running 'rename' jobs on Windows 64 & 32 and Mac were successful (left running overnight in the case of the windows jobs). On the Mac it dived into swap, I think, and on windows detected 'low' memory. We're going to want to dial down the logging at some stage, I think.

comment:15 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5820

Note: See TracTickets for help on using tickets.