URL:
https://github.com/SSSD/sssd/pull/5552
Title: #5552: files: split update into batches
sumit-bose commented:
"""
> where do you see the difficulties to add a diff approach? The
step the remove the cache has to be replaced by the diff step and then the entries which
changed will be processed. Even with the diff approach we might need process the changes
in batches if there are many to not block the backend for too long.
Let me ask a question first - if the domain is correctly marked as inconsistent, why do
we need to have the files backend responsive?
Hi,
I meant "block" or "responsive" with respect to the watchdog. To avoid
that the backend is killed by the watchdog we should make sure to return to the main loop
regularly when know that processing the data needs more time.
bye,
Sumit
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5552#issuecomment-815471181