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

Fix incorrect mount data in docker volume #1507

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

aleksraiden
Copy link
Contributor

@aleksraiden aleksraiden commented Jun 21, 2023

This patch fix an issue when we use Kvrocks image into Docker Compose and will need a mount host directory as a persistent data volume. In a default, inside the container we use kvrocks:kvrocks user/group for running kvrocks in non-root mode. But we don't need a use this for data directory, because if docker compose mount host directory, a server can't use it ( and we have an startup error: Failed to open: failed to create column families: IO error: While open a file for appending: /var/lib/kvrocks/db/LOG: Permission denied

Fix data lib mount
Copy link
Contributor

@torwig torwig left a comment

Choose a reason for hiding this comment

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

LGTM

@git-hulk
Copy link
Member

Thanks for @aleksraiden taking care of this, merging...

@git-hulk git-hulk merged commit e9ff471 into apache:unstable Jun 21, 2023
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