OpenHFT/Chronicle-Queue

Read-only Tailer cannot read existing queue if some segments were removed/archived

alamar opened this issue · 1 comments

alamar commented

A tailer would read queue if first roll cycle is present but will refuse to read queue if first roll cycle is absent even though some other roll cycles are present. Table Store Read Only directory listing is being used, and it seems that refreshing segments list is a modifying operation which will not be permitted.

It can be worked around by calling createAppender() with readOnly = false.

This is only problematic if some roll cycles were removed and refreshDirectoryListing was not called?