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

Adding Multiple PD Endpoints Does Not Provide Redundancy #4

Open
ProjectInitiative opened this issue Dec 18, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@ProjectInitiative
Copy link

I have a TiKv cluster running in 3 test VMs: 10.10.0.111:2739, 10.10.0.112:2739, 10.10.0.113:2739

Starting a basic mount with the following:

./target/release/tifs -f tifs:10.10.0.111:2379,tifs:10.10.0.112:2379,tifs:10.10.0.113:2379 /mnt/tifs/

Dec 18 10:00:35.994 INFO connect to tikv endpoint: "10.10.0.113:20162"

If I pause, stop or kill VM 10.10.0.113, there is no failover, the file system doesn't try one of the other endpoints. Is this expected?

Are there plans to add redundancy?

Thanks

@ProjectInitiative
Copy link
Author

Doing more research, looks like the TiKV_client library might not be working correctly as the docs states is should be working. https://docs.rs/tikv-client/latest/tikv_client/struct.TransactionClient.html#method.new_with_config

Going to have to dig a bit deeper to see why the client library is not connecting to multiple PD nodes

@Hexilee Hexilee added the bug Something isn't working label Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants