Browsed by
Category: Новини

Prevent storing huge transaction logs in Zookeeper

Prevent storing huge transaction logs in Zookeeper

After some time of work Zookeeper writes a huge transaction log and adding any new event in the log makes fsync to FS very long Logs: To prevent size growth we can add two options to Zookeeper In config file: Or via Env variables when running in Docker This options will keep only last 7 days in the transaction log

Git: warning: Not a git repository

Git: warning: Not a git repository

When you try to update/pull or get a diff for the Git repository, you can get a warning: It is because the new version of Git forbidden to run git commands in a directory that is not owned by the current user ( CVE-2022-24765 ) To fix, you need to change permission for the directory or set security options to git when running commands in CI/CD