diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2016-04-29 17:51:49 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-06-23 13:47:16 +0200 |
commit | 40de79d69860ec7f04bf7795bd88b641ec42fd23 (patch) | |
tree | be738e89fc954188e4e9ea19403065fb76f059ed /Vagrantfile | |
parent | a257259b05d62ebe548b6c798a3aa03a97dbc0c2 (diff) | |
download | sssd-40de79d69860ec7f04bf7795bd88b641ec42fd23.tar.gz sssd-40de79d69860ec7f04bf7795bd88b641ec42fd23.tar.xz sssd-40de79d69860ec7f04bf7795bd88b641ec42fd23.zip |
SYSDB: Check if group attributes differ before saving a group
Adds a new function sysdb_entry_attrs_diff() used in group saving code.
This function is used to check if the result of updating a group would
result in actually changing the sysdb entry -- often, we would try to
dump the same data to the cache during update. If that's the case, the
update code now only updates the timestamp cache, avoiding costly
writes.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'Vagrantfile')
0 files changed, 0 insertions, 0 deletions