The assignment of the traces of an experiment where moved after the
super.initialize() method call. This lead to the in-memory being used
instead of the persistent index.
Change-Id: I4280929453a3f3f951f1e6897c4b72511c547517
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23242
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
setCacheSize(indexPageSize);
setStreamingInterval(0);
setParser(this);
+ // traces have to be set before super.initialize()
+ fTraces = traces;
try {
super.initialize(resource, path, type);
} catch (TmfTraceException e) {
Activator.logError("Error initializing experiment", e); //$NON-NLS-1$
}
- fTraces = traces;
-
if (resource != null) {
try {
this.synchronizeTraces();