-
Notifications
You must be signed in to change notification settings - Fork 427
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
If all records fail suggest_truncate is never sent to the source #2825
Labels
bug
Something isn't working
Comments
imotov
added a commit
to imotov/quickwit
that referenced
this issue
Feb 16, 2023
Ensures that publisher is still notified even if all documents fail. Fixes quickwit-oss#2825
imotov
added a commit
to imotov/quickwit
that referenced
this issue
Mar 14, 2023
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
trinity-1686a
added a commit
that referenced
this issue
Mar 17, 2023
* Add an option to force and wait for commit 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 #2825 is merged in or the document parsing is moved to the early stages. See #2699 * Add comments to the notification triggering logic * Fix rest tests * Remove extra current_offset setting --------- Co-authored-by: trinity-1686a <trinity@quickwit.io>
imotov
added a commit
that referenced
this issue
Mar 21, 2023
Ensures that publisher is still notified even if all documents in the batch fail. Fixes #2825 Co-authored-by: Adrien Guillo <adrien.guillo@gmail.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Describe the bug
In my testing for #2699 implementation I noticed that when all documents fail suggest_truncate is never sent to the SourceActor, as a result queue is never notified that it can clean older records. In my experience this situation happens more often than one could expect. For example, a new version of software is installed and it starts generating logs in a slightly different format or mappings are fat-fingered making all login messages suddenly fail. Without proper monitoring this situation can remain unnoticed for quite a while, sometimes days until users wonder why they cannot see new log messages in the system.
Steps to reproduce (if applicable)
Expected behavior
The suggest_truncate should be sent periodically even if all documents happened to fail.
The text was updated successfully, but these errors were encountered: