-
Notifications
You must be signed in to change notification settings - Fork 760
Closed
Labels
S-reproducingStatus: Reproducing a bug reportStatus: Reproducing a bug reportbugSomething isn't workingSomething isn't working
Description
When using console after login, the expire time was suppose to be 12h, but about 1 min later, any request will redirect to login page.
Steps to reproduce the behavior:
- Go to console and login
- wait 2 minutes
- refresh page or new bucker or any other request to RustFs server
- the page is redirected to login Page
the expire time was suppose to be 12h, but redirected to login Page.
Desktop (please complete the following information):
- OS: windows
- Browser: chrome
- Version: latest version, master branch
I notice that when new IamCache, a new background_task was started since no RUSTFS_SKIP_BACKGROUND_TASK env variable was set. The backgroundtask load all iamconfig from internal bucket .rustfs.sys every 2minutes, then COVER the memory Cache like this:
cache.users.store(Arc::new(user_items_cache.update_load_time()));
cache.sts_accounts.store(Arc::new(sts_items_cache.update_load_time()));
cache.sts_policies.store(Arc::new(sts_policies_cache.update_load_time()));when login with key, the sts_accounts was created and store in cache.sts_accounts(maybe should write to internal bucket .rustfs.sys), this background task cover it. Maybe write to internal bucket failed?
Metadata
Metadata
Assignees
Labels
S-reproducingStatus: Reproducing a bug reportStatus: Reproducing a bug reportbugSomething isn't workingSomething isn't working