Skip to content

[INLONG-9117][Agent] Rewrite class RocksDbImp to enable it to be constructed with a child path - #9119

Merged
dockerzhang merged 1 commit into
apache:masterfrom
justinwwhuang:newRockDbImpl
Oct 26, 2023
Merged

dockerzhang merged 1 commit into
apache:masterfrom
justinwwhuang:newRockDbImpl

Conversation

@justinwwhuang

Copy link
Copy Markdown
Contributor

Prepare a Pull Request

[INLONG-9117][Agent] Rewrite class RocksDbImp to enable it to be constructed with a child path

Motivation

*Agent will have more than one local db instance including task, instance and offset. So we need to init the db instance with different child path.

Modifications

Rewrite class RocksDbImp to enable it to be constructed with a child path

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

…tructed with a child path

Agent will have more than one local db instance including task, instance and offset. So we need to init the db instance with different child path.
@dockerzhang
dockerzhang merged commit a194f57 into apache:master Oct 26, 2023
@justinwwhuang
justinwwhuang deleted the newRockDbImpl branch October 26, 2023 09:01
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][Agent] Rewrite class RocksDbImp to enable it to be constructed with a child path

4 participants