feat: bind job events to command leases
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"protocolVersion": {
|
||||
"major": 2
|
||||
},
|
||||
"messageId": "4be5df55-3d95-4f60-8f6b-1cfd0b64cfbb",
|
||||
"sentAt": "2026-08-13T06:00:00Z",
|
||||
"command": {
|
||||
"commandId": "94b4f73f-31a8-426b-8511-12b91987f1b4",
|
||||
"createdAt": "2026-08-13T06:00:00Z",
|
||||
"reconcileJob": {
|
||||
"authoritativeJob": {
|
||||
"definition": {
|
||||
"jobId": "3173ae0d-ecc4-4113-a659-7897aac6c66f",
|
||||
"idempotencyKey": "55b6d968-e20d-444b-8fae-17914d15fdf5",
|
||||
"operation": "JOB_OPERATION_ARCHIVE",
|
||||
"resourceDisplayName": "example",
|
||||
"createdAt": "2026-08-13T05:00:00Z",
|
||||
"transfer": {
|
||||
"sourceClientId": "cache-1",
|
||||
"targetClientId": "archive-1",
|
||||
"routeId": "route-example"
|
||||
}
|
||||
},
|
||||
"state": "JOB_STATE_RUNNING",
|
||||
"revision": "12"
|
||||
},
|
||||
"authoritativeLastEventSequence": "12",
|
||||
"supersededCommandIds": [
|
||||
"6d4ab7f8-2ff0-47d8-8c7c-45a67dce8535"
|
||||
],
|
||||
"reason": "control cursor is authoritative after stale event replay"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user