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

refactor: writer-id to node-id #25905

Merged
merged 1 commit into from
Jan 23, 2025
Merged

refactor: writer-id to node-id #25905

merged 1 commit into from
Jan 23, 2025

Conversation

hiltontj
Copy link
Contributor

Related: https://github.com/influxdata/influxdb_pro/issues/429

This changes the naming of the identifier used to uniquely identify an InfluxDB 3 server from writer-id to node-id.

Therefore, the argument that is passed on server start will now be --node-id (not --writer-id, or previously --host-id).

This PR makes changes of naming throughout the codebase so that struct fields, variable names, function arguments, etc. all follow the new naming convention.

@hiltontj hiltontj added the v3 label Jan 23, 2025
@hiltontj hiltontj requested a review from a team January 23, 2025 16:06
@hiltontj hiltontj self-assigned this Jan 23, 2025
@hiltontj
Copy link
Contributor Author

Copy link
Contributor

@peterbarnett03 peterbarnett03 left a comment

Choose a reason for hiding this comment

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

Looks good to me. Won't be able to test until the new version is deployed.

Script change will happen immediately (or relatively, Cloudflare does some small adjustments). Deploy takes 10-15 minutes. So there will be a small gap for a moment; given we're in alpha, not too terrible for us to worry about, but something to know for future script changes.

@hiltontj hiltontj merged commit d451ef0 into main Jan 23, 2025
13 checks passed
@hiltontj hiltontj deleted the hiltontj/node-id branch January 23, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants