Skip to content

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

Merged
ableegoldman merged 1 commit intoapache:2.6from
ableegoldman:12211-port-to-2-6
Feb 23, 2021
Merged

KAFKA-12211: don't change perm for base/state dir when no persistent store#10197
ableegoldman merged 1 commit intoapache:2.6from
ableegoldman:12211-port-to-2-6

Conversation

@ableegoldman
Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

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

Copy link
Copy Markdown
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
Copy Markdown
Member

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