rht_snapshot initializes
a snapshot of the current state of the specified replica.
The replica is temporarily locked and references to
all the current entries in the replica are inserted
into a constant, local dictionary (rht_snap). For
more information on snapshots, see snapshot
reference.
Use RHT_GET_DELETES to include deleted entries in
the snapshot.
Use of the default RHT_DIRTY_READ flag will cause
rht_snapshot snapshot 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 perform the snapshot. |