[KAFKA-7024] Rocksdb state directory should be created before opening…#6138
Merged
guozhangwang merged 1 commit intoapache:trunkfrom Jan 18, 2019
ConcurrencyPractitioner:KAFKA-70
Merged
[KAFKA-7024] Rocksdb state directory should be created before opening…#6138guozhangwang merged 1 commit intoapache:trunkfrom ConcurrencyPractitioner:KAFKA-70
guozhangwang merged 1 commit intoapache:trunkfrom
ConcurrencyPractitioner:KAFKA-70
Conversation
Contributor
Author
|
@guozhangwang Just a simple fix. We could get this in lickedy-split. |
mjsax
approved these changes
Jan 16, 2019
Member
mjsax
left a comment
There was a problem hiding this comment.
LGTM.
@guozhangwang Do we need a test for this? I am happy without a test, too.
Member
|
Retest this please. |
Contributor
|
I think this is good enough. LGTM. |
abbccdda
pushed a commit
to abbccdda/kafka
that referenced
this pull request
Jan 24, 2019
… the DB (apache#6138) In RocksDBStore.openDB we call Files.createDirectories(dir.getParentFile().toPath()); return RocksDB.open(options, dir.getAbsolutePath()); We would also add the absolute file path as well to avoid the extra logging. Reviewers: Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>
jarekr
pushed a commit
to confluentinc/kafka
that referenced
this pull request
Apr 18, 2019
* ak/trunk: MINOR: fix race condition in KafkaStreamsTest (apache#6185) KAFKA-4850: Enable bloomfilters (apache#6012) MINOR: ducker-ak: add down -f, avoid using a terminal in ducker test KAFKA-5117: Stop resolving externalized configs in Connect REST API MINOR: Cleanup handling of mixed transactional/idempotent records (apache#6172) KAFKA-7844: Use regular subproject for generator to fix *All targets (apache#6182) Fix Documentation for cleanup.policy is out of date (apache#6181) MINOR: increase timeouts for KafkaStreamsTest (apache#6178) MINOR: Rejoin split ssl principal mapping rules (apache#6099) MINOR: Handle case where connector status endpoints returns 404 (apache#6176) MINOR: Remove unused imports, exceptions, and values (apache#6117) KAFKA-3522: Add internal RecordConverter interface (apache#6150) Fix Javadoc of KafkaConsumer (apache#6155) KAFKA-6455: Extend CacheFlushListener to forward timestamp (apache#6147) MINOR: Log partition info when creating new request batch in controller (apache#6145) KAFKA-7652: Part I; Fix SessionStore's findSession(single-key) (apache#6134) MINOR: Remove the InvalidTopicException handling in InternalTopicManager (apache#6167) [KAFKA-7024] Rocksdb state directory should be created before opening the DB (apache#6138) MINOR:: Fix typos (apache#6079)
pengxiaolong
pushed a commit
to pengxiaolong/kafka
that referenced
this pull request
Jun 14, 2019
… the DB (apache#6138) In RocksDBStore.openDB we call Files.createDirectories(dir.getParentFile().toPath()); return RocksDB.open(options, dir.getAbsolutePath()); We would also add the absolute file path as well to avoid the extra logging. Reviewers: Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In
RocksDBStore.openDBwe callFiles.createDirectories(dir.getParentFile().toPath());return RocksDB.open(options, dir.getAbsolutePath());We would also add the absolute file path as well to avoid the extra logging.
Committer Checklist (excluded from commit message)