Skip to content

fix temporalcache when functioning as a source

David E. DeMarle requested to merge demarle/vtk:fix-tcache-as-source into master

Mostly we need to override RequestInformation in the mode so that we can provide the temporal domain and other meta information.

There is also a fix for a subtle bug in cache overflow. The new phantom "Evicted" slot solves this access pattern and ensure that we have a consistent temporal ordered cache. The pattern solved was:

    ...
    RI : I provide tsteps {0,1,2}
    RD t3 : not in cache
      input has it
      add t3 to cache
    RD t0 : in cache
    RD t1 : in cache
    RD t2 : in cache
    RD t3 : in cache
    ...
    RI : I provide tsteps {0,1,2,3}
    RD t4 : not in cache
      input has it
      insufficient space so remove t0 from cache
      add t4 to cache
    RD t0 : crash
Edited by Cory Quammen

Merge request reports