* Add meta table into system store
* Add system schema store
* Add test case for read version
* Let AbstractBackendStore impl default storedVersion()
* fix small bug og HugeProject
* add test for SystemSchemaStore
* fix initStore schema missed
Change-Id: I5c9d65c4ae022cb84592e8f2aa57bd7485cd12e4
Co-authored-by: liningrui <liningrui@baidu.com>
1. Fix bug that relative path need normalize when load snapshot
2. Use zip decompresser since decompress tar file may lead dead loop
3. Move raft.group_peers from graph-config into rest-server-config
4. Pass raft.endpoint and raft.group_peers from server to core
5. Let RestServer start before GremlinServer
6. Use read-index to ensure the raft log caught up for new node
7. Let add_peer and remove_peer API work in async job
8. Use shared rpc server and delete raft.endpoint
Change-Id: I7de3d98cb51c3b7c32a4f19a0d99ed622f78d331
Co-authored-by: Zhangmei Li <lizhangmei@baidu.com>
* feat(api): Support adamic-adar & resource-allocation algorithms
* split into 2 class
* enhance a string of code logic
* keep NO_LIMIT now
* Update EdgeStep.java
Co-authored-by: imbajin <imbajin@users.noreply.github.com>
* fix unexpected task status
* fix task-manager become single-node mode due to server-info is missing
* fix don't auto save server-info on master node
* fix: create index label task
* improve raft moddule
* add raft-server test
* set safe_read=true and use_snapshot=false
* fix leader not wait for apply-task
* add auth support to raft-tools.sh
* don't clear non-shared-storage backend
* set task timer interval from 3s to 1s
* improve CachedSchemaTransaction
* improve update schema status
* remove truncate from project test
* fix codecov: api test report not been uploaded
* improve task cancel() test with cancelled status
Change-Id: I016d3fcc4ab50614afdf452e7c9691ee3cc3c70b
* add OneIdQuery and idsSize() method
* change IdQuery.ids and ConditionQuery.conditions to list type
* JsonVertex.properties() only copy array if needed
Change-Id: I711a9c498c688ce31f6df5973b68027a69b063fa
* Support to create graph dynamically
* merge gremlin-server graphs and specified graphs
* Just use graphs directory as the graph source
* use notify() instead of call() of Eventhub for graph add/remove
* merge clone graph into create graph
Implement #165
Change-Id: I03d3e606d6292acec46a7725094c05fe84a6c9cd
Co-authored-by: zhangyi51 <zhangyi51@baidu.com>
* support olap writeback for cassandra and rocksdb
* add olap property key tests
* clear vertex cache when olap pk changed
* support config data disk for olap pk when using rocksdb backend
* rename read frequency to write type
Change-Id: I947c3a96eb7aa67ee9eff5f7fb248e9f4539e91b
* refact(auth): cache login role in auth client to avoid sending rpc repeatedly
* fix: don't create Id every time
* perf: remove useless toLowerCase
* add config for expire time in auth client
* fix StandardAuthManager.inputPassword in auth client
* add option for auth max_capacity
* unified cache_capacity & expired time (also separate invalid cache for pwd)
* add option for token expiration
Co-authored-by: guoshoujing <guoshoujing@baidu.com>
* add compact api for rocksdb/cassandra/hbase backend
* increase and standardize some metrics
* increase metrics for cassandra/hbase and unify display format
* fix codecov missing some files coverage by jacococli
* add ScyllaDBMetrics
* make cassandra compact in the scope of keyspace
Change-Id: I26660b28b64089f3b636020e721659db3466267b
* add Eclipse Collection dependency
* use primitive map for properties of HugeElement
* from Map<Id, HugeProperty<?>> to MutableIntObjectMap<HugeProperty<?>>
* allow config oltp collections(JCF or EC)
* add fastutil choice for collection
* change Set<HugeEdge> of HugeVertex to List<HugeEdge>
* use IntObjectMap and IntIntMap to improve shortest path
* improve paths api by remove redundant sourcesAll and targetsAll
* improve paths api performance by using IntObjectHashMap<IntHashSet>
* extract shortestpath and paths record to hold traversed paths
* implement Int2IntsMap for array paths record
* extract Record and Records for paths and shortest path
* adapt primitive collection for kout/kneighbor
* add objectintmapping unit test
* add UT for CollectionFactory and IdSet
Change-Id: I501a18a70054fad3c40bd6b9e852a82a5c185949