Skip to content

Add custom record extractor index support self-check #759

@yruslan

Description

@yruslan

Background

Writing a custom record extractor compatible with Cobrix indexes is tricky. And if the protocol is not followed 100% data loss may occur when using Cobrix indexes.

But Cobrix can do a quick self check of a custom record extractor when loading a data file. It just needs t ensure that offset returned for a second record will return the second record if reused when constructing the record extractor with a non-zero offset.

If the custom record extractor does not conform to the requirement an exception can be thrown with the advice to turn off indexes.

Feature

Add custom record extractor index support self-check.

Example [Optional]

--

Proposed Solution [Optional]

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions