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

[FileReader] Upon restart, it ingests already ingested logs. #2947

Closed
rockb1017 opened this issue Mar 31, 2021 · 3 comments
Closed

[FileReader] Upon restart, it ingests already ingested logs. #2947

rockb1017 opened this issue Mar 31, 2021 · 3 comments
Labels
bug Something isn't working spec:logs

Comments

@rockb1017
Copy link
Contributor

Describe the bug
When I upgrade otel helm chart, it recreates collector pod, then I have duplicate of logs.
So the file checkpointing is not working properly.

@rockb1017 rockb1017 added the bug Something isn't working label Mar 31, 2021
@tigrannajaryan
Copy link
Member

@rockb1017 Checkpoint saving is not implemented yet, see #2287. Also, show your config to make reproduction easier.

@djaglowski is it expected that for now on restart we will re-read already read files or that we will completely skip them?

@djaglowski
Copy link
Member

As Tigran mentioned, checkpoints depend on #2287, which is in progress.

In the absence of a checkpoint, the behavior is controlled by the start_at configuration parameter, documented here.

@djaglowski
Copy link
Member

I believe this is resolved, now that the file_storage extension is available. Note that a file_storage extension needs to be configured in order for this to work.

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

No branches or pull requests

3 participants