Skip to content

[INLONG-8509][Manager] Optimize preProcessTemplateFileTask in AgentServiceImpl#8510

Merged
dockerzhang merged 6 commits into
apache:masterfrom
kipshi:INLONG-8509
Jul 13, 2023
Merged

[INLONG-8509][Manager] Optimize preProcessTemplateFileTask in AgentServiceImpl#8510
dockerzhang merged 6 commits into
apache:masterfrom
kipshi:INLONG-8509

Conversation

@kipshi

@kipshi kipshi commented Jul 12, 2023

Copy link
Copy Markdown
Contributor

Prepare a Pull Request

Motivation

In old method, the program will init many stream sources with status 104(Frozen), which will make many dirty records in mysql

Modifications

Check if node is compile with template stream source when init sub stream source

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

@dockerzhang dockerzhang requested review from fuweng11, healchow and vernedeng and removed request for vernedeng July 13, 2023 01:49
@dockerzhang dockerzhang merged commit 2de6f43 into apache:master Jul 13, 2023
vernedeng pushed a commit that referenced this pull request Jul 13, 2023
…rviceImpl (#8510)

Co-authored-by: kipshi <kipshi@tencent.com>
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.

[Improve][Manager] Optimize preProcessTemplateFileTask in AgentServiceImpl

4 participants