Skip to content

[INLONG-5054][Agent] Fix Agent can not import old job after reboot due to inconsistent prefix#5067

Merged
dockerzhang merged 2 commits intoapache:masterfrom
pocozh:INLONG-4821
Jul 15, 2022
Merged

[INLONG-5054][Agent] Fix Agent can not import old job after reboot due to inconsistent prefix#5067
dockerzhang merged 2 commits intoapache:masterfrom
pocozh:INLONG-4821

Conversation

@pocozh
Copy link
Contributor

@pocozh pocozh commented Jul 15, 2022

Prepare a Pull Request

(Change the title refer to the following example)

  • [INLONG-5054][Agent] Fix Agent can not import old job after reboot due to inconsistent prefix

(The following XYZ should be replaced by the actual GitHub Issue number)

Modifications

when store single jobProfile into local db, add prefix “job_” with the job id

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 merged commit f6b3539 into apache:master Jul 15, 2022
bruceneenhl pushed a commit to bruceneenhl/inlong that referenced this pull request Aug 12, 2022
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] Agent can not import old job after reboot

4 participants