Skip to content

Conversation

HTHou
Copy link
Contributor

@HTHou HTHou commented Aug 29, 2024

If there are some of addresses in NodeUrl list are invalid, the session cannot init correctly.

To reproduce, start IoTDB 1c1d and execute the following code.

config := &client.ClusterConfig{
	NodeUrls: strings.Split("127.0.0.1:6667,127.0.0.1:6668,127.0.0.1:6669", ","),
	UserName: "root",
	Password: "root",
}
session = client.NewClusterSession(config)
if err := session.OpenCluster(false); err != nil {
	log.Fatal(err)
}

@Beyyes Beyyes merged commit bb812b8 into main Aug 29, 2024
6 checks passed
@Beyyes Beyyes deleted the fix_ClusterSessionInit branch August 29, 2024 07:47
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