You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "JackyYangPassion (via GitHub)" <gi...@apache.org> on 2023/09/14 03:32:30 UTC
[GitHub] [incubator-hugegraph] JackyYangPassion opened a new issue, #2309: [Question] raft config with RocksDB
JackyYangPassion opened a new issue, #2309:
URL: https://github.com/apache/incubator-hugegraph/issues/2309
### Problem Type (问题类型)
configs (配置项 / 文档相关)
### Before submit
- [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
### 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 <!-- (like 1000W 点, 9000W 边) -->
### Your Question (问题描述)
rest-server.properties
master
```
restserver.url=http://127.0.0.1:8080
gremlinserver.url=http://127.0.0.1:8181
graphs=conf/graphs
auth.authenticator=com.baidu.hugegraph.auth.StandardAuthenticator
rpc.server_host=127.0.0.1
rpc.server_port=8091
rpc.remote_url=127.0.0.1:8091,127.0.0.1:8092,127.0.0.1:8093
raft.group_peers=127.0.0.1:8091,127.0.0.1:8092,127.0.0.1:8093
server.id=server1
server.role=master
restserver.request_timeout=60
gremlinserver.timeout=60
```
slave01
```
restserver.url=http://127.0.0.1:8082
gremlinserver.url=http://127.0.0.1:8182
graphs=conf/graphs
auth.authenticator=com.baidu.hugegraph.auth.StandardAuthenticator
rpc.server_host=127.0.0.1
rpc.server_port=8092
rpc.remote_url=127.0.0.1:8091,127.0.0.1:8092,127.0.0.1:8093
raft.group_peers=127.0.0.1:8091,127.0.0.1:8092,127.0.0.1:8093
server.id=server2
server.role=worker
restserver.request_timeout=60
gremlinserver.timeout=60
```
slave02
```
restserver.url=http://127.0.0.1:8083
gremlinserver.url=http://127.0.0.1:8183
graphs=conf/graphs
auth.authenticator=com.baidu.hugegraph.auth.StandardAuthenticator
rpc.server_host=127.0.0.1
rpc.server_port=8093
rpc.remote_url=127.0.0.1:8091,127.0.0.1:8092,127.0.0.1:8093
raft.group_peers=127.0.0.1:8091,127.0.0.1:8092,127.0.0.1:8093
server.id=server3
server.role=worker
restserver.request_timeout=60
gremlinserver.timeout=60
```
hugegraph.properties
master
```
gremlin.graph=com.baidu.hugegraph.auth.HugeFactoryAuthProxy
#gremlin.graph=com.baidu.hugegraph.HugeFactory
store=hugegraph
backend=rocksdb
serializer=binary
rocksdb.data_path=rocksdb-data-raft1
rocksdb.wal_path=rocksdb-data-raft1
raft.mode=true
raft.path=rocksdb-raftlog1
raft.safe_read=true
```
slave01
```
gremlin.graph=com.baidu.hugegraph.auth.HugeFactoryAuthProxy
#gremlin.graph=com.baidu.hugegraph.HugeFactory
store=hugegraph
backend=rocksdb
serializer=binary
rocksdb.data_path=rocksdb-data-raft2
rocksdb.wal_path=rocksdb-data-raft2
raft.mode=true
raft.path=rocksdb-raftlog2
raft.safe_read=true
```
slave02
```
gremlin.graph=com.baidu.hugegraph.auth.HugeFactoryAuthProxy
#gremlin.graph=com.baidu.hugegraph.HugeFactory
store=hugegraph
backend=rocksdb
serializer=binary
rocksdb.data_path=rocksdb-data-raft3
rocksdb.wal_path=rocksdb-data-raft3
raft.mode=true
raft.path=rocksdb-raftlog3
raft.safe_read=true
```
### Vertex/Edge example (问题点 / 边数据举例)
_No response_
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-hugegraph] JackyYangPassion commented on issue #2309: [Question] Raft config with RocksDB STG
Posted by "JackyYangPassion (via GitHub)" <gi...@apache.org>.
JackyYangPassion commented on issue #2309:
URL: https://github.com/apache/incubator-hugegraph/issues/2309#issuecomment-1718720455
1.0.0版本可参考 #1760
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph] github-actions[bot] commented on issue #2309: [Question] Raft config with RocksDB STG
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2309:
URL: https://github.com/apache/incubator-hugegraph/issues/2309#issuecomment-1741485931
Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
Re: [I] [Question] Raft config with RocksDB STG [incubator-hugegraph]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2309: [Question] Raft config with RocksDB STG
URL: https://github.com/apache/incubator-hugegraph/issues/2309
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org