djs55 / ocaml-xenstore

A xenstore protocol implementation in ocaml
Other
6 stars 0 forks source link

Store watch events in a persistent queue #27

Closed djs55 closed 10 years ago

djs55 commented 10 years ago

Watch events should not be lost, otherwise clients will block forever. Therefore we store them in a persistent queue before acknowledging the request that produced them.

NB in the case of transactions we don't need to store these watches because we can simply return 'abort' to a transaction commit and rely on the client to resubmit.