Skip to content

Unable to query data from newly created partition after removing a partition #657

@fredsod

Description

@fredsod

Describe the bug

I have a use case where I want to remove a partition and, after removal, start inserting new logs with the same timestamp and query that partition without restarting VictoriaLogs.

When I'm trying this with v1.32.0, I can't query that data without restarting VictoriaLogs and inserting data into the partition. Then both the data inserted before and after the restart are showing up in the result.

To Reproduce

  1. Insert logs with datetime X
  2. Detach partition X
  3. Remove the partition folder X
  4. Insert new logs with datetime X

Version

v1.32.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions