Skip to contentSkip to conversation

docs: add some clarification to xenstore-migration.md

PATCH In review Juergen Gross 2 participants 3 messages Feb 17, 2022 – Feb 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 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.

---
V2:
- rephrase to cover non-LU case, too (Julien Grall)

---
 docs/designs/xenstore-migration.md | 5 +++++
 1 file changed, 5 insertions(+)
docs/designs/xenstore-migration.md +5 -0
index 5f1155273e..b94af7fd7c 100644
@@ -316,6 +316,11 @@ 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).
 
+Each _committed_ node in the stream is required to have an already known parent
+node. A parent node is known if it was either in the node data base before the
+stream was started to be processed, or if a `NODE_DATA` record for that parent
+node has already been processed in the stream.
+
 
 ```
     0       1       2       3    octet
Signature · 1 line
2.34.1
Acked-by on v2 1/1
#1 lore raw

Hi Juergen,

Quoted 3 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.

The patch also cover normal migration. So I think you want to drop " in case of live update".

I can do the modification on commit:

Cheers,

Signature · 1 line
Julien Grall
#2 lore raw

Hi,

Quoted 9 lines · Julien Grall
Quoted 3 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.

The patch also cover normal migration. So I think you want to drop " in case of live update".

I can do the modification on commit:

I have committed the patch.

Cheers,

Signature · 1 line
Julien Grall