aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-12-05 12:19:06 -0800
committerGitHub <noreply@github.com>2025-12-05 12:19:06 -0800
commit4cc6a2a4e58ac03ae79816b636bc8bbf5797b707 (patch)
tree67e118c3e34f2d257a78dcc48f4e1210bdfb0e81 /weed/command
parent5c1de633cb10fe87450c9a38e090c4d69b1242da (diff)
downloadseaweedfs-4cc6a2a4e58ac03ae79816b636bc8bbf5797b707.tar.xz
seaweedfs-4cc6a2a4e58ac03ae79816b636bc8bbf5797b707.zip
fix: Admin UI user creation fails before filer discovery (#7624) (#7625)
* fix: Admin UI user creation fails before filer discovery (#7624) The credential manager's filer address function was not configured quickly enough after admin server startup, causing 'filer address function not configured' errors when users tried to create users immediately. Changes: - Use exponential backoff (200ms -> 5s) instead of fixed 5s polling for faster filer discovery on startup - Improve error messages to be more user-friendly and actionable Fixes #7624 * Add more debug logging to help diagnose filer discovery issues * fix: Use dynamic filer address function to eliminate race condition Instead of using a goroutine to wait for filer discovery before setting the filer address function, we now set a dynamic function immediately that returns the current filer address whenever it's called. This eliminates the race condition where users could create users before the goroutine completed, and provides clearer error messages when no filer is available. The dynamic function is HA-aware - it automatically returns whatever filer is currently available, adapting to filer failovers.
Diffstat (limited to 'weed/command')
0 files changed, 0 insertions, 0 deletions