Project: datamanagement
Issue DM-389: Build distributor
Distributor On boot: * Checks the network, archive raw image cache and the tape archive. After all have tested successfully, the distributor waits for a connection from its associated replicator. In operation: * On receipt of a visit id, exposure sequence number and raft id from its associated replicator, the distributor publishes them along with its network address to the Archive DMCS. On receipt of crosstalk-corrected image and associated telemetry from its associated replicator: * Verifies integrity using a hash or checksum * Writes to the raw image cache using the Data Access Client Framework * Decompresses (if necessary) * Separates into individual CCD-sized portions * Sends portions to the appropriate connected Workers Note: Workers can connect to request a CCD-sized crosstalk-corrected image. On receipt of raw image: * Writes it to the tape system. * All images are tagged with the Archive mode. Should include heartbeat monitoring of the replicator/distributor connection.
Story points: 10