Problem Type (问题类型)
performance (性能优化) subtask of #840
Before submit
Environment (环境信息)
- Server Version: 1.0.0 (Apache Release Version)
- Backend: RocksDB x nodes, HDD or SSD
- OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x
- Data Size: xx vertices, xx edges
Your Question (问题描述)
In the current Dockerfile, we use a shell to run three shell in order:
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["./docker-entrypoint.sh"]
In docker-entrypoint.sh
./bin/wait-storage.sh
./bin/init-store.sh
./bin/start-hugegraph.sh -d false -j "$JAVA_OPTS" -g zgc
There are some question:
- Can the
dumb-init work correctly or does it still make sense to use dumb-init
- If the server is down, will the container exit or not
- If the container is down, users should do what to restart the container? If they use
docker start, docker will do wait-storage and init-store again. And if docker start, is the expected result consistent with the actual one?
- The name of
docker-entrypoint.sh seems to be inappropriate
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
Problem Type (问题类型)
performance (性能优化) subtask of #840
Before submit
Environment (环境信息)
Your Question (问题描述)
In the current Dockerfile, we use a shell to run three shell in order:
In
docker-entrypoint.shThere are some question:
dumb-initwork correctly or does it still make sense to usedumb-initdocker start, docker will dowait-storageandinit-storeagain. And ifdocker start, is the expected result consistent with the actual one?docker-entrypoint.shseems to be inappropriateVertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response