Skip to content

[INLONG-8629][Agent] Fix sending invalid data to dataproxy failed blocks normal data sending#8630

Merged
dockerzhang merged 1 commit intoapache:masterfrom
justinwwhuang:develop
Aug 6, 2023
Merged

[INLONG-8629][Agent] Fix sending invalid data to dataproxy failed blocks normal data sending#8630
dockerzhang merged 1 commit intoapache:masterfrom
justinwwhuang:develop

Conversation

@justinwwhuang
Copy link
Copy Markdown
Contributor

@justinwwhuang justinwwhuang commented Aug 4, 2023

fix: sending invalid data to dataproxy failed blocks normal data sending

  1. clean the resend queue and release the semaphore
  2. sender manager will send the data in the resend queue first

Prepare a Pull Request

[INLONG-8629][agent] sending invalid data to dataproxy failed blocks normal data sending

Motivation

sending invalid data to dataproxy failed blocks normal data sendin

Modifications

1. clean the resend queue and release the semaphore
2. sender manager will send the data in the resend queue first

Verifying this change

(Please pick either of the following options)

  • This change is a trivial rework/code cleanup without any test coverage.

  • This change is already covered by existing tests, such as:
    (please describe tests)

  • This change added tests and can be verified as follows:

    (example:)

    • Added integration tests for end-to-end deployment with large payloads (10MB)
    • Extended integration test for recovery after broker failure

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

…ocks normal data sending

1. clean the resend queue and release the semaphore
2. sender manager will send the data in the resend queue first
@dockerzhang dockerzhang changed the title [INLONG-8629][agent] fix: sending invalid data to dataproxy failed bl… [INLONG-8629][Agent] Fix sending invalid data to dataproxy failed blocks normal data sending Aug 4, 2023
@dockerzhang dockerzhang requested review from EMsnap and pocozh August 4, 2023 08:07
@dockerzhang
Copy link
Copy Markdown
Contributor

@doleyzi PTAL, thanks

@dockerzhang dockerzhang merged commit be94dce into apache:master Aug 6, 2023
ZhaoNiuniu pushed a commit to ZhaoNiuniu/inlong that referenced this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Agent] Sending invalid data to DataProxy failed blocks normal data sending

4 participants