Skip to content

Validate doc mapping update#5988

Merged
guilload merged 1 commit intomainfrom
guilload/validate-doc-mapping-update
Nov 20, 2025
Merged

Validate doc mapping update#5988
guilload merged 1 commit intomainfrom
guilload/validate-doc-mapping-update

Conversation

@guilload
Copy link
Member

Description

This PR ensures that the doc mapping is validated at the metastore API level when an index config is updated.

How was this PR tested?

  • Add unit tests
  • Ran config and metastore test suites locally:
c t --manifest-path quickwit/Cargo.toml -p quickwit-config
QW_TEST_DATABASE_URL=postgres://quickwit-dev:quickwit-dev@localhost:5432/quickwit-metastore-dev c t --manifest-path quickwit/Cargo.toml -p quickwit-metastore --all-features

Copy link
Contributor

@trinity-1686a trinity-1686a left a comment

Choose a reason for hiding this comment

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

as is, updates that were idempotent no longer are, which has to be fixed before merging, but what's there seems good to me

@guilload guilload force-pushed the guilload/validate-doc-mapping-update branch 2 times, most recently from c5c310f to 598e857 Compare November 19, 2025 22:25
@guilload guilload force-pushed the guilload/validate-doc-mapping-update branch from 598e857 to d54a2b2 Compare November 19, 2025 22:31
@guilload guilload merged commit 5a709f1 into main Nov 20, 2025
8 checks passed
@guilload guilload deleted the guilload/validate-doc-mapping-update branch November 20, 2025 15:23
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.

2 participants