Expand description
Timely operators for the crate
Structs§
- Data
Subscribe - A helper for subscribing to a data shard using the timely operators.
- Data
Subscribe Task - A handle to a DataSubscribe running in a task.
- Txns
Context - The process global
TxnsRead
that any operator can communicate with.
Constants§
Functions§
- txns_
data_ shard_ retry_ params - Retry configuration for txn-wal data shard override of
next_listen_batch
. - txns_
progress - An operator for translating physical data shard frontiers into logical ones.
- txns_
progress_ 🔒frontiers - txns_
progress_ 🔒frontiers_ read_ remap_ input - txns_
progress_ 🔒source_ global - TODO: I’d much prefer the communication protocol between the two operators
to be exactly remap as defined in the reclocking design doc. However, we
can’t quite recover exactly the information necessary to construct that at
the moment. Seems worth doing, but in the meantime, intentionally make this
look fairly different (
Stream
ofDataRemapEntry
instead ofCollection<FromTime>
) to hopefully minimize confusion. As a performance optimization, we only re-emit this when the physical upper has changed, which means that the frontier of theStream<DataRemapEntry<T>>
indicates updates to the logical_upper of the most recentDataRemapEntry
(i.e. the one with the largest physical_upper). - txns_
progress_ 🔒source_ local - An alternative implementation of
txns_progress_source_global
that opens a newTxnsCache
local to the operator.