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

[BUG]: 超时强制读取导致的异常截断 #1524

Closed
Abingcbc opened this issue Jun 6, 2024 · 0 comments · Fixed by #1542
Closed

[BUG]: 超时强制读取导致的异常截断 #1524

Abingcbc opened this issue Jun 6, 2024 · 0 comments · Fixed by #1542
Labels
bug Something isn't working

Comments

@Abingcbc
Copy link
Collaborator

Abingcbc commented Jun 6, 2024

Describe the bug
超时强制读取导致的异常截断
https://github.com/alibaba/ilogtail/blob/bb773dae07b4dde5588bfae6783c02fd3441c8fe/core/reader/LogFileReader.cpp#L1038-L1052
在判断超时导致的强制读取,到真正读取之间,如果有日志写入,那么会导致新写入的日志被异常截断。

iLogtail Running Environment
Please provide the following information:

  • ilogtail version:

    • 1.8.4
    • 2.0.4
  • Yaml configuration:

  • ilogtail.LOG:

  • logtail_plugin.LOG:

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

Successfully merging a pull request may close this issue.

1 participant