ReplicaChunk

class lsst.dax.apdb.ReplicaChunk(id: int, last_update_time: Time, unique_id: UUID)

Bases: object

Class used for identification of replication chunks.

Instances of this class are used to identify the units of transfer from APDB to PPDB. Usually single ReplicaChunk corresponds to multiple consecutive calls to Apdb.store method.

Every store with the same id value will update unique_id with some unique value so that it can be verified on PPDB side.

Methods Summary

make_replica_chunk(last_update_time, ...)

Generate new unique insert identifier.

Methods Documentation

classmethod make_replica_chunk(last_update_time: Time, chunk_window_seconds: int) ReplicaChunk

Generate new unique insert identifier.