Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add an option to force or wait for commit #2995

Merged
merged 7 commits into from
Mar 17, 2023

Conversation

imotov
Copy link
Collaborator

@imotov imotov commented Mar 14, 2023

Description

Adds an option to force a commit or wait for the next commit while issuing an ingest command. This commit only implements it for the ingest endpoint. If all records in the batch fail, the command will hang until at least one good document is indexed until #2826 is merged in or the document parsing is moved to the early stages.

See #2699

How was this PR tested?

Added tests.

Adds an option to force a commit or wait for the next commit while
issuing an ingest command. This commit only implements it for the
ingest endpoint. If all records in the batch fail, the command will
hang until at least one good document is indexed until quickwit-oss#2825 is merged
in or the document parsing is moved to the early stages.

See quickwit-oss#2699
@fulmicoton
Copy link
Collaborator

@trinity-1686a can you have a look?

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.

It would be nice to have an e2e style integration test that ingest a few docs forcing commit and immediately search for them, but that'll possibly be best done once #2984 has been worked on

@trinity-1686a trinity-1686a enabled auto-merge (squash) March 15, 2023 10:50
@fmassot fmassot disabled auto-merge March 15, 2023 10:56
@fmassot
Copy link
Collaborator

fmassot commented Mar 15, 2023

Let's wait for 0.5 release before merging.

@imotov
Copy link
Collaborator Author

imotov commented Mar 15, 2023

As much as release branches can be a pain, the balance of cost vs benefit of having them will only move towards the benefit as the team and customer base grow. Maybe be something to consider for 0.6?

@fmassot
Copy link
Collaborator

fmassot commented Mar 15, 2023

@imotov absolutely, we are releasing tomorrow so we can merge your PR tomorrow.

@trinity-1686a
Copy link
Contributor

0.5.0 has been released. I'm going to merge

@trinity-1686a trinity-1686a enabled auto-merge (squash) March 17, 2023 15:24
@trinity-1686a trinity-1686a merged commit 26927f0 into quickwit-oss:main Mar 17, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants