URL:
https://github.com/SSSD/sssd/pull/5552
Title: #5552: files: split update into batches
sumit-bose commented:
"""
I have one strange observation but I am not sure if it is related to
batching process.
Steeps:
1. Add 100 users calling useradd in loop
2. Dell 100 users calling userdell in loop
3. Add 250 users calling useradd in loop
If there is no delay between steep (2) and (3) useradd returns "User already
exists" for 100 users and then it adds another 150 (250 in total). Those 100
"existing" users are not presented in `/etc/passwd`.
Hi,
thanks for running this kind of test. The fallback to nss was not complete because the
cache_req tried to find the related object in the cache. I added a new patch to cache_req
to check if the domain is inconsistent or not.
@pbrezina, do you agree with
https://github.com/SSSD/sssd/pull/5552/commits/715b4074171030950661875d39...
bye,
Sumit
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5552#issuecomment-872056928