mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 02:33:15 +00:00
feat(table-catalog): finalize Iceberg REST behavior (#6072)
* feat(table-catalog): finalize Iceberg REST behavior * fix(table-catalog): address REST finalization regressions * test(table-catalog): expect REST commit conflicts * test(table-catalog): avoid serialized view test deadlocks * fix(table-catalog): adapt shared test backend * fix(table-catalog): enforce Iceberg metadata invariants * fix(table-catalog): preserve manifest length in test * test(table-catalog): use valid metadata fixtures * test(table-catalog): seed manifests before manifest lists * fix(table-catalog): restore validation gates --------- Co-authored-by: Henry Guo <marshawcoco@users.noreply.github.com> Co-authored-by: overtrue <anzhengchao@gmail.com>
This commit is contained in:
@@ -132,18 +132,8 @@ def failure_probe_plan(warehouse: str, namespace: str, table: str, rest_path: st
|
||||
"expected-version-token": "stale-token-from-previous-load",
|
||||
"expected-metadata-location": "current-metadata-location-from-load-table",
|
||||
"new-metadata-location": f"s3://{warehouse}/tables/table-id/metadata/conflict_probe.metadata.json",
|
||||
"requirements": [
|
||||
{
|
||||
"type": "assert-current-snapshot-id",
|
||||
"snapshot-id": 0,
|
||||
}
|
||||
],
|
||||
"updates": [
|
||||
{
|
||||
"action": "set-current-schema",
|
||||
"schema-id": 0,
|
||||
}
|
||||
],
|
||||
"requirements": [],
|
||||
"updates": [],
|
||||
},
|
||||
),
|
||||
probe_step(
|
||||
@@ -157,6 +147,8 @@ def failure_probe_plan(warehouse: str, namespace: str, table: str, rest_path: st
|
||||
"expected-version-token": "current-version-token-from-load-table",
|
||||
"expected-metadata-location": "current-metadata-location-from-load-table",
|
||||
"new-metadata-location": f"s3://{warehouse}/tables/table-id/metadata/does_not_exist.metadata.json",
|
||||
"requirements": [],
|
||||
"updates": [],
|
||||
},
|
||||
),
|
||||
probe_step(
|
||||
|
||||
Reference in New Issue
Block a user