docs: add some clarification to xenstore-migration.md
PATCH 1/1 docs: add some clarification to xenstore-migration.md
The Xenstore migration document is missing the specification that a node record must be preceded by the record of its parent node in case of live update.
Add that missing part.
--- docs/designs/xenstore-migration.md | 4 ++++ 1 file changed, 4 insertions(+)
docs/designs/xenstore-migration.md +4 -0
@@ -316,6 +316,10 @@ a _committed_ node (globally visible in xenstored) or a _pending_ node (created or modified by a transaction for which there is also a `TRANSACTION_DATA` record previously present). +In the live update case the _committed_ nodes must be in a top-down sequence, +i.e. the first node needs to be `/`, and each other node in the stream must +come _after_ its parent node. + ``` 0 1 2 3 octet
Signature · 1 line
2.34.1
Hi Juergen,
Quoted 16 lines · Juergen Gross
The Xenstore migration document is missing the specification that a node record must be preceded by the record of its parent node in case of live update.
Add that missing part.
Signed-off-by Juergen Gross <[email protected]>--- docs/designs/xenstore-migration.md | 4 ++++ 1 file changed, 4 insertions(+)docs/designs/xenstore-migration.md +0
-0
docs/designs/xenstore-migration.md a _committed_ node (globally visible in xenstored) or a _pending_ node (created · line 321
Quoted 6 lines
docs/designs/xenstore-migration.md +3
-0@@ -316,6 +316,10 @@ a _committed_ node (globally visible in xenstored) or a _pending_ node (created or modified by a transaction for which there is also a `TRANSACTION_DATA` record previously present). +In the live update case the _committed_ nodes must be in a top-down sequence, +i.e. the first node needs to be `/`, and each other node in the stream must +come _after_ its parent node.
I would actually expect the same restriction to apply for the non-liveupdate case. I.e. we want the parent to either exist in the tree or the record for the parent to be before in the stream.
Cheers,
Signature · 1 line
Julien Grall
Quoted 14 lines · Julien Grall
Hi Juergen,
Quoted 11 lines · Juergen Gross
The Xenstore migration document is missing the specification that a node record must be preceded by the record of its parent node in case of live update.
Add that missing part.
Signed-off-by Juergen Gross <[email protected]>---
docs/designs/xenstore-migration.md| 4 ++++1 file changed, 4 insertions(+)
Quoted 15 lines
Quoted 5 lines
docs/designs/xenstore-migration.md +0
-0@@ -316,6 +316,10 @@ a _committed_ node (globally visible inQuoted 8 lines
xenstored) or a _pending_ node (created
or modified by a transaction for which there is also aTRANSACTION_DATArecord previously present).
+In the live update case the _committed_ nodes must be in a top-down sequence,
+i.e. the first node needs to be/, and each other node in the stream must
+come _after_ its parent node.I would actually expect the same restriction to apply for the non-liveupdate case. I.e. we want the parent to either exist in the tree or the record for the parent to be before in the stream.
Hmm, true. I'll rephrase that.
Juergen