Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Durable Buffered Sink does not emit when only _001 suffixed files exist #374

Open
jonmotos opened this issue Apr 17, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jonmotos
Copy link

Describe the bug

When the time-rolled durable file sink is used, and there are two files for the same date (due to multiple processes), and the non-suffixed file is deleted, leaving only the _001 file, the http shipper emits empty log batches.

To Reproduce

Steps to reproduce the behavior:

  1. Have multiple buffer files, where one ends in _001
  2. Delete all but the _001
  3. Observe the log batches emitted are empty, despite logs buffered in _001

Expected behavior

The buffered logs should be emitted.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 8.0.0
@jonmotos jonmotos added the bug Something isn't working label Apr 17, 2024
Copy link
Contributor

Hi there and welcome to this repository!

A maintainer will be with you shortly, but first and foremost I would like to thank you for taking the time to report this issue. Quality is of the highest priority for us, and we would never release anything with known defects. We aim to do our best but unfortunately you are here because you encountered something we didn't expect. Lets see if we can figure out what went wrong and provide a remedy for it.

@FantasticFiasco
Copy link
Owner

Hi and thanks for letting us know.

Would you be able to build a sample console application showcasing this behavior where multiple processes are causing the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants