gentics / mesh

Gentics Mesh - The open source headless CMS for developers
https://getmesh.io
Apache License 2.0
571 stars 115 forks source link

Optimization of user/group/role sync #1580

Closed npomaroli closed 8 months ago

npomaroli commented 8 months ago

Abstract

Synchronization of users, groups and roles from AuthServicePlugin possibly handles multiple elements, in order to improve performance, the implementation is changed to support batch loading where possible.

Also parallel requests might handle the same entities, which can cause race conditions. In order to better handle such situations (without letting the request fail), the sync process is repeated once in case of an error.

Checklist

General

On API Changes