Skip to main content

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​

FieldTypeDescription
attemptsIntAsynchronous requests only, how many times core started the merge; more than 1 when a merge was taken over and run again.
completedAtDateTimeWhen the merge completed. Null until it does.
connectorIdStringThe Connector that sent the data.
connectorTypeStringThe type of the Connector that sent the data.
dispositionMergeRequestDispositionWhether a COMPLETED request merged, SUCCESS or FAILURE. UNSPECIFIED until it completes.
edgeCountIntThe number of edges (relationships) in the request's graph.
graphStatsMergeRequestGraphStatsWhat the graph merge changed, once it committed. Null when unknown, for a request without a graph, a dry run or a failed merge.
hasGraphBooleanTrue when the request carried graph data.
hasTimeseriesBooleanTrue when the request carried timeseries data.
idStringThe merge request's id. Treat it as opaque.
idempotencyKeyStringAsynchronous requests only, the idempotency key the sender gave, if any.
lockAcquiredAtDateTimeWhen 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.
lockReleasedAtDateTimeWhen the merge released its org's lock.
orgIdStringThe org the data was merged into.
payloadGraphQLJSONThe 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.
pointSeriesCountIntThe number of point series in the request's timeseries.
positionInLineIntWhile 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.
receivedAtDateTimeWhen core received the request.
startedAtDateTimeWhen core started merging it. Null while it waits.
statusMergeRequestStatusWhere the request is, RECEIVED (waiting its turn), IN_PROGRESS or COMPLETED.
submitModeMergeSubmitModeHow 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.
testDryRunBooleanTrue for a dry run, which goes through the merge without saving anything.
traceMergeRequestTraceThe 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.
traceIdStringThe id of the request's distributed trace.
typeMergeRequestTypeWhat the request carried, graph data, timeseries data or both.
vertexCountIntThe number of vertices (entities) in the request's graph.

Used by​