-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support structured values #6
Comments
/cc @djs55 -- we were just chatting about this in xenstore too |
In xenstore, you don't really have internal keys so why do you need to understand the structure of the value ? To properly handle transaction conflicts maybe ? |
I was thinking of xenstore extensions mainly. I was thinking that xenstore What do you think? Sent from my iPhone On 22 Nov 2013, at 00:26, Thomas Gazagnaire notifications@github.com In xenstore, you don't really have internal keys so why do you need to — |
You're right about the ACLs, it's a pain to get it right so it's better to build on top of the existing if possible. Support for message queues in tree leaves would indeed be nice. Interestingly enough, irminsule-0 was dealing only with single queues and irminsule-0.1 deals with a tree of strings -- so dealing with queues in leafs would make a good use case as well. To come back to the original issue, my idea was to refer to previous snapshots in the values (for instance if you want to build an index of values at a given point in time) -- but that does not have much sense in xenstore as you can't snapshot anyway. |
Do you plan to change the xenbus API then ? |
Re: the xenbus API: bear in mind this is all a coffee-fuelled idea from /tools/xenstore/features/irminsule-is-magic = 1 and then connect over vchan? On Fri, Nov 22, 2013 at 9:37 AM, Thomas Gazagnaire <notifications@github.com
Dave Scott |
Currently the values are raw blobs. It could be interesting to easily support more structured values. The only "interesting" idea here is that a structured value can also contains keys, which can be understood by Irminsule when it computes the export set.
Ideally this structure should be quite easy to define for the user (for instance, using a schema stored somewhere in the database).
The text was updated successfully, but these errors were encountered: