eclipse-zenoh / roadmap

Other
26 stars 5 forks source link

Storage - Support for wildcard updates #44

Closed Mallets closed 7 months ago

Mallets commented 2 years ago

Summary

Currently PUT and DEL on wild cards might cause storages to diverge.

Intended outcome

Regardless of the list of values in individual storages at the time of receiving the wild card update, the effect of the update will be the same.

How will it work?

The philosophy behind wild card updates is that the existing values in the storage will be effected. This includes existing values in all the storages connected to Zenoh. The wild card operations will be stored separately and applied to all updates when they eventually reach the storage. These operations will be garbage collected when it is safe to do so.