Chronicle-Queue icon indicating copy to clipboard operation
Chronicle-Queue copied to clipboard

Backward tailer not releasing the file when closed

Open ajax-lizogubenko-s opened this issue 2 years ago • 0 comments

Chronicle queue version: 5.22.18

We are experiencing huge problems with files rollover. We creating one utility tailer with SingleChronicleQueue.createTailer() perform some readText() operation with BACKWARD direction and then closing it with close() method. Unfortunately we can see that last file that was read by Tailer stays blocked: Screenshot 2022-05-09 at 12 07 25 So we can't remove old files, cause last one is being locked. And we need to remove old files

File being released only after application restart

UPD: looks like countExcerpts() has the same problem

ajax-lizogubenko-s avatar May 09 '22 09:05 ajax-lizogubenko-s