Hello! After flush() or close() are finished, all records should be in cache in both size() and contains() sense.
Regards, -- Ilya Kasnacheev вт, 12 нояб. 2019 г. в 12:37, Mikael <mikael-arons...@telia.com>: > Hi! > > If I use flush() an a streamer it looks like it is waiting for all tags > to be written, but if I call .size() on a cache after flush is complete > it is still zero (primary and backup), it takes some time for it to show > up even on a single node, is there a way to wait for the streamer to > finish so that the entries are actually in the cache before I continue ? > > I just realized I have not checked if the entries are actually there, is > it possible that the entries are there and it's just not the size that > is reported correct yet ? > > Mikael > > > >