aeron-archive/src/main/java/io/aeron/archive/Catalog.java
private void refreshCatalog(final boolean fixOnRefresh)
    {
        if (fixOnRefresh)
        {
            forEach(this::refreshAndFixDescriptor);
        }
        else
        {
            forEach(((headerEncoder, headerDecoder, descriptorEncoder, descriptorDecoder) -> nextRecordingId++));
        }
    }
private void refreshCatalog(final boolean fixOnRefresh)
    {
        if (fixOnRefresh)
        {
            forEach(this::refreshAndFixDescriptor);
        }
        else
        {
            forEach(((headerEncoder, headerDecoder, descriptorEncoder, descriptorDecoder) -> nextRecordingId++));
        }
    }
private void refreshCatalog ( final boolean fixOnRefresh ) { if ( fixOnRefresh ) { forEach ( this :: refreshAndFixDescriptor ) ; } else { forEach ( ( ( headerEncoder , headerDecoder , descriptorEncoder , descriptorDecoder ) -> nextRecordingId ++ ) ) ; } }
On catalog load we verify entries are in coherent state and attempt to recover entries data where untimely
termination of recording has resulted in an unaccounted for stopPosition/stopTimestamp. This operation may be
expensive for large catalogs.

@param fixOnRefresh set if the catalog should have its entries fixed.
On catalog load we verify entries are in coherent state and attempt to recover entries data where untimely termination of recording has resulted in an unaccounted for stopPosition / stopTimestamp . This operation may be expensive for large catalogs .