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

Cache clusterId in IoTDBConfig #12053

Merged

Conversation

liyuheng55555
Copy link
Collaborator

IoTDBDescriptor.getInstance().getConfig().getClusterId()

@SteveYurongSu SteveYurongSu self-requested a review February 20, 2024 02:24
Copy link
Collaborator

@Caideyipi Caideyipi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@wangchao316 wangchao316 left a comment

Choose a reason for hiding this comment

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

LGTM

@liyuheng55555 liyuheng55555 force-pushed the Working/clusterId_cache branch from e342911 to 4d1c909 Compare February 27, 2024 08:11
Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

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

These codes will be optimized in next PR.

while (configManager.getConsensusManager() == null)

@OneSizeFitsQuorum OneSizeFitsQuorum merged commit c3c48a2 into apache:master Feb 28, 2024
34 of 36 checks passed
SzyWilliam pushed a commit to SzyWilliam/iotdb that referenced this pull request Nov 26, 2024
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.

5 participants