Skip to content

Fix backfilled secondary ts - #109

Merged
rdettai-sk merged 2 commits into
sekoiafrom
fix-backfilled-secondary-ts
Oct 13, 2026
Merged

rdettai-sk merged 2 commits into
sekoiafrom
fix-backfilled-secondary-ts

Conversation

@rdettai-sk

Copy link
Copy Markdown
Collaborator

Description

When deploying the secondarty timestamps we performed a backfill that only populated the secondary timstamp columns of pg but not the metadata. This would create a lot of warnings with the recent retention change. This PR auto fixes the metadta of these splits.

How was this PR tested?

Describe how you tested this PR.

Copilot AI balanced review requested due to automatic review settings October 13, 2026 13:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new test must clean up its persistent PostgreSQL records.

1 open finding
What changed in this PR

Synchronizes returned split metadata with backfilled PostgreSQL secondary timestamp columns.

Changes:

  • Restores secondary time ranges from database columns.
  • Adds PostgreSQL regression coverage for backfilled splits.
File Description
model.rs Hydrates secondary timestamp metadata.
metastore.rs Tests column-only backfills.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs
@rdettai-sk
rdettai-sk requested review from Darkheir and a balanced review from Copilot October 13, 2026 14:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The conversion correctly reconciles backfilled columns, with focused regression coverage and cleanup.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@rdettai-sk
rdettai-sk merged commit c9af97d into sekoia Oct 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants