URL:
https://github.com/SSSD/sssd/pull/5552
Title: #5552: files: split update into batches
pbrezina commented:
"""
> What is the reason for this patches?
IIUC, to avoid single large blocking operation. see #5557
IMHO in this case it would be better to do a diff update to improve performance first. It
would also solve
https://github.com/SSSD/sssd/issues/4614. It wouldn't of course solve
the initial cache population so some batching is needed, but it will affect the design a
lot therefore it might be better to start with it.
> To be able to deliver domain-inconsistent message? If that's
the case you can send the message via monitor connection.
What do you mean?
The reason why the message is not delivered is because we send it over
`provider->sbus_conn` which requires accessing the backend's tevent loop because
the backend runs this message bus. If `be_ctx->mon_conn` is used instead the message is
sent through the monitor's message bus immediately.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5552#issuecomment-811832977