Skip to content

Why is *.finish() function required? #1383

Closed Answered by jtbandes
kjgbrt asked this question in General
Discussion options

You must be logged in to vote

finish() ensures that the file has a complete summary/index, which is required if you want features like fast summarization and fast seeking/filtering. If a file is not indexed, it can still be read linearly from the beginning, and you can simply continue reading until reaching EOF. This is what mcap recover does. In Python this can be done with StreamReader.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kjgbrt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants