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

Add systemd dependency on clickhouse-server #23

Merged
merged 1 commit into from
May 17, 2024

Conversation

lamaral
Copy link
Contributor

@lamaral lamaral commented Apr 16, 2024

Without this dependency, graphite-ch-optimizer will try to start before the Clickhouse server is ready, leading to a failure to start.

Copy link
Contributor

@Felixoid Felixoid left a comment

Choose a reason for hiding this comment

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

My concern was the situation when the service works remotely. But it looks like it won't be an issue

packaging/graphite-ch-optimizer.service Outdated Show resolved Hide resolved
Without this dependency, graphite-ch-optimizer will try to start before
the Clickhouse server is ready, leading to a failure to start.
@lamaral
Copy link
Contributor Author

lamaral commented Apr 16, 2024

My concern was the situation when the service works remotely. But it looks like it won't be an issue

According to my research, this should not be a problem. Wants and After will happily ignore non-existing units. I also tried it on an existing server and the service started fine, even with the other unit not existing.

@Felixoid
Copy link
Contributor

Just in case, it makes sense to update the golang version too. 1.15 is a bit outdated

@Hipska
Copy link

Hipska commented May 16, 2024

@Felixoid good idea, a fresh build would not hurt anything 😉

@Felixoid
Copy link
Contributor

@lamaral are you here? =)

@lamaral lamaral merged commit 9944759 into innogames:master May 17, 2024
6 checks passed
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