[HUDI-1502] MOR rollback and restore support for metadata sync (#2421)
- Adds field to RollbackMetadata that capture the logs written for rollback blocks - Adds field to RollbackMetadata that capture new logs files written by unsynced deltacommits Co-authored-by: Vinoth Chandar <vinoth@apache.org>
This commit is contained in:
committed by
GitHub
parent
de42adc230
commit
e3d3677b7e
@@ -31,18 +31,24 @@
|
||||
{"name": "partitionPath", "type": "string"},
|
||||
{"name": "successDeleteFiles", "type": {"type": "array", "items": "string"}},
|
||||
{"name": "failedDeleteFiles", "type": {"type": "array", "items": "string"}},
|
||||
{"name": "appendFiles", "type": {
|
||||
{"name": "rollbackLogFiles", "type": {
|
||||
"type": "map",
|
||||
"doc": "Files to which append blocks were written",
|
||||
"doc": "Files to which append blocks were written to capture rollback commit",
|
||||
"values": {
|
||||
"type": "long",
|
||||
"doc": "Size of this file in bytes"
|
||||
}
|
||||
}},
|
||||
{"name": "writtenLogFiles", "type": {
|
||||
"type": "map",
|
||||
"doc": "Log files written that were expected to be rolledback",
|
||||
"values": {
|
||||
"type": "long",
|
||||
"doc": "Size of this file in bytes"
|
||||
}
|
||||
}}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
}}},
|
||||
{
|
||||
"name":"version",
|
||||
"type":["int", "null"],
|
||||
|
||||
Reference in New Issue
Block a user