* support updateIfPresent/updateIfAbsent operation
Change-Id: I63f179e0b6c2e2f86e6ae185ce3a7115a4da7657
* implement for other backends
Change-Id: Iab9ab42ba0504664ce3320c8905b2d92d01d849a
* fix mysql/pgsql
Change-Id: I397fd5d300c563cd9298b76ab336bff78f2564ea
* call updateIfAbsent() for schema insert
Change-Id: I02989962791fa369600f8dedbfd56e2b40c79077
* add updateSchema() api for schema tx
Change-Id: I760db3c964f913d3c552c1d85193d9f3e0d401a4
* Do schema update in the lock block
Change-Id: I2daad8825939b04ff9b1374fff930ac9c4173f72
* fix '~task_status' not indexed in label '~task'
Change-Id: I6383df825a003ff0e3f619398ee7c2873194eb56
* 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