Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-12211: don't change perm for base/state dir when no persistent store #10197

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

ableegoldman
Copy link
Contributor

We improved the state directory folder/file permission setting in #9583 . But we forgot to consider one situation: if user doesn't have Persistent Stores, we won't create base dir and state dir. And if there's no such dir, and when we tried to set permission to them, we'll have NoSuchFileException.

Port of #9904 to the 2.6 branch

@ableegoldman
Copy link
Contributor Author

call for review @showuon @modax @lct45 @wcarlson5 @cadonna

Copy link
Contributor

@wcarlson5 wcarlson5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ableegoldman ableegoldman merged commit 7944758 into apache:2.6 Feb 23, 2021
@showuon
Copy link
Contributor

showuon commented Feb 24, 2021

@ableegoldman , thanks for taking care of it. LGTM ( a little late XD)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants