You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/implementation/metadata.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Mapping of subgraph names from `subgraph` to IPFS hashes. Maintained in the prim
37
37
38
38
Directory of all deployments. Maintained in the primary, but there is a background job that periodically copies the table from the primary to all other shards. Those copies are used for queries when the primary is down.
@@ -52,7 +52,7 @@ Directory of all deployments. Maintained in the primary, but there is a backgrou
52
52
53
53
There can be multiple copies of the same deployment, but at most one per shard. The `active` flag indicates which of these copies will be used for queries; `graph-node` makes sure that there is always exactly one for each IPFS hash.
54
54
55
-
### `subgraph_deployment`
55
+
### `subgraphs.subgraph_deployment`
56
56
57
57
Details about a deployment to track sync progress etc. Maintained in the
58
58
shard alongside the deployment's data in `sgdNNN`. The table should only
@@ -88,7 +88,7 @@ set during indexing. They are used to determine whether a reorg happened
88
88
while a query was running, and whether that reorg could have affected the
89
89
query.
90
90
91
-
### `subgraph_manifest`
91
+
### `subgraphs.subgraph_manifest`
92
92
93
93
Details about a deployment that rarely change. Maintained in the
94
94
shard alongside the deployment's data in `sgdNNN`.
@@ -108,7 +108,7 @@ shard alongside the deployment's data in `sgdNNN`.
108
108
|`on_sync`|`text`| Additional behavior when deployment becomes synced |
109
109
|`history_blocks`|`int4!`| How many blocks of history to keep |
110
110
111
-
### `subgraph_deployment_assignment`
111
+
### `subgraphs.subgraph_deployment_assignment`
112
112
113
113
Tracks which index node is indexing a deployment. Maintained in the primary,
114
114
but there is a background job that periodically copies the table from the
@@ -121,12 +121,12 @@ primary to all other shards.
121
121
122
122
This table could simply be a column on `deployment_schemas`.
0 commit comments