rht_size returns the
number of key-value pairs contained in a replica.
Use RHT_GET_DELETES to include deleted entries in
the size count.
Use of the default RHT_DIRTY_READ flag will cause
rht_size to return the size count
immediately without waiting for any locally generated
updates to be applied. Whereas, specifying the RHT_CLEAN_READ
will first apply all locally generated updates, and
then return the replica size.
***This size can change in the next instant if the
dictionary is not locked. *** |