Project

General

Profile

Actions

Bug #18076

closed

Properly handle cached user records that don't exist anymore on federation scenarios

Added by Lucas Di Pentima about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Story points:
-
Release relationship:
Auto

Description

If for some reason a user's UUID on the LoginCluster changes (or the user record is removed), the cached copies on the federated clusters get stale and probably cause username validation issues when trying to cache the new record.
The federated controllers use the batch_update internal API to refresh the user list cache but it doesn't take into account that some users may not exist anymore so cache records aren't properly cleaned/handled.


Subtasks 2 (0 open2 closed)

Task #18083: Review 18076-stale-cached-users-handlingResolvedLucas Di Pentima09/02/2021Actions
Task #18110: Review 18076-user-cache-with-repositoryResolvedLucas Di Pentima09/06/2021Actions

Related issues

Related to Arvados - Bug #18094: Remove unused Users#update_uuid endpointResolvedLucas Di Pentima09/03/2021Actions
Actions

Also available in: Atom PDF