Skip to content

Commit 9c68af6

Browse files
committed
docs: Fix config.md links
1 parent 381f22e commit 9c68af6

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
## 0.22.0
1515

1616
### Feature: Block store sharding
17-
This release makes it possible to [shard the block and call cache](./docs/sharding.md) for chain
17+
This release makes it possible to [shard the block and call cache](./docs/config.md) for chain
1818
data across multiple independent Postgres databases. **This feature is considered experimental. We
1919
encourage users to try this out in a test environment, but do not recommend it yet for production
2020
use.** In particular, the details of how sharding is configured may change in backwards-incompatible
@@ -46,7 +46,7 @@ Various related bug fixes have been made #2121 #2136 #2149 #2160.
4646
### Feature: Database sharding
4747

4848
This release makes it possible to [shard subgraph
49-
storage](./docs/sharding.md) and spread subgraph deployments, and the load
49+
storage](./docs/config.md) and spread subgraph deployments, and the load
5050
coming from indexing and querying them across multiple independent Postgres
5151
databases.
5252

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The command line arguments generally are all that is needed to run a
131131
can further be configured through [environment
132132
variables](https://github.com/graphprotocol/graph-node/blob/master/docs/environment-variables.md). Very
133133
large `graph-node` instances can also split the work of querying and
134-
indexing across [multiple databases](./docs/sharding.md).
134+
indexing across [multiple databases](./docs/config.md).
135135

136136
## Project Layout
137137

docker/Dockerfile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ ARG TAG_NAME=unknown
1414
ADD . /graph-node
1515

1616
RUN cd /graph-node \
17-
&& RUSTFLAGS="-g" cargo install --locked --path node \
18-
&& cargo clean \
19-
&& objcopy --only-keep-debug /usr/local/cargo/bin/graph-node /usr/local/cargo/bin/graph-node.debug \
20-
&& strip -g /usr/local/cargo/bin/graph-node \
21-
&& strip -g /usr/local/cargo/bin/graphman \
22-
&& cd /usr/local/cargo/bin \
23-
&& objcopy --add-gnu-debuglink=graph-node.debug graph-node \
24-
&& echo "REPO_NAME='$REPO_NAME'" > /etc/image-info \
25-
&& echo "TAG_NAME='$TAG_NAME'" >> /etc/image-info \
26-
&& echo "BRANCH_NAME='$BRANCH_NAME'" >> /etc/image-info \
27-
&& echo "COMMIT_SHA='$COMMIT_SHA'" >> /etc/image-info \
28-
&& echo "CARGO_VERSION='$(cargo --version)'" >> /etc/image-info \
29-
&& echo "RUST_VERSION='$(rustc --version)'" >> /etc/image-info
17+
&& RUSTFLAGS="-g" cargo install --locked --path node \
18+
&& cargo clean \
19+
&& objcopy --only-keep-debug /usr/local/cargo/bin/graph-node /usr/local/cargo/bin/graph-node.debug \
20+
&& strip -g /usr/local/cargo/bin/graph-node \
21+
&& strip -g /usr/local/cargo/bin/graphman \
22+
&& cd /usr/local/cargo/bin \
23+
&& objcopy --add-gnu-debuglink=graph-node.debug graph-node \
24+
&& echo "REPO_NAME='$REPO_NAME'" > /etc/image-info \
25+
&& echo "TAG_NAME='$TAG_NAME'" >> /etc/image-info \
26+
&& echo "BRANCH_NAME='$BRANCH_NAME'" >> /etc/image-info \
27+
&& echo "COMMIT_SHA='$COMMIT_SHA'" >> /etc/image-info \
28+
&& echo "CARGO_VERSION='$(cargo --version)'" >> /etc/image-info \
29+
&& echo "RUST_VERSION='$(rustc --version)'" >> /etc/image-info
3030

3131
# The graph-node runtime image with only the executable
3232
FROM debian:buster-slim as graph-node
@@ -54,7 +54,7 @@ ENV node_id "default"
5454
ENV ethereum_polling_interval ""
5555

5656
# The location of an optional configuration file for graph-node, as
57-
# described in ../docs/sharding.md
57+
# described in ../docs/config.md
5858
# Using a configuration file is experimental, and the file format may
5959
# change in backwards-incompatible ways
6060
ENV GRAPH_NODE_CONFIG ""
@@ -73,7 +73,7 @@ EXPOSE 8020
7373
EXPOSE 8030
7474

7575
RUN apt-get update \
76-
&& apt-get install -y libpq-dev ca-certificates netcat
76+
&& apt-get install -y libpq-dev ca-certificates netcat
7777

7878
ADD docker/wait_for docker/start /usr/local/bin/
7979
COPY --from=graph-node-build /usr/local/cargo/bin/graph-node /usr/local/cargo/bin/graphman /usr/local/bin/
@@ -84,7 +84,7 @@ CMD start
8484
# Debug image to access core dumps
8585
FROM graph-node-build as graph-node-debug
8686
RUN apt-get update \
87-
&& apt-get install -y curl gdb postgresql-client
87+
&& apt-get install -y curl gdb postgresql-client
8888

8989
COPY docker/Dockerfile /Dockerfile
9090
COPY docker/bin/* /usr/local/bin/

store/postgres/src/subgraph_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pub mod unused {
130130
/// database, in which case they are all backed by one connection pool, or
131131
/// separate databases in the same Postgres cluster, or entirely separate
132132
/// clusters. Details of how to configure shards can be found in [this
133-
/// document](https://github.com/graphprotocol/graph-node/blob/master/docs/sharding.md)
133+
/// document](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md)
134134
///
135135
/// The primary uses the following database tables:
136136
/// - `public.deployment_schemas`: immutable data about deployments,

0 commit comments

Comments
 (0)