ligato / vpp-agent

⚡️ Control plane management agent for FD.io's VPP
https://docs.ligato.io/
Apache License 2.0
247 stars 127 forks source link

feat: Add txn type for unimplemented configuration #1915

Closed pemoticak closed 1 year ago

pemoticak commented 1 year ago

This PR introduces new transaction type inside scheduler implementation. This transaction type is used when for a given configuration key, scheduler does not yet have the corresponding descriptor inside its registry. Instead of the operation being in the unimplemented state indefinitely, it gets retried when the descriptor eventually gets registered.

P.S. I am not sure where (in which package/file) to put the Broadcast[T] struct as its usage does not need to be tied to the scheduler itself.

Signed-off-by: Peter Motičák peter.moticak@pantheon.tech