Skip to content

support additional acceptable cluster IDs - #208

Merged
Platane merged 2 commits into
mainfrom
arthur/additional-acceptable-cluster-ids
Sep 30, 2026
Merged

Platane merged 2 commits into
mainfrom
arthur/additional-acceptable-cluster-ids

Conversation

@Platane

@Platane Platane commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Allows to rename a cluster_id without downtime

@Platane
Platane force-pushed the arthur/additional-acceptable-cluster-ids branch from 9fbff37 to 2cd0ad6 Compare September 29, 2026 13:32
@Platane
Platane marked this pull request as ready for review September 29, 2026 13:36
Comment thread chitchat-test/Cargo.toml Outdated

[dev-dependencies]
# reqwest's ICU dependency pulls in yoke-derive. Version 0.8.3 uses
# str::from_utf8, which is unavailable on our Rust 1.86 toolchain.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thank you for the comment.

Surely str::from_utf8 was here since rust 0.1. Do you mean it is used in const context or something?

@fulmicoton-dd fulmicoton-dd Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

tantivy is on 1.87. you can bump the msrv if 1.87 is sufficient, which is not clear not knowing what feature is missing.

pub chitchat_id: ChitchatId,
pub cluster_id: String,
/// Additional cluster IDs accepted during a gossip handshake.
pub additional_acceptable_cluster_ids: Vec<String>,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can we make it a HashSet.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I guess it does not matter. no need to change nevermind

@Platane
Platane force-pushed the arthur/additional-acceptable-cluster-ids branch from 2cd0ad6 to eca055f Compare September 30, 2026 08:54
@Platane
Platane merged commit 39d434f into main Sep 30, 2026
5 checks passed
@guilload guilload mentioned this pull request Nov 5, 2026
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.

2 participants