Expand description
The change stream each storage backend publishes.
A backend describes its cost-tracking reporting with a CostTrackerStreamConfig;
the service describes where those records go with a CostTrackerConfig, shared by
every backend. ChangeStreamFactory pairs the two into a ChangeStream.
Behind the storage-cogs feature. Without it every backend gets a NoopStream and
the transport is left out of the binary.
Structs§
- Change
Stream Factory - Builds the
ChangeStreamimpl(s) a backend reports to. - Cost
Tracker Stream - Reports through an
InventoryTracker, which hashes eachObjectIdboth to anonymize it and to decide whether it is sampled. Seeobjectstore_inventory_trackerfor the record format. - Cost
Tracker Stream Config - What a single backend reports for cost tracking, and how much of it.
- Noop
Stream - A
ChangeStreamthat reports nothing.
Enums§
- Cost
Tracker Config - Where every backend’s change stream records are carried for cost tracking.
Constants§
- FLUSH_
TIMEOUT - How long a backend waits for reported records to be handed off during shutdown.
Traits§
- Change
Stream - Publishes the changes a single backend makes to the objects it stores.
Functions§
- flush_
change_ stream - Drains
change_stream, bounded byFLUSH_TIMEOUT.