mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
phase56: fix rebuild contract gate action assertion
This commit is contained in:
1 parent
b92d7993e6
commit
f83a16d6da
1 file changed
+1
-1
@@ -131,7 +131,7 @@ SNAPSHOT_JSON="${REPORT_DIR}/operator-snapshot.json"
|
||||
|
||||
assert_file_contains "summary_rebuild_preflight_ready" "${SUMMARY_TXT}" '^managed_volume_executor_preflight=authority\.rebuild_returned_replica target=r1 decision=ready reason=preconditions_satisfied mode=dry_run executor=authority_recovery_executor mutation_allowed=false .*required_lsn=4241 durable_lsn=4240$'
|
||||
assert_file_contains "summary_rebuild_contract_disabled" "${SUMMARY_TXT}" '^managed_volume_executor_contract=authority\.rebuild_returned_replica target=r1 decision=disabled reason=executor_policy_disabled executor=authority_recovery_executor execution_enabled=false mutation_allowed=false allowed_mutation=rebuild_traffic terminal_evidence=frontend_fenced_before_rebuild,primary_unchanged,durable_frontier_caught_up,no_frontend_publication,no_cross_volume_identity_change$'
|
||||
assert_file_contains "summary_rebuild_action_disabled" "${SUMMARY_TXT}" '^managed_volume_action=authority\.rebuild_returned_replica mode=dry_run side_effect=authority_mutating executor=authority_recovery_executor decision=rejected reason=policy_disabled mutation_allowed=false'
|
||||
assert_file_contains "summary_rebuild_action_disabled" "${SUMMARY_TXT}" '^managed_volume_action=authority\.rebuild_returned_replica mode=dry_run side_effect=authority_mutating executor=authority_recovery_executor decision=rejected reason=policy_disabled$'
|
||||
assert_file_contains "explain_rebuild_contract_disabled" "${ARTIFACT_DIR}/explain.txt" '^managed_volume_executor_contract authority\.rebuild_returned_replica target=r1 decision=disabled reason=executor_policy_disabled executor=authority_recovery_executor execution_enabled=false mutation_allowed=false allowed_mutation=rebuild_traffic terminal_evidence=frontend_fenced_before_rebuild,primary_unchanged,durable_frontier_caught_up,no_frontend_publication,no_cross_volume_identity_change$'
|
||||
|
||||
python3 - "${SNAPSHOT_JSON}" <<'PY'
|
||||
|
||||
Reference in new issue
Block a user