Ticket #2649 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Add a 'dirty' flag to EventWorkspace to indicate when the MRU list should be rebuilt

Reported by: Russell Taylor Owned by: Janik Zikovsky
Priority: major Milestone: Iteration 28
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Vickie Lynch

Description

Calling setX can invalidate the MRUlist, but clearing it on every call of this method would be inefficient. Instead, set a flag that can be checked when (and if) anyone calls the getters, triggering a rebuild of the MRUlist if necessary.

Change History

comment:1 Changed 10 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Janik Zikovsky

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

(In [10223]) Fixes #2649: When using setX() on an EventWorkspace, any entry in the MRU list is removed so as to prevent incorrect histograms from coming from the cache.

comment:3 Changed 9 years ago by Vickie Lynch

  • Status changed from verify to verifying
  • Tester set to Vickie Lynch

comment:4 Changed 9 years ago by Vickie Lynch

  • Status changed from verifying to closed

Tested with TOPAZ data.

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3496

Note: See TracTickets for help on using tickets.