Skip to content

Does pysdk need to disconnect the session to update the configuration #6003

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

Closed
YunhuiChen opened this issue Apr 17, 2025 · 1 comment · Fixed by #6094
Closed

Does pysdk need to disconnect the session to update the configuration #6003

YunhuiChen opened this issue Apr 17, 2025 · 1 comment · Fixed by #6094
Labels
kind/bug Something isn't working
Milestone

Comments

@YunhuiChen
Copy link
Contributor

What would you like to be added:

need to Actively disconnect the session to update the configuration

Why is this needed:

The reconnection configuration has not been updated:

>>> v = juicefs.Client("juicefs-test", "redis://172.28.39.187:6379/2",cache_dir="/data/pysdk2",cache_size="100m",backup_meta="300",access_log="a.log")
2025/04/17 17:08:31.585450 juicefs[57015] <WARNING>: AOF is not enabled, you may lose data if Redis is not shutdown properly. [checkRedisInfo@info.go:84]
>>>
>>> v = juicefs.Client("juicefs-test", "redis://172.28.39.187:6379/2",cache_dir="/data/pysdk2",cache_size="1000m",backup_meta="300",access_log="a.log") 
@YunhuiChen YunhuiChen added the kind/feature New feature or request label Apr 17, 2025
@davies
Copy link
Contributor

davies commented Apr 21, 2025

All the clients of the same volume share the same underlying client.

@davies davies added kind/bug Something isn't working and removed kind/feature New feature or request labels Apr 24, 2025
@davies davies added this to the Release 1.3 milestone Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants