[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] tools/xenstore: Do not abort xenstore-ls if a node disappears while iterating
On 20.03.20 12:19, David Woodhouse wrote: On Fri, 2020-03-20 at 07:34 +0100, Jürgen Groß wrote:Have you thought about the possibility to do the complete handling in a single transaction? This would ensure a complete consistent picture from the time the operation has started. Any inconsistency should be reported as an error then.Hm, how would that work? Do I have to buffer *all* the output from do_ls() and then only print it if/when xs_transaction_end() succeeds, else try again? No, you just don't care for the transaction to succeed or fail (IMO it should never fail as you are reading only). So just wrap everything into a transaction. I might be wrong, of course. :-) Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |