Skip to content

Partitions can end up out of order #25

@dpgil

Description

@dpgil

Let's say we have a storage instance with partition size = 2, and we insert rows at timestamp 1 and timestamp 3.

We then have a full partition with minTimestamp=1, maxTimestamp=3. On the next insert, a new partition will be created. When a new partition is created, the first time a row is inserted the minimum timestamp is set (code ref), so let's say we now insert a row at timestamp 2.

We'll now have two partitions with data points out of order. This breaks the query functionality as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions