MergeRequestRecord
Object
The record core keeps of one batch of graph and timeseries data a Connector sent to merge into an org, from when core received it until the merge completed.
type MergeRequestRecord {
attempts: Int
completedAt: DateTime
connectorId: String
connectorType: String
disposition: MergeRequestDisposition
edgeCount: Int
graphStats: MergeRequestGraphStats
hasGraph: Boolean
hasTimeseries: Boolean
id: String
idempotencyKey: String
lockAcquiredAt: DateTime
lockReleasedAt: DateTime
orgId: String
payload: GraphQLJSON
pointSeriesCount: Int
positionInLine: Int
receivedAt: DateTime
startedAt: DateTime
status: MergeRequestStatus
submitMode: MergeSubmitMode
testDryRun: Boolean
trace: MergeRequestTrace
traceId: String
type: MergeRequestType
vertexCount: Int
}
Fields
| Field | Type | Description |
|---|---|---|
attempts | Int | Asynchronous requests only, how many times core started the merge; more than 1 when a merge was taken over and run again. |
completedAt | DateTime | When the merge completed. Null until it does. |
connectorId | String | The Connector that sent the data. |
connectorType | String | The type of the Connector that sent the data. |
disposition | MergeRequestDisposition | Whether a COMPLETED request merged, SUCCESS or FAILURE. UNSPECIFIED until it completes. |
edgeCount | Int | The number of edges (relationships) in the request's graph. |
graphStats | MergeRequestGraphStats | What the graph merge changed, once it committed. Null when unknown, for a request without a graph, a dry run or a failed merge. |
hasGraph | Boolean | True when the request carried graph data. |
hasTimeseries | Boolean | True when the request carried timeseries data. |
id | String | The merge request's id. Treat it as opaque. |
idempotencyKey | String | Asynchronous requests only, the idempotency key the sender gave, if any. |
lockAcquiredAt | DateTime | When the merge took its org's lock, which lets one merge at a time change the org's graph. Null for merges that do not take it. |
lockReleasedAt | DateTime | When the merge released its org's lock. |
orgId | String | The org the data was merged into. |
payload | GraphQLJSON | The data the request carried, as JSON (the merge request's camelCase JSON form, enums by name, timestamps as ISO 8601 strings). Can be several MB, and is fetched only when selected, with one upstream call per merge request, so select it on one merge request rather than on every row of a list. |
pointSeriesCount | Int | The number of point series in the request's timeseries. |
positionInLine | Int | While status is RECEIVED, how many of the org's merges are ahead of this one (1 means next). Approximate, and only set by mergeRequest; 0 in mergeRequests. |
receivedAt | DateTime | When core received the request. |
startedAt | DateTime | When core started merging it. Null while it waits. |
status | MergeRequestStatus | Where the request is, RECEIVED (waiting its turn), IN_PROGRESS or COMPLETED. |
submitMode | MergeSubmitMode | How the request was sent, BLOCKING (the sender waited for the merge) or ASYNC (the sender got an answer once the request was queued). UNSPECIFIED on records older than submit modes, which were blocking. |
testDryRun | Boolean | True for a dry run, which goes through the merge without saving anything. |
trace | MergeRequestTrace | The timeline of the merge, the spans core recorded for it. Fetched only when selected, with one upstream call per merge request, so select it on one merge request rather than on every row of a list. |
traceId | String | The id of the request's distributed trace. |
type | MergeRequestType | What the request carried, graph data, timeseries data or both. |
vertexCount | Int | The number of vertices (entities) in the request's graph. |
Used by
MergeListMergeRequestRecordsResponse.mergeRequestRecords(field)mergeRequest(query)