40de79d SYSDB: Check if group attributes differ before saving a group

Authored and Committed by jhrozek 4 years ago
    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>
    
        
file modified
+115 -0
file modified
+13 -7
file modified
+11 -0