Fix for Lifetime Team Synchronization on Service AccountThe query responsible for synchronizing Lifetime Teams was returning ID 0 for the user resulting on maintaing duplicates on this branch.
Timeout Issue While Deleting Lifetime TeamsA timeout issue occurred when deleting Lifetime Teams due to the presence of duplicate users. To address this:
LifetimeTeamUser
Index Additions:
Added indexes to enhance query performance on the following attributes:
FeatureToggle: Name
LifetimeTeamUser: EnvKey, UserId
Tag: Name
Timer Fix:
Resolved an issue with the FeatureToggleTeams_Sync timer, which was causing duplicate entries in the LifetimeTeam and LifetimeTeamUser entities.
Duplicate Records Resolution:
Implemented a series of timers to back up and prevent duplicated records in the affected entities.
Implements the Lifetime API V2 See the API documentation here to sync Roles and Teams